Skip to content

Commit

Permalink
Merge pull request #846 from bghira/experiment/deepspeed-shard
Browse files Browse the repository at this point in the history
follow-up fixes for quanto limitation on multigpu
  • Loading branch information
bghira authored Aug 22, 2024
2 parents 7029e8c + 31409bc commit f4b233b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def main():
kwargs_handlers=[process_group_kwargs],
)

if accelerator.num_processes > 0:
if accelerator.num_processes > 1:
# mulit-gpu safety checks & warnings
if args.model_type == "lora" and args.lora_type == "standard":
# multi-gpu PEFT checks & warnings
Expand Down

0 comments on commit f4b233b

Please sign in to comment.