diff --git a/.github/workflows/convert-model.yml b/.github/workflows/convert-model.yml index d5667eb..ae5e571 100644 --- a/.github/workflows/convert-model.yml +++ b/.github/workflows/convert-model.yml @@ -115,8 +115,10 @@ jobs: - name: Convert to ONNX - DirectML - INT4 run: | + huggingface-cli login --token ${{ secrets.HUGGINGFACE_TOKEN_READ }} --add-to-git-credential cd onnxruntime-genai/src/python/py/models python3 builder.py -i "${{ env.MODEL_NAME }}/hf" -o "${{ env.MODEL_NAME }}/onnx" -p ${{ env.PRECISION }} -e ${{ env.EXECUTOR }} + huggingface-cli logout # - name: Upload to Hugging Face # run: |