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
inference bug The expanded size of the tensor (1575) must match the existing size (788) at non-singleton dimension 3. Target sizes: [1, 28, 788, 1575]. Tensor sizes: [1, 1, 788, 788]
#144
Open
ljeff97 opened this issue
Feb 26, 2025
· 0 comments
model = Qwen2VLForConditionalGeneration.from_pretrained(
pwd, torch_dtype="auto", device_map="auto"
)
如果使用原qwenvl2 7b模型,可以正常推理
如果使用RL训练后保存下来的qwenvl2 7b模型,会报错
transformers版本已经使用requirements.txt里的版本
The text was updated successfully, but these errors were encountered: