Q-Future / Q-Align

③[ICML2024] [IQA, IAA, VQA] All-in-one Foundation Model for visual scoring. Can efficiently fine-tune to downstream datasets.
https://q-align.github.io
Other
293 stars 19 forks source link

AttributeError when doing inference #12

Closed machengcheng2016 closed 8 months ago

machengcheng2016 commented 8 months ago

Greetings! Thanks for your great work! When I do inference, I find such error: AttributeError: 'MPLUGOwl2LlamaModel' object has no attribute '_use_flash_attention_2' image

Seems something is missing. Could you give me a solution, please?

machengcheng2016 commented 8 months ago

Solved. Refer to this issue.