flax.config package

Flax has the following global config options.

Global configuration options for Flax.


Whether to hide flax-internal stack frames from tracebacks. Set by the FLAX_FILTER_FRAMES environment variable. Defaults to True.


Whether to automatically wrap Module methods with named_call for profiles. Set by the FLAX_PROFILE environment variable. Defaults to False.