Skip to content

Commit 501d9de

Browse files
authored
[CI] Fix for failing IP Adapter test in Fast GPU PR tests (#10915)
* update * update * update * update
1 parent e5c43b8 commit 501d9de

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/pr_tests_gpu.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,18 @@ jobs:
106106
# https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms
107107
CUBLAS_WORKSPACE_CONFIG: :16:8
108108
run: |
109-
pattern=$(cat ${{ steps.extract_tests.outputs.pattern_file }})
110-
python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \
111-
-s -v -k "not Flax and not Onnx and $pattern" \
112-
--make-reports=tests_pipeline_${{ matrix.module }}_cuda \
113-
tests/pipelines/${{ matrix.module }}
109+
if [ "${{ matrix.module }}" = "ip_adapters" ]; then
110+
python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \
111+
-s -v -k "not Flax and not Onnx" \
112+
--make-reports=tests_pipeline_${{ matrix.module }}_cuda \
113+
tests/pipelines/${{ matrix.module }}
114+
else
115+
pattern=$(cat ${{ steps.extract_tests.outputs.pattern_file }})
116+
python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \
117+
-s -v -k "not Flax and not Onnx and $pattern" \
118+
--make-reports=tests_pipeline_${{ matrix.module }}_cuda \
119+
tests/pipelines/${{ matrix.module }}
120+
fi
114121
115122
- name: Failure short reports
116123
if: ${{ failure() }}

0 commit comments

Comments
 (0)