Skip to content

Commit

Permalink
Update train_ms.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Stardust-minus authored Sep 30, 2023
1 parent 3ec3a1a commit dd6aae1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions train_ms.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
True
) # Not available if torch version is lower than 2.0
torch.backends.cuda.enable_math_sdp(True)
torch.multiprocessing.set_start_method('spawn')
global_step = 0


Expand Down

0 comments on commit dd6aae1

Please sign in to comment.