Skip to content

Commit

Permalink
refine the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pengwa committed Oct 21, 2023
1 parent f5d241e commit 06a429a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/onnxruntime/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ def _inner_training_loop(
if self.is_deepspeed_enabled:
if is_deepspeed_zero3_enabled() and not ort_support_stage3:
raise NotImplementedError(
"`ORTTrainer` does not support ZeRO stage 3 for the moment. Please use DeepSpeed stage 1 or 2 instead."
"`ORTTrainer` does not support ZeRO stage 3 for the moment. Please use DeepSpeed stage 1 or 2 instead or consider to update ONNX Runtime to 1.17 or later."
)
if args.bf16:
warnings.warn(
Expand Down

0 comments on commit 06a429a

Please sign in to comment.