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

llama3 FastAPI部署报错怎么解决哇ww #222

Open
UandUfindU opened this issue Jul 26, 2024 · 1 comment
Open

llama3 FastAPI部署报错怎么解决哇ww #222

UandUfindU opened this issue Jul 26, 2024 · 1 comment

Comments

@UandUfindU
Copy link

rope_scaling must be a dictionary with two fields, type and factor, got {'factor': 8.0, 'low_freq_factor': 1.0, 'high_freq_factor': 4.0, 'original_max_position_embeddings': 8192, 'rope_type': 'llama3'}

@UandUfindU
Copy link
Author

解决啦,方案是升级到最新的transformers
pip install --upgrade transformers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant