1. 26 6月, 2025 3 次提交
  2. 24 6月, 2025 1 次提交
    • Ben Mares's avatar
      Avoid miniKanren v1.0.4 · 46c23410
      Ben Mares 提交于
      Some users with outdated setuptools in their build environments are failing
      to build miniKanren from source. A wheel will hopefully arrive shortly for v1.0.5,
      solving the problem. For now we can work around it by avoiding v1.0.4.
      Note that conda doesn't have this problem, because Conda packages are
      pre-compiled.
      46c23410
  3. 23 6月, 2025 1 次提交
    • Aidan Costello's avatar
      Use lapack func instead of `scipy.linalg.cholesky` (#1487) · 236e50d3
      Aidan Costello 提交于
      * Use lapack func instead of `scipy.linalg.cholesky`
      
      * Now skips 2D checks in perform
      * Updated the default arguments for `check_finite` to false to match documentation
      * Add benchmark test case
      
      * Refactor out _cholesky helper, add empty test
      
      * Remove array and `potrf` copies
      
      * Update test_cholesky_raises_on_nan_input
      236e50d3
  4. 22 6月, 2025 18 次提交
  5. 21 6月, 2025 1 次提交
  6. 19 6月, 2025 1 次提交
    • Luca Citi's avatar
      Cover more cases of `log1mexp` stabilization (#1483) · d3bbc20a
      Luca Citi 提交于
      * Created some tests that fail due to #1476
      
      * Fixes 1476 and other ways to create a log1mexp
      
      * Reimplemented logmexpm1_to_log1mexp by tracking expm1 and then looking through the clients
      
      * Absorbed the rewrite log1pexp_to_softplus into the new rewrite for log1mexp
      
      * Fixed bug where I forgot to check whether result of is_neg was None or not before proceeding
      
      ---------
      Co-authored-by: 's avatarLuca Citi <lciti@ieee.org>
      d3bbc20a
  7. 17 6月, 2025 2 次提交
  8. 14 6月, 2025 5 次提交
  9. 13 6月, 2025 1 次提交
  10. 11 6月, 2025 2 次提交
  11. 10 6月, 2025 5 次提交
    • Jesse Grabowski's avatar
      Implement symbolic `minimize` and `root` `Ops` (#1182) · 646a734d
      Jesse Grabowski 提交于
      * Implement `optimize.minimize`
      
      * Add more tests
      
      * Code cleanup
      
      * Add RootOp, fix gradient tests (they are failing)
      
      * Correct gradients for `minimize`
      
      * Mypy
      
      * remove debug flag
      
      * minimize works
      
      * Implement minimize_scalar
      
      * Use LRU cache wrapper for hessian option
      
      * Remove useless Blockwise
      
      * Feedback
      
      * use truncated_graph_inputs and refactor
      
      * Implement Root Op
      
      * Factor out shared functions
      
      * Implement `root_scalar`
      
      * mypy 😍
      
      * Add specialized `build_fn` to each Op to handle scipy quirks
      
      * Changes to support float32 inputs
      
      * Check inputs to RootOp
      
      * More mypy
      
      * Fix bug when minimize gets scalar input
      646a734d
    • Ricardo Vieira's avatar
      Decompose Tridiagonal Solve into core steps · d88c7351
      Ricardo Vieira 提交于
      d88c7351
    • Ricardo Vieira's avatar
      Rewrite ExtractDiagonal of AllocDiagonal · 43d8e303
      Ricardo Vieira 提交于
      43d8e303
    • Ricardo Vieira's avatar
      f7c4e163
    • ricardoV94's avatar
      Improve creating_an_op.rst · e301a423
      ricardoV94 提交于
      Changes:
      1. Remove references to c-code which apply to `COp` but not `Op`
      2. Fix failing doctests
      3. Improve explanation of `make_node`
      4. Emphasize distinction between itypes/otypes and make-node
      5. Show `L_op` instead of `grad`
      6. Show how to test `L_op` and `infer_shape` implementation
      7. Simplify explanation of `__props__` and illustrate in example.
      8. Introduce more complex multi-output Op to drive these details home
      9. Remove old references to numba/ random variable Ops
      e301a423