You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit beca4cd
Browse filesBrowse the repository at this point in the historyBrowse files
- Batched SVD functions `batched_svd_compact`, `batched_svd_full` and `batched_svd_vals` (and their
40
+
`!` variants), accepting either a 3D array or a (possibly ragged) vector of matrices, with
41
+
batched drivers for CUSOLVER and rocSOLVER ([#275](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/275)). Whether a driver accepts ragged batches is
42
+
controlled by `supports_ragged_batch`, which is `false` by default ([#297](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/297)).
43
+
- Forward-mode (pushforward) rules for the QR and LQ decompositions, through the Enzyme and Mooncake
44
+
extensions.
45
+
- Enzyme forward rule for `truncate` ([#288](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/288)).
46
+
-`MatrixAlgebraKit.CHECK_LIBRARY_CALLS[] = false` disables the post-call info checks in the CUSOLVER
47
+
and rocSOLVER drivers, which otherwise force device synchronization through an `@allowscalar`
-`schur_vals` and `schur_vals!` in favour of `eig_vals` and `eig_vals!`. LAPACK's `gees` balances
37
64
without scaling, so the eigenvalues it returns are those of `eig_vals(A; scale = false)`, which is
38
65
considerably less accurate for badly scaled matrices and no faster. Note that `eig_vals` does not
39
-
accept the `expert` keyword argument.
40
-
41
-
### Removed
66
+
accept the `expert` keyword argument ([#277](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/277)).
42
67
43
68
### Fixed
44
69
45
-
-`schur_full` now supports `Diagonal` inputs through `DiagonalAlgorithm` ([#276](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/issues/276)).
46
-
- LQ decompositions no longer gauge fix `Q` when `positive = false` and `L` is not computed.
70
+
-`schur_full` now supports `Diagonal` inputs through `DiagonalAlgorithm` ([#276](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/issues/276), [#277](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/277)).
71
+
- LQ decompositions no longer gauge fix `Q` when `positive = false` and `L` is not computed ([#267](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/267)).
72
+
-`remove_svd_gauge_dependence!` now handles rank-deficient SVDs correctly ([#286](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/286)).
73
+
- The `eig` pushforward now keeps the eigenvector tangents consistent with the unit-norm normalization of `V` ([#290](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/290)).
74
+
- Fixed overflow in the Sylvester iterations of `eigh_trunc_pullback!` ([#282](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/282)) and
- rocSOLVER's `gesvdx` returning no singular values when `min(m, n) == 1` is now worked around ([#284](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/284)).
77
+
- The `svd_trunc`, `eig` / `eigh` and LQ pullbacks now work on GPU arrays ([#258](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/258), [#271](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/271), [#272](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/272), [#273](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/273), [#280](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/280)).
78
+
- The `svd`, `eig` and `eigh` pullbacks now instantiate their broadcasts, avoiding `axes` errors for
79
+
some wrapped array types ([#266](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/266)).
80
+
- Enzyme rules no longer store `nothing` in their caches ([#256](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/256), [#259](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/259)).
47
81
48
82
### Performance
49
83
84
+
-`svd_pullback!` and `eigh_pullback!` now cost proportional to the number of cotangent columns
85
+
supplied, rather than the full size of the decomposition ([#292](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/292)).
86
+
-`svd_trunc_pullback!` sums only one Neumann series, and the truncated pullbacks share a doubling
87
+
(accelerative Smith) iteration for their Sylvester equations ([#287](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/287), [#294](https://github.com/QuantumKitHub/MatrixAlgebraKit.jl/pull/294)).
0 commit comments