Download requirements-gpu.txt from 42e/mathcompose: direct link, hf CLI and curl.
- Browser
- Download file 511 Bytes
-
https://huggingface.co/42e/mathcompose/resolve/main/requirements-gpu.txt
- Command line
-
hf download hf://42e/mathcompose/requirements-gpu.txt
-
curl -L -o requirements-gpu.txt https://huggingface.co/42e/mathcompose/resolve/main/requirements-gpu.txt
511 Bytes
| # Extra deps for the GPU training/inference path (Colab / Modal / RunPod). | |
| # Install on top of requirements.txt on a CUDA box: | |
| # pip install -r requirements.txt -r requirements-gpu.txt | |
| # | |
| # NOTE: install a CUDA build of torch first (Colab ships one). The CPU box uses | |
| # torch==*+cpu, which cannot run 4-bit QLoRA. | |
| bitsandbytes>=0.43 # 4-bit NF4 kernels for QLoRA (requires CUDA) | |
| # Optional speedup (UNCONFIRMED against transformers 5.13 — pin transformers down if you use it): | |
| # pip install unsloth | |