mPLUG-Owl icon indicating copy to clipboard operation
mPLUG-Owl copied to clipboard

Conflicting `torch` and `torchvision` versions

Open joehoover opened this issue 1 year ago • 1 comments

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?

joehoover avatar May 05 '23 15:05 joehoover

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.

LukeForeverYoung avatar May 05 '23 15:05 LukeForeverYoung