Skip to content

Commit

Permalink
Merge pull request #331 from RobotSail/fix-training-backend-selection
Browse files Browse the repository at this point in the history
fix: incorrect enum selection
  • Loading branch information
mergify[bot] authored Nov 12, 2024
2 parents b812604 + ea3ec9c commit 1a24cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instructlab/training/main_ds.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ def run_training(torch_args: TorchrunArgs, train_args: TrainingArgs) -> None:
)

# deepspeed options
if train_args.distributed_backend == DistributedBackend.DeepSpeed:
if train_args.distributed_backend == DistributedBackend.DEEPSPEED:
if not FusedAdam:
raise ImportError(
"DeepSpeed was selected as the distributed backend, but FusedAdam could not be imported. Please double-check that DeepSpeed is installed correctly"
Expand Down

0 comments on commit 1a24cce

Please sign in to comment.