File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 27
27
lintrunner init
28
28
29
29
pip install .[dev] -v
30
+ pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
30
31
- name : Run lintrunner
31
32
run : |
32
33
set -eux
Original file line number Diff line number Diff line change 15
15
- runs-on : " linux.2xlarge"
16
16
gpu-arch-type : " cpu"
17
17
gpu-arch-version : " "
18
- torch-version : " stable"
19
- - runs-on : " linux.g5.12xlarge.nvidia.gpu"
20
- gpu-arch-type : " cuda"
21
- gpu-arch-version : " 12.4"
22
- torch-version : " stable"
18
+ torch-version : " nigthly"
23
19
- runs-on : " linux.g5.12xlarge.nvidia.gpu"
24
20
gpu-arch-type : " cuda"
25
21
gpu-arch-version : " 12.4"
Original file line number Diff line number Diff line change @@ -373,7 +373,7 @@ def allreduce(
373
373
)
374
374
else :
375
375
work = self ._pg .allreduce ([tensor ], ReduceOp .SUM )
376
- work .wait ()
376
+ work .block_current_stream ()
377
377
fut = work .get_future ()
378
378
379
379
stream : Optional [torch .cuda .Stream ] = (
You can’t perform that action at this time.
0 commit comments