Skip to content

Commit 28b134e

Browse files
authored
[Tests] Fix mps reproducibility issue when running with pytest-xdist (huggingface#976)
* [WIP] Debugging mps DDIM tests * revert num_steps * check warmup with a generator * more warmup! * remove xdist * just use a single process
1 parent 240abdd commit 28b134e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- name: Run all fast tests on MPS
9090
shell: arch -arch arm64 bash {0}
9191
run: |
92-
${CONDA_RUN} python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile -s -v --make-reports=tests_torch_mps tests/
92+
${CONDA_RUN} python -m pytest -n 1 -s -v --make-reports=tests_torch_mps tests/
9393
9494
- name: Failure short reports
9595
if: ${{ failure() }}

0 commit comments

Comments
 (0)