Skip to content

[BUG] max_seq_length paramter missing in DeepSpeedTransformerConfig #1364

Description

@delock

Describe the bug
In comments of DeepSpeedTransformerConfig, there is a parameter max_seq_length, however it is not in init function

To Reproduce
Steps to reproduce the behavior:

  1. https://github.com/microsoft/DeepSpeed/blob/master/deepspeed/ops/transformer/transformer.py
  2. Search for DeepSpeedTransformerConfig
  3. In comments see "max_seq_length: The sequence-length of the model being trained with DeepSpeed"
  4. Goto init, there is no parameter max_seq_length
  5. Goto TransformerConfig, there is no parameter max_seq_length either

Expected behavior
max_seq_length should appear in paramter list

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions