Replies: 1 comment 1 reply
-
I should add that for some reason my torch defaulted to cu113 instead of cu116 but installing protobuf==3.20.0 followed by pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116 while in the venv was able to get both working fine again... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
tensorflow in dreambooth is requesting protobuf 3.19 while openclip_torch is requesting 3.20.
A quick fix is to go to your venv\Lib\site-packages\open_clip_torch-2.7.0.dist-info\ and edit the metadata file there with any editor. In line 32 change it from protobuf (==3.20.0) to protobuf (<=3.20.0), this is just to get the full extension to install and can be undone later. You'll also need to edit the meta data in the tensorflow-intel site-package as well after that in line 43 with protobuf (<=3.20,>=3.9.2) instead of protobuf (<3.20,>=3.9.2) but should all be working after that.
Beta Was this translation helpful? Give feedback.
All reactions