picobyte / stable-diffusion-webui-wd14-tagger

Labeling extension for Automatic1111's Web UI
540 stars 64 forks source link

Dependency(protobuf) conflict with other extensions #29

Closed coder168 closed 11 months ago

coder168 commented 11 months ago

The recent commit 64c7d0a (tensorflow 2.10 is last supported version on native windows), tensorflow 2.10 force its dependency protobuf downgrade from 3.20.3 to 3.19.6. However, this cause version conflict of protobuf with some of other extensions (eg, sd-webui-roop. This cause the errors during webui starts.

picobyte commented 11 months ago

I've removed the version from requirements.txt it is up to the user to decide what functionality they want. I cannot resolve the different requirements that people have. Sorry for the trouble, I was trying to fix #27 with that commit.

Also I see now that it might be possible to build later versions of tensorflow with gpu support from source on windows here

coder168 commented 11 months ago

Hi, I did test with latest version 4e581a2. It works fine, the mentioned errors has gone. Thanks!

BTW, I checked my webui venv, the currently installed protobuf version is 4.23.4.

picobyte commented 11 months ago

Thanks again for reporting and reporting back. protobuf was not in requirements, it was probably implied.