DeepSpeed
85334238 - added check to avoid undefined behavior when the input_id length is greater than max_tokens (#4349)

Comment changes are shownComment changes are hidden
Commit
1 year ago
added check to avoid undefined behavior when the input_id length is greater than max_tokens (#4349)
Author
Parents
  • deepspeed/inference
    • File
      engine.py