Unverified Commit 3bcc2d43 authored by Muyang Li's avatar Muyang Li Committed by GitHub
Browse files

chore: fix the wheel hf uploading (#599)

* fix the hf uploading

* use conda python
parent 433f0b22
......@@ -92,7 +92,7 @@ jobs:
run: |
pip install huggingface_hub
for whl in dist/*.whl; do
hf upload nunchaku-tech/nunchaku "$whl" .
hf upload nunchaku-tech/nunchaku "$whl"
done
- name: Clean up
if: always()
......@@ -141,16 +141,13 @@ jobs:
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Upload wheels to HuggingFace Hub
shell: cmd
env:
HF_TOKEN: ${{ secrets.HF_WHEEL_UPLOAD_TOKEN }}
run: |
call C:\Users\muyangl\miniconda3\condabin\activate.bat activate
pip install huggingface_hub
for %%w in (dist\*.whl) do (
hf upload nunchaku-tech/nunchaku "%%w" .
hf upload nunchaku-tech/nunchaku "%%w"
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment