Hugging Face Transformers & PyTorch/Safetensors Matrix
Minimum PyTorch, Tokenizers, and Safetensors requirements.
Runs locally in browser
Free · No login
Available (Noindex) · 2026-11-25
v4.1.0
| Item | Specification | Notes |
|---|---|---|
| Transformers 4.46+ | Python 3.8–3.12; PyTorch 2.1+; Rust tokenizers | Prefer safetensors over pickle weights |
Technical Explanation
Minimum PyTorch, Tokenizers, and Safetensors requirements. Verified against official upstream release documentation and technical specifications.
Worked Examples
- Consult the Hugging Face Transformers & PyTorch/Safetensors Matrix table before upgrading production dependencies, runtimes, or hardware.
Limitations & Assumptions
- Upstream EOL timelines and minor-version requirements evolve; confirm against the linked official specification before production upgrades.
Source References & Verification
Resource ID: compat-python-transformers-hf · Technical check: 2026-11-25 (noindex pending/withheld from search)