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
{{ message }}
Repository navigation
'unsloth/llava-v1.6-mistral-7b-hf' model inference RuntimeError: Unsloth: Failed to make input require gradients! #1847
Hello, I was testing model inference with LlavaNext mistral 7B unsloth model, but receive the following error (image). Is LlavaNext mistral 7B still supported?
Thanks @shimmyshimmer the old issue seems fixed. But now I get this new error: "ValueError: Image features and image tokens do not match: tokens: 1175, features 1176"
Looks similar to this: huggingface/transformers#36002 and they solved by updating the model. The fix is the processor_config.json file. Let me know if I need to open a new issue with it. Thanks
Activity
alessiodecastro commentedon Mar 6, 2025
Hello @shimmyshimmer did you have chance to look at this? Am I doing something wrong in using the model? Many Thanks
shimmyshimmer commentedon Mar 27, 2025
@alessiodecastro should be fixed now apologies for the issue. pls update unsloth and let us know if issue still persists
alessiodecastro commentedon Mar 27, 2025
Thanks @shimmyshimmer the old issue seems fixed. But now I get this new error: "ValueError: Image features and image tokens do not match: tokens: 1175, features 1176"
Looks similar to this: huggingface/transformers#36002 and they solved by updating the model. The fix is the processor_config.json file. Let me know if I need to open a new issue with it. Thanks
pritamdeka commentedon Apr 7, 2025
@alessiodecastro I am also getting a similar error for the Pixtral model. Did you manage to solve it?