Install Modal into the environment (uv pip install --python .venv/bin/python modal) and run: OMP_NUM_THREADS=1 .venv/bin/modal run scripts/modal_beam_operator.py The Baseten provider through Hugging ...