Instructions to use Motif-Technologies/optimizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use Motif-Technologies/optimizer with Kernels:
# !pip install kernels from kernels import get_kernel # a version (or an explicit revision) is required; see the "Files and versions" tab for the available ones kernel = get_kernel("Motif-Technologies/optimizer", version=1) - Notebooks
- Google Colab
- Kaggle
Download test/run_test_per_head.sh from Motif-Technologies/optimizer: direct link, hf CLI and curl.
- Browser
- Download file 83 Bytes
-
https://huggingface.co/Motif-Technologies/optimizer/resolve/main/test/run_test_per_head.sh
- Command line
-
hf download hf://Motif-Technologies/optimizer/test/run_test_per_head.sh
-
curl -L -o run_test_per_head.sh https://huggingface.co/Motif-Technologies/optimizer/resolve/main/test/run_test_per_head.sh
83 Bytes
| torchrun --nproc-per-node=8 --local-ranks-filter=0 -m pytest test_muon_per_head.py | |