configure_runtime#
jeanspy.model_jax.configure_runtime
- jeanspy.model_jax.configure_runtime(*, jax_enable_x64=None)[source]#
Update global runtime knobs used by model_jax.
Only JAX precision remains process-wide. Numerical integration choices are passed per call to
DSphModel.sigmalos2orConstantAnisotropyModel.kernel.Notes
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. Unsupported keyword arguments raise TypeError.
Backend. Host configuration of JAX.
Differentiation. Configuration choices are static, not differentiable.
Examples.
examples/docs_jax_spherical.py