tensorflow/kfac

An implementation of KFAC for TensorFlow

Python

198

73 commits

updated Feb 11, 2022

See the code

README

K-FAC: Kronecker-Factored Approximate Curvature

Travis

K-FAC in TensorFlow is an implementation of K-FAC, an approximate second-order optimization method, in TensorFlow.

Installation

kfac is compatible with Python 2 and 3 and can be installed directly via pip,

# 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 for a detailed description with examples of how to use KFAC. Check the Keras KFAC docs for information on using KFAC with Keras.

Contributors

james-martens

56 commits

duckworthd

10 commits

mattjj

4 commits

brettkoonce

1 commits

tensorflow/kfac

An implementation of KFAC for TensorFlow

Python

198

73 commits

updated Feb 11, 2022

See the code

README

K-FAC: Kronecker-Factored Approximate Curvature

Travis

K-FAC in TensorFlow is an implementation of K-FAC, an approximate second-order optimization method, in TensorFlow.

Installation

kfac is compatible with Python 2 and 3 and can be installed directly via pip,

# 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 for a detailed description with examples of how to use KFAC. Check the Keras KFAC docs for information on using KFAC with Keras.

Contributors

james-martens

56 commits

duckworthd

10 commits

mattjj

4 commits

brettkoonce

1 commits

Languages

Python

94.4%

Jupyter Notebook

5.6%