get_runtime_config#
jeanspy.model_jax.get_runtime_config
- jeanspy.model_jax.get_runtime_config()[source]#
Return the current model_jax runtime configuration.
Notes
Device selection is controlled by JAX itself and must be requested before importing JAX. This helper reports both the requested and active backend.
Precision can be toggled at runtime through
configure_runtimefor future traces/compilations.Numerical integration choices are per-call options on
sigmalos2andConstantAnisotropyModel.kernelrather than process-wide settings.
Inputs and units.
configure_runtimeacceptsjax_enable_x64;get_runtime_configtakes no arguments. Device selection should be set through environment variables before JAX initialization.Returns and shape. Dictionary of effective runtime settings and numerical defaults.
Validity. Changing precision after tracing can create a different numerical analysis and restart identity.
Errors. Device initialization errors from JAX propagate.
Backend. Host configuration of JAX.
Differentiation. Configuration choices are static, not differentiable.
Examples.
examples/docs_jax_spherical.py