You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When set the "cutoff_len" in the config to "-1", there will be an attributeError in moe_peft.py line 148.
AttributeError: 'LLMModel' object has no attribute 'max_seq_len_'
The max_seq_len_ is in llm_model.config_.max_seq_len, not in llm_model.max_seq_len_.
Don't forget to fix line 149, too.
The text was updated successfully, but these errors were encountered:
When set the "cutoff_len" in the config to "-1", there will be an attributeError in moe_peft.py line 148.
AttributeError: 'LLMModel' object has no attribute 'max_seq_len_'
The max_seq_len_ is in llm_model.config_.max_seq_len, not in llm_model.max_seq_len_.
Don't forget to fix line 149, too.
The text was updated successfully, but these errors were encountered: