Download inference/runtime_env.sh from FlyaiLab/FlyAI-Decision-27B: direct link, hf CLI and curl.
- Browser
- Download file 445 Bytes
-
https://huggingface.co/FlyaiLab/FlyAI-Decision-27B/resolve/main/inference/runtime_env.sh
- Command line
-
hf download hf://FlyaiLab/FlyAI-Decision-27B/inference/runtime_env.sh
-
curl -L -o runtime_env.sh https://huggingface.co/FlyaiLab/FlyAI-Decision-27B/resolve/main/inference/runtime_env.sh
445 Bytes
| # Source after uv sync so upstream JIT paths use the locked CUDA toolkit. | |
| export CUDA_HOME | |
| CUDA_HOME="$(uv run --frozen --managed-python python -c 'import sysconfig; print(sysconfig.get_path("purelib") + "/nvidia/cu13")')" | |
| test -x "$CUDA_HOME/bin/nvcc" | |
| test -f "$CUDA_HOME/include/cuda_runtime.h" | |
| export CUDA_PATH="$CUDA_HOME" CUDACXX="$CUDA_HOME/bin/nvcc" | |
| export PATH="$CUDA_HOME/bin:$PATH" | |
| export MAX_JOBS="${MAX_JOBS:-8}" | |