Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,6 @@ def main():
# If passed along, set the training seed now.
set_random_seed(args.seed)

assert not args.offload, "zero-offload is not currently supported but coming soon!"

torch.distributed.barrier()

tokenizer = load_hf_tokenizer(args.model_name_or_path, fast_tokenizer=True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,6 @@ def main():

args.global_rank = torch.distributed.get_rank()

assert not args.offload, "zero-offload is not currently supported but coming soon!"

ds_config = get_train_ds_config(offload=args.offload,
stage=args.zero_stage)
ds_config[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,6 @@ def main():

args.global_rank = torch.distributed.get_rank()

assert not args.offload, "zero-offload is not currently supported but coming soon!"

unsupervised_training_enabled = args.unsupervised_dataset_name and args.unsupervised_dataset_config_name
if unsupervised_training_enabled:
# if we enable unsupervised training, we need to double the batch size for actor model
Expand Down