jax.experimental.pallas.mosaic_gpu.force_gpu_interpret_mode#
- jax.experimental.pallas.mosaic_gpu.force_gpu_interpret_mode(params=InterpretGPUParams(detect_races=False, on_race='raise', out_of_bounds_reads='raise', skip_floating_point_ops=False, uninitialized_memory='nan', num_cores_or_threads=1, vector_clock_size=None, logging_mode=None, num_tma_threads_per_device=5, inline_mgpu='error'))[source]#
Context manager that forces GPU interpret mode under its dynamic context.
See
InterpretGPUParamsfor additional information.- Parameters:
params (InterpretGPUParams) – an instance of
InterpretGPUParams. Any call tojax.experimental.pallas.mosaic_gpu.kernel(),jax.experimental.pallas.core_map(), orjax.experimental.pallas.pallas_call()that is traced under this context manager will be run withinterpret=params. Whenparamsis notNone, this will cause those calls to run with GPU interpret mode.