File tree Expand file tree Collapse file tree
applications/DeepSpeed-Chat/training
step1_supervised_finetuning
step2_reward_model_finetuning Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -198,8 +198,6 @@ def main():
198198 # If passed along, set the training seed now.
199199 set_random_seed (args .seed )
200200
201- assert not args .offload , "zero-offload is not currently supported but coming soon!"
202-
203201 torch .distributed .barrier ()
204202
205203 tokenizer = load_hf_tokenizer (args .model_name_or_path , fast_tokenizer = True )
Original file line number Diff line number Diff line change @@ -187,8 +187,6 @@ def main():
187187
188188 args .global_rank = torch .distributed .get_rank ()
189189
190- assert not args .offload , "zero-offload is not currently supported but coming soon!"
191-
192190 ds_config = get_train_ds_config (offload = args .offload ,
193191 stage = args .zero_stage )
194192 ds_config [
Original file line number Diff line number Diff line change @@ -365,8 +365,6 @@ def main():
365365
366366 args .global_rank = torch .distributed .get_rank ()
367367
368- assert not args .offload , "zero-offload is not currently supported but coming soon!"
369-
370368 unsupervised_training_enabled = args .unsupervised_dataset_name and args .unsupervised_dataset_config_name
371369 if unsupervised_training_enabled :
372370 # if we enable unsupervised training, we need to double the batch size for actor model
You can’t perform that action at this time.
0 commit comments