Open world2vec opened 2 months ago
Will check this out!
this happens with unsloth/Meta-Llama-3.1-8B too. when I add use_cache=False to model.generate. it raises
RuntimeError: The size of tensor a (32) must match the size of tensor b (1300) at non-singleton dimension 1
Hmm ok will reinvestigate!
Any news on this? I get the same error
Still investigating this!
Env: torch2.4 cuda 12.4 unsloth main below is the code errored
error:
If use huggingface code there is no error: