Repository containing Pytorch code for EKFAC and K-FAC perconditioners.
☆153Jun 22, 2023Updated 2 years ago
Alternatives and similar repositories for EKFAC-pytorch
Users that are interested in EKFAC-pytorch are comparing it to the libraries listed below
Sorting:
- Pytorch implementation of KFAC and E-KFAC (Natural Gradient).☆133Jul 2, 2019Updated 6 years ago
- ☆135Oct 23, 2017Updated 8 years ago
- TensorFlow implementation of "noisy K-FAC" and "noisy EK-FAC".☆60Jan 12, 2019Updated 7 years ago
- Limitations of the Empirical Fisher Approximation☆49Mar 3, 2025Updated last year
- ☆30Feb 11, 2021Updated 5 years ago
- PyTorch-SSO: Scalable Second-Order methods in PyTorch☆148Oct 1, 2023Updated 2 years ago
- An implementation of KFAC for TensorFlow☆199Feb 11, 2022Updated 4 years ago
- BackPACK - a backpropagation package built on top of PyTorch which efficiently computes quantities other than the gradient.☆606Nov 28, 2025Updated 3 months ago
- Distributed K-FAC preconditioner for PyTorch☆95Feb 25, 2026Updated last week
- Hessian backpropagation (HBP): PyTorch extension of backpropagation for block-diagonal curvature matrix approximations☆21Mar 25, 2023Updated 2 years ago
- Code for "Efficient optimization of loops and limits with randomized telescoping sums"☆27May 13, 2019Updated 6 years ago
- Public Codebase for Rethinking Parameter Counting: Effective Dimensionality Revisited☆37Dec 27, 2022Updated 3 years ago
- Computing gradients and Hessians of feed-forward networks with GPU acceleration☆20Feb 14, 2024Updated 2 years ago
- PyHessian is a Pytorch library for second-order based analysis and training of Neural Networks☆777Jul 10, 2025Updated 7 months ago
- Regularization, Neural Network Training Dynamics☆14Jan 13, 2020Updated 6 years ago
- ☆159Jun 8, 2022Updated 3 years ago
- Collection of algorithms for approximating Fisher Information Matrix for Natural Gradient (and second order method in general)☆143May 26, 2019Updated 6 years ago
- Code for "EigenDamage: Structured Pruning in the Kronecker-Factored Eigenbasis" https://arxiv.org/abs/1905.05934☆113Mar 3, 2020Updated 6 years ago
- Numerical Experiments☆15Jan 21, 2018Updated 8 years ago
- Pytorch implementation of 'Semi-Implicit Methods for Deep Neural Networks'☆25May 13, 2019Updated 6 years ago
- ☆33May 21, 2020Updated 5 years ago
- Implementation of Influence Function approximations for differently sized ML models, using PyTorch☆16Sep 15, 2023Updated 2 years ago
- Efficient PyTorch Hessian eigendecomposition tools!☆386Feb 29, 2024Updated 2 years ago
- Prototypes of differentiable differential equation solvers in JAX.☆27Feb 3, 2020Updated 6 years ago
- Code for "Accelerating Natural Gradient with Higher-Order Invariance"☆30Jun 28, 2019Updated 6 years ago
- Groundstate Reconstructive Energies using Neural Autoregressive Distribution Estimators (GreNADE)☆10Apr 1, 2022Updated 3 years ago
- ☆10Jan 16, 2020Updated 6 years ago
- Pytorch implementation of preconditioned stochastic gradient descent (Kron and affine preconditioner, low-rank approximation precondition…☆190Jan 11, 2026Updated last month
- PyTorch implementation of Hessian Free optimisation☆43Dec 19, 2019Updated 6 years ago
- This repository is no longer maintained. Check☆81Apr 23, 2020Updated 5 years ago
- Multi-Head Attention, Transformer, Perceiver, Linear Attention.☆12Oct 24, 2023Updated 2 years ago
- {KFAC,EKFAC,Diagonal,Implicit} Fisher Matrices and finite width NTKs in PyTorch☆221Feb 9, 2026Updated 3 weeks ago
- Code for Understanding and Mitigating Exploding Inverses in Invertible Neural Networks (AISTATS 2021) http://arxiv.org/abs/2006.09347☆30Aug 29, 2020Updated 5 years ago
- ☆12Dec 7, 2017Updated 8 years ago
- Simple (fast) transformer inference in PyTorch with torch.compile + lit-llama code☆10Aug 29, 2023Updated 2 years ago
- Quantum GAN algorithm based on MPS, realized by Julia.☆11Apr 5, 2019Updated 6 years ago
- A PyTorch implementation of Conditional PixelCNNs☆27Jan 24, 2018Updated 8 years ago
- A PyTorch implementation of L-BFGS.☆625Feb 21, 2023Updated 3 years ago
- Official repository for the paper "Fast Predictive Uncertainty for Classification with Bayesian Deep Networks". Accepted at UAI 2022. htt…☆12May 25, 2022Updated 3 years ago