Skip to content

Commit 6d8973f

Browse files
authored
[CI] Fix indentation issue in workflow files (#12685)
update
1 parent ab71f3c commit 6d8973f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/pr_tests_gpu.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Fast GPU Tests on PR
1+
name: Fast GPU Tests on PR
22

33
on:
44
pull_request:
@@ -71,7 +71,7 @@ jobs:
7171
if: ${{ failure() }}
7272
run: |
7373
echo "Repo consistency check failed. Please ensure the right dependency versions are installed with 'pip install -e .[quality]' and run 'make fix-copies'" >> $GITHUB_STEP_SUMMARY
74-
74+
7575
setup_torch_cuda_pipeline_matrix:
7676
needs: [check_code_quality, check_repository_consistency]
7777
name: Setup Torch Pipelines CUDA Slow Tests Matrix
@@ -132,7 +132,7 @@ jobs:
132132
uv pip install -e ".[quality]"
133133
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
134134
#uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
135-
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
135+
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
136136
137137
- name: Environment
138138
run: |
@@ -150,18 +150,18 @@ jobs:
150150
# https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms
151151
CUBLAS_WORKSPACE_CONFIG: :16:8
152152
run: |
153-
if [ "${{ matrix.module }}" = "ip_adapters" ]; then
153+
if [ "${{ matrix.module }}" = "ip_adapters" ]; then
154154
pytest -n 1 --max-worker-restart=0 --dist=loadfile \
155155
-k "not Flax and not Onnx" \
156156
--make-reports=tests_pipeline_${{ matrix.module }}_cuda \
157157
tests/pipelines/${{ matrix.module }}
158-
else
158+
else
159159
pattern=$(cat ${{ steps.extract_tests.outputs.pattern_file }})
160160
pytest -n 1 --max-worker-restart=0 --dist=loadfile \
161161
-k "not Flax and not Onnx and $pattern" \
162162
--make-reports=tests_pipeline_${{ matrix.module }}_cuda \
163163
tests/pipelines/${{ matrix.module }}
164-
fi
164+
fi
165165
166166
- name: Failure short reports
167167
if: ${{ failure() }}
@@ -225,10 +225,10 @@ jobs:
225225
pattern=$(cat ${{ steps.extract_tests.outputs.pattern_file }})
226226
if [ -z "$pattern" ]; then
227227
pytest -n 1 --max-worker-restart=0 --dist=loadfile -k "not Flax and not Onnx" tests/${{ matrix.module }} \
228-
--make-reports=tests_torch_cuda_${{ matrix.module }}
228+
--make-reports=tests_torch_cuda_${{ matrix.module }}
229229
else
230230
pytest -n 1 --max-worker-restart=0 --dist=loadfile -k "not Flax and not Onnx and $pattern" tests/${{ matrix.module }} \
231-
--make-reports=tests_torch_cuda_${{ matrix.module }}
231+
--make-reports=tests_torch_cuda_${{ matrix.module }}
232232
fi
233233
234234
- name: Failure short reports

.github/workflows/push_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
uv pip install -e ".[quality]"
7878
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
7979
#uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
80-
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
80+
uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
8181
- name: Environment
8282
run: |
8383
python utils/print_env.py

0 commit comments

Comments
 (0)