-
Notifications
You must be signed in to change notification settings - Fork 185
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
promptbench.utils.Visualizer: 'LLMModel' object has no attribute 'infer_model' #78
Comments
Hi, thank you very much for bringing this issue to our attention! This error occurred because we changed the interface of the LLMModel. It has now been fixed!
The results should look like:
|
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument index in method wrapper_CUDA__index_select) why? |
Hi! Could you try cloning the repository directly using git instead of installing via pip? This may be due to that we haven't updated the PyPI version yet. Thanks! |
Thanks for your reply, that solves my confusion! |
Hi~
When I was using the visualization feature, I encountered the error "'LLMModel' object has no attribute 'infer_model'".
Here are my code and error. Could you solve it? Thanks a lot!
The text was updated successfully, but these errors were encountered: