stable-diffusion
stable-diffusion copied to clipboard
There is a version conflict between pillow and torchvision
When I was trying to make a docker image for this stable diffusion I found that there was an error saying that they cannot find 'PILLOW_VERSION' in line 5 of the file /root/miniconda3/envs/ldm/lib/python3.8/site-packages/torchvision/transforms/functional.py. Then I began to search and found that PILLOW_VERSION has been removed., so I tried to use sed -i '5s/PILLOW_VERSION/__version__ as PILLOW_VERSION/' /root/miniconda3/envs/ldm/lib/python3.8/site-packages/torchvision/transforms/functional.py and it solved my problem, but could you please fix that dependency problem so that it could be much easier for others to build a runnable docker image when using stable diffusion.