File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ packaging>=20.9
22wheel >= 0.43
33pyyaml
44py-cpuinfo
5- # we set this to be above 0a0 so that it doesn't
6- # replace custom pytorch images with the 2.3.0
7- torch >= 2.3.0a0
5+ torch >= 2.6.0
86transformers >= 4.45.2
97
108datasets >= 2.15.0
Original file line number Diff line number Diff line change 44from copy import deepcopy
55import argparse
66import datetime
7- import functools
87import logging
98import os
109import subprocess
@@ -328,11 +327,10 @@ def main(args):
328327 args .local_rank = int (os .environ ["LOCAL_RANK" ])
329328
330329 timeout = _get_collective_timeout ()
331- init = functools .partial (torch .distributed .init_process_group , "nccl" )
332330 if timeout is not None :
333- init (timeout = timeout )
331+ torch . distributed . init_process_group (timeout = timeout )
334332 else :
335- init ()
333+ torch . distributed . init_process_group ()
336334
337335 args .global_rank = torch .distributed .get_rank ()
338336 tensor = torch .ByteTensor ([False ]).cuda ()
You can’t perform that action at this time.
0 commit comments