fix ci/pypi (#30)

This commit is contained in:
Scott Lessans
2025-08-05 17:44:04 -07:00
committed by GitHub
parent d8db548846
commit f1774c5110
3 changed files with 146 additions and 8 deletions

View File

@@ -152,7 +152,7 @@ If you want to modify the code or try the metal implementation set the project u
```shell
git clone https://github.com/openai/gpt-oss.git
pip install -e ".[metal]"
GPTOSS_BUILD_METAL=1 pip install -e ".[metal]"
```
## Download the model
@@ -228,6 +228,7 @@ python gpt_oss/metal/scripts/create-local-model.py -s <model_dir> -d <output_fil
```
Or downloaded the pre-converted weight:
```shell
huggingface-cli download openai/gpt-oss-120b --include "metal/*" --local-dir gpt-oss-120b/metal/
huggingface-cli download openai/gpt-oss-20b --include "metal/*" --local-dir gpt-oss-20b/metal/