# hessiankit > Exact GGN diagonal and KFAC for PyTorch models, from module hooks and plain autograd. - [Home](https://hessiankit.laplacekit.org/index.llms.md) - [Why](https://hessiankit.laplacekit.org/why.llms.md) ## Quickstart ### Start - [Basics](https://hessiankit.laplacekit.org/quickstart/basics.llms.md) - [Output factors](https://hessiankit.laplacekit.org/quickstart/factors.llms.md) - [Exact diagonal](https://hessiankit.laplacekit.org/quickstart/diagonal.llms.md) ### KFAC - [KFAC](https://hessiankit.laplacekit.org/quickstart/kfac.llms.md) - [Masks and weights](https://hessiankit.laplacekit.org/quickstart/masks.llms.md) ### Going further - [Differentiating](https://hessiankit.laplacekit.org/quickstart/differentiating.llms.md) - [Your own layers](https://hessiankit.laplacekit.org/quickstart/layers.llms.md) - [Conventions](https://hessiankit.laplacekit.org/conventions.llms.md) ## Reference - [Reference](https://hessiankit.laplacekit.org/reference/index.llms.md) ### Compute - [compute](https://hessiankit.laplacekit.org/reference/compute.llms.md) - [KFACType](https://hessiankit.laplacekit.org/reference/KFACType.llms.md) ### Results - [Result](https://hessiankit.laplacekit.org/reference/Result.llms.md) - [LayerDiagonal](https://hessiankit.laplacekit.org/reference/LayerDiagonal.llms.md) - [LayerKron](https://hessiankit.laplacekit.org/reference/LayerKron.llms.md) ### Output factors - [OutputFactors](https://hessiankit.laplacekit.org/reference/OutputFactors.llms.md) - [categorical](https://hessiankit.laplacekit.org/reference/categorical.llms.md) - [bernoulli](https://hessiankit.laplacekit.org/reference/bernoulli.llms.md) - [gaussian](https://hessiankit.laplacekit.org/reference/gaussian.llms.md) - [from_dense](https://hessiankit.laplacekit.org/reference/from_dense.llms.md) - [Fisher](https://hessiankit.laplacekit.org/reference/Fisher.llms.md) - [Kind](https://hessiankit.laplacekit.org/reference/Kind.llms.md) - [Grouping](https://hessiankit.laplacekit.org/reference/Grouping.llms.md) ### Likelihoods - [Likelihood](https://hessiankit.laplacekit.org/reference/Likelihood.llms.md) - [likelihoods](https://hessiankit.laplacekit.org/reference/likelihoods.llms.md) ### Layer rules - [LayerRule](https://hessiankit.laplacekit.org/reference/LayerRule.llms.md) - [LinearRule](https://hessiankit.laplacekit.org/reference/LinearRule.llms.md) - [Conv2dRule](https://hessiankit.laplacekit.org/reference/Conv2dRule.llms.md) - [DEFAULT_RULES](https://hessiankit.laplacekit.org/reference/DEFAULT_RULES.llms.md) ### Errors - [HessiankitError](https://hessiankit.laplacekit.org/reference/HessiankitError.llms.md) - [UnsupportedLayerError](https://hessiankit.laplacekit.org/reference/UnsupportedLayerError.llms.md) - [CaptureError](https://hessiankit.laplacekit.org/reference/CaptureError.llms.md) - [FunctionalReuseError](https://hessiankit.laplacekit.org/reference/FunctionalReuseError.llms.md) - [FactorError](https://hessiankit.laplacekit.org/reference/FactorError.llms.md)