X-PLUG / mPLUG-Owl

mPLUG-Owl: The Powerful Multi-modal Large Language Model Family
https://www.modelscope.cn/studios/damo/mPLUG-Owl
MIT License
2.25k stars 171 forks source link

Conflicting `torch` and `torchvision` versions #20

Open joehoover opened 1 year ago

joehoover commented 1 year ago

Unfortunately, I ran into another issue with dependency conflicts.

There's an open PR that bumps torch to 1.13.1. However, torchvision==0.13.1 is not compatible with torch==1.13.1.

What version of torchvision would you recommend?

LukeForeverYoung commented 1 year ago

We updated the repository that can support instruction-tuning based on peft. And the peft requires pytorch>=1.13.1. You can use conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia to install both pytorch and torchvision.