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
Describe the bug
I tried running ms-swift to fine tune ovis2 (https://huggingface.co/AIDC-AI/Ovis2-1B).
I keep getting an error that ovis2 does not support flash attetion but they claim to support flash attention in their github repository: AIDC-AI/Ovis#44
without flash attention I always get OOM errors (even with the 1B model on a 4090).
this is the command I'm running:
ValueError: Ovis does not support Flash Attention 2.0 yet. Please request to add support where the model is hosted, on its model hub page: https://huggingface.co//home/ab/.cache/huggingface/hub/models--AIDC-AI--Ovis2-1B/snapshots/2d2b94c33f1876797bead75c057cf9a9d6e2181a/discussions/new or in the Transformers GitHub repo: https://github.com/huggingface/transformers/issues/new
I'm not sure if I'm doing something wrong. Any help would be appreciated.
The text was updated successfully, but these errors were encountered:
Describe the bug
I tried running ms-swift to fine tune ovis2 (https://huggingface.co/AIDC-AI/Ovis2-1B).
I keep getting an error that ovis2 does not support flash attetion but they claim to support flash attention in their github repository: AIDC-AI/Ovis#44
without flash attention I always get OOM errors (even with the 1B model on a 4090).
this is the command I'm running:
I'm not sure if I'm doing something wrong. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: