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 jax.named_scope for profiles. Set by the FLAX_PROFILE environment variable. Defaults to True.