npx skills add ...
npx skills add huggingface/prime-rl --skill installation
npx skills add huggingface/prime-rl --skill installation
How to install prime-rl and its optional dependencies. Use when setting up the project, installing extras like deep-gemm for FP8 models, or troubleshooting dependency issues.
This installs all core dependencies defined in pyproject.toml.
The recommended way to install for most users:
This installs all optional extras (flash-attn, flash-attn-cute, etc.) in one go.
For certain models like GLM-5-FP8, you need deep-gemm. Install it via the fp8-inference dependency group:
This installs the pre-built deep-gemm wheel. No CUDA build step is needed.
Installs pytest, ruff, pre-commit, and other development tools.
pyproject.toml — all dependencies, extras, and dependency groupsuv.lock — pinned lockfile (update with uv sync --all-extras)