# kfac **Repository Path**: mirrors_tensorflow/kfac ## Basic Information - **Project Name**: kfac - **Description**: An implementation of KFAC for TensorFlow - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-22 - **Last Updated**: 2026-02-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # K-FAC: Kronecker-Factored Approximate Curvature [![Travis](https://img.shields.io/travis/tensorflow/kfac.svg)](https://travis-ci.org/tensorflow/kfac) **K-FAC in TensorFlow** is an implementation of [K-FAC][kfac-paper], an approximate second-order optimization method, in TensorFlow. [kfac-paper]: https://arxiv.org/abs/1503.05671 ## Installation `kfac` is compatible with Python 2 and 3 and can be installed directly via `pip`, ```shell # Assumes tensorflow or tensorflow-gpu installed $ pip install kfac # Installs with tensorflow-gpu requirement $ pip install 'kfac[tensorflow_gpu]' # Installs with tensorflow (cpu) requirement $ pip install 'kfac[tensorflow]' ``` ## KFAC DOCS Please check [KFAC docs][kfac_docs] for a detailed description with examples of how to use KFAC. Check the [Keras KFAC docs][keras_docs] for information on using KFAC with Keras. [kfac_docs]: https://github.com/tensorflow/kfac/tree/master/docs/index.md [keras_docs]: https://github.com/tensorflow/kfac/tree/master/kfac/python/keras/README.md