Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish_backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3

- name: Install dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/secrets_scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
echo "branch=${{ github.event.pull_request.head.ref }}" >> $GITHUB_ENV
fi
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{env.branch}}
fetch-depth: ${{env.depth}}
- name: Scan for secrets
uses: trufflesecurity/trufflehog@main
uses: trufflesecurity/trufflehog@6bd2d14f7a4bc1e569fa3550efa7ec632a4fa67b # main
2 changes: 1 addition & 1 deletion .github/workflows/test_ryzenai_modeling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ concurrency:

jobs:
build:
uses: huggingface/hf-workflows/.github/workflows/ryzenai_ci.yaml@main
uses: huggingface/hf-workflows/.github/workflows/ryzenai_ci.yaml@a88e7fa2eaee28de5a4d6142381b1fb792349b67 # main
with:
pytest_marker: "not prequantized_model_test"
test_file: "tests/ryzenai/test_modeling.py"
10 changes: 5 additions & 5 deletions .github/workflows/test_ryzenai_nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ concurrency:

jobs:
run_tests_prequantized_models:
uses: huggingface/hf-workflows/.github/workflows/ryzenai_ci.yaml@main
uses: huggingface/hf-workflows/.github/workflows/ryzenai_ci.yaml@a88e7fa2eaee28de5a4d6142381b1fb792349b67 # main
with:
pytest_marker: "prequantized_model_test"
test_file: "tests/ryzenai/test_modeling.py"
report_name: "tests_prequantized_models"

run_tests_quantization:
uses: huggingface/hf-workflows/.github/workflows/ryzenai_ci.yaml@main
uses: huggingface/hf-workflows/.github/workflows/ryzenai_ci.yaml@a88e7fa2eaee28de5a4d6142381b1fb792349b67 # main
with:
pytest_marker: "quant_test"
test_file: "tests/ryzenai/test_quantization.py"
Expand All @@ -36,9 +36,9 @@ jobs:
run_tests_quantization,
]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3
with:
path: ./reports/
- name: Send message to Slack
Expand All @@ -58,7 +58,7 @@ jobs:
# Upload complete failure tables, as they might be big and only truncated versions could be sent to Slack.
- name: Failure table artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@ff15f0306b3f739f7b6fd43fb5d26cd321bd4de5 # v3
with:
name: prev_ci_results
path: prev_ci_results
4 changes: 2 additions & 2 deletions .github/workflows/test_zentorch_plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: [self-hosted, amd-cpu, epyc, genoa]
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Copy zentorch binary to current directory
run: cp
Expand All @@ -37,7 +37,7 @@ jobs:
docker/transformers-pytorch-amd-cpu-zentorch

- name: Run tests
uses: addnab/docker-run-action@v3
uses: addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185 # v3
with:
image: optimum-amd-zentorch:2.2.1
options: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload_pr_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build:
uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main
uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@90b4ee2c10b81b5c1a6367c4e6fc9e2fb510a7e3 # main
with:
package_name: optimum-amd
secrets:
Expand Down
Loading