Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions data_selection/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

try:
from transformers import mpu
except:
except Exception:
mpu = None

WANDB_PROJ_NAME = "data_selection"
Expand Down Expand Up @@ -115,7 +115,7 @@ def initialize(args, do_distributed=True):

set_random_seed(args.seed, args.model_parallel)
# init save folder
if args.save != None:
if args.save is not None:
os.makedirs(args.save, exist_ok=True)


Expand Down