AttributeError: 'InternLM2ForCausalLM' object has no attribute 'generate'
#4
by
allenwjw49
- opened
AttributeError: 'InternLM2ForCausalLM' object has no attribute 'generate'
the same problem
I previously did not have this issue, but after updating transformers to support the new Gemma 3n, both Qwen 2.5 VL and this model gave errors. After downgrading transformers manually to the last known working version, Qwen 2.5 VL worked, but this model still does not work and gives the same error as above.