-
Notifications
You must be signed in to change notification settings - Fork 399
Closed
Labels
Description
🐛 Describe the bug
Example:
modeling_qwen2_vl.apply_rotary_pos_emb = liger_rotary_pos_emb
modeling_qwen2_vl.Qwen2RMSNorm = LigerRMSNorm
modeling_qwen2_vl.CrossEntropyLoss = LigerCrossEntropyLoss
modeling_qwen2_vl.Qwen2VLForConditionalGeneration.forward = qwen2_vl_lce_forward
modeling_qwen2_vl.Qwen2MLP = LigerSwiGLUMLP
The qwen2_vl_lce_forward
needs to be implemented to adapt to the image inputs
Reproduce
Na
Versions
Environment Report:
Python version: 3.10.13
PyTorch version: 2.2.0+cu118
CUDA version: 11.8
Triton: Not installed
Transformers version: 4.45.0.dev0
ByronHsu and 14H034160212