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
[REQ] Add adjoint for out-of-place tile Cholesky factorization #1316
The adjoint implements the symmetric-matrix derivative of Cholesky (Murray 2016): it solves L^T \ Phi(L^T adj_L) via two triangular solves and accumulates gradients into the lower triangle of A. Three execution paths are wired up:
CPU / GPU-without-MathDx: single-thread scalar back-substitution.
GPU + MathDx with backward disabled: dummy LTO symbols (no-op).
GPU + MathDx: LTO-accelerated GEMM + TRSM with threaded element-wise steps using shared-memory scratch.
Note that only the out-of-place variant got an adjoint. The in-place tile_cholesky_inplace form is still non-differentiable.
Activity
Add adjoint for out-of-place tile Cholesky factorization [NVIDIAGH-1316]
shi-eric commentedon Apr 19, 2026
Implemented in commit
d683d4d.wp.tile_cholesky()(out-of-place variant) is now differentiable and can be used underwp.Tape().The adjoint implements the symmetric-matrix derivative of Cholesky (Murray 2016): it solves
L^T \ Phi(L^T adj_L)via two triangular solves and accumulates gradients into the lower triangle ofA. Three execution paths are wired up:Note that only the out-of-place variant got an adjoint. The in-place
tile_cholesky_inplaceform is still non-differentiable.