muellerzr's picture
muellerzr HF staff
Strip cr from docs
60de117

Stateful Classes

Below are variations of a singleton class in the sense that all instances share the same state, which is initialized on the first instantiation.

These classes are immutable and store information about certain configurations or states.

[[autodoc]] state.PartialState

[[autodoc]] state.AcceleratorState

[[autodoc]] state.GradientState