Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug report #16

Closed
loadingyy opened this issue Dec 11, 2024 · 1 comment
Closed

bug report #16

loadingyy opened this issue Dec 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@loadingyy
Copy link

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.

@mikecovlee mikecovlee added the bug Something isn't working label Dec 16, 2024
@mikecovlee
Copy link
Member

thx. i will check it in latest pr.

mikecovlee added a commit that referenced this issue Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants