Global Settings
The toast module has several global settings that can be configured at runtime with environment variables or by explicitly calling functions in the package.
toast
Time Ordered Astrophysics Scalable Tools (TOAST) is a software package designed to allow the processing of data from telescopes that acquire data as timestreams (rather than images).
Runtime behavior of this package can be controlled by setting some environment variables (before importing the package):
TOAST_LOGLEVEL=
TOAST_FUNCTIME=
TOAST_GPU_OPENMP=
TOAST_GPU_MEM_GB=
TOAST_GPU_JAX=
TOAST_GPU_HYBRID_PIPELINES=
OMP_NUM_THREADS=
OMP_TARGET_OFFLOAD=[MANDATORY | DISABLED | DEFAULT] * If the TOAST_GPU_OPENMP environment variable is set, this standard OpenMP environment variable controls the offload behavior.
MPI_DISABLE=pshmem package used by toast.
CUDA_MEMPOOL_FRACTION=
Accelerator Use
TOAST supports the use of JAX for offloading some operations. To enable this...