-
Notifications
You must be signed in to change notification settings - Fork 6k
[CI] updates to the CI report naming, and accelerate
installation
#9429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
7042bfc
d0ec31f
c3199b7
73b4d73
0a996c6
f981482
eabe6cb
e966992
022ff90
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,7 +95,7 @@ jobs: | |
if [ "${{ matrix.lib-versions }}" == "main" ]; then | ||
python -m pip install -U peft@git+https://github.com/huggingface/peft.git | ||
python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git | ||
python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git | ||
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git | ||
else | ||
python -m uv pip install -U peft transformers accelerate | ||
fi | ||
|
@@ -110,23 +110,23 @@ jobs: | |
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH" | ||
python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \ | ||
-s -v \ | ||
--make-reports=tests_${{ matrix.config.report }} \ | ||
--make-reports=tests_${{ matrix.lib-versions }} \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change:
|
||
tests/lora/ | ||
python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \ | ||
-s -v \ | ||
--make-reports=tests_models_lora_${{ matrix.config.report }} \ | ||
--make-reports=tests_models_lora_${{ matrix.lib-versions }} \ | ||
tests/models/ -k "lora" | ||
|
||
|
||
- name: Failure short reports | ||
if: ${{ failure() }} | ||
run: | | ||
cat reports/tests_${{ matrix.config.report }}_failures_short.txt | ||
cat reports/tests_models_lora_${{ matrix.config.report }}_failures_short.txt | ||
cat reports/tests_${{ matrix.lib-versions }}_failures_short.txt | ||
cat reports/tests_models_lora_${{ matrix.lib-versions }}_failures_short.txt | ||
|
||
- name: Test suite reports artifacts | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: pr_${{ matrix.config.report }}_test_reports | ||
name: pr_${{ matrix.lib-versions }}_test_reports | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So that the artifact is uploaded with a unique name. |
||
path: reports |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -170,7 +170,7 @@ jobs: | |
if: ${{ always() }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: pr_${{ matrix.config.report }}_test_reports | ||
name: pr_${{ matrix.config.framework }}_${{ matrix.config.report }}_test_reports | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To preserve uniqueness. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this one seems to be ok - config.report already named nicely with framework taken into account |
||
path: reports | ||
|
||
run_staging_tests: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because we don't have a matrix here.