Merge pull request #693 from SamuelGabriel/patch-1

Let only the _globally_ 0th rank write checkpoints in `train.py`
vit_and_bit_test_fixes
Ross Wightman 4 years ago committed by GitHub
commit b79dfd4fc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -561,7 +561,7 @@ def main():
best_epoch = None
saver = None
output_dir = None
if args.local_rank == 0:
if args.rank == 0:
if args.experiment:
exp_name = args.experiment
else:

Loading…
Cancel
Save