|
51 | 51 | strategy: |
52 | 52 | matrix: |
53 | 53 | python: ["3.10", "3.11", "3.12"] |
54 | | - torch: ["2.5", "2.6", "2.7", "2.8"] |
| 54 | + torch: ["2.5", "2.6", "2.7", "2.8", "2.9"] |
55 | 55 | steps: |
56 | 56 | - name: Checkout to the tag |
57 | 57 | uses: actions/checkout@v4 |
|
82 | 82 | prerelease: false |
83 | 83 | env: |
84 | 84 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 85 | + - name: Set up Python |
| 86 | + uses: actions/setup-python@v5 |
| 87 | + with: |
| 88 | + python-version: '3.12' |
| 89 | + - name: Upload wheels to HuggingFace Hub |
| 90 | + env: |
| 91 | + HF_TOKEN: ${{ secrets.HF_WHEEL_UPLOAD_TOKEN }} |
| 92 | + run: | |
| 93 | + pip install huggingface_hub |
| 94 | + for whl in dist/*.whl; do |
| 95 | + hf upload nunchaku-tech/nunchaku "$whl" . |
| 96 | + done |
85 | 97 | - name: Clean up |
86 | 98 | if: always() |
87 | 99 | run: bash scripts/linux_cleanup.sh |
|
92 | 104 | strategy: |
93 | 105 | matrix: |
94 | 106 | python: ["3.10", "3.11", "3.12"] |
95 | | - torch: ["2.5", "2.6", "2.7", "2.8"] |
| 107 | + torch: ["2.5", "2.6", "2.7", "2.8", "2.9"] |
96 | 108 | steps: |
97 | 109 | - name: Checkout to the tag |
98 | 110 | uses: actions/checkout@v4 |
@@ -129,3 +141,16 @@ jobs: |
129 | 141 | prerelease: false |
130 | 142 | env: |
131 | 143 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 144 | + - name: Set up Python |
| 145 | + uses: actions/setup-python@v5 |
| 146 | + with: |
| 147 | + python-version: '3.12' |
| 148 | + - name: Upload wheels to HuggingFace Hub |
| 149 | + shell: cmd |
| 150 | + env: |
| 151 | + HF_TOKEN: ${{ secrets.HF_WHEEL_UPLOAD_TOKEN }} |
| 152 | + run: | |
| 153 | + pip install huggingface_hub |
| 154 | + for %%w in (dist\*.whl) do ( |
| 155 | + hf upload nunchaku-tech/nunchaku "%%w" . |
| 156 | + ) |
0 commit comments