update diffusers to 0.18.0 on all platforms

This commit is contained in:
Victor Hall 2023-07-07 00:58:05 -04:00
parent cf772de298
commit 7686bcd66e
4 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
diffusers[torch]>=0.17.1 diffusers[torch]>=0.18.0
ninja ninja
numpy numpy
omegaconf==2.2.3 omegaconf==2.2.3

View File

@ -1,7 +1,7 @@
torch==2.0.1 torch==2.0.1
torchvision==0.15.2 torchvision==0.15.2
transformers==4.29.2 transformers==4.29.2
diffusers[torch]==0.17.1 diffusers[torch]==0.18.0
pynvml==11.4.1 pynvml==11.4.1
bitsandbytes==0.38.1 bitsandbytes==0.38.1
ftfy==6.1.1 ftfy==6.1.1

View File

@ -161,4 +161,5 @@ if __name__ == "__main__":
# only save the controlnet model # only save the controlnet model
pipe.controlnet.save_pretrained(args.dump_path, safe_serialization=args.to_safetensors) pipe.controlnet.save_pretrained(args.dump_path, safe_serialization=args.to_safetensors)
else: else:
pipe.save_pretrained(args.dump_path, safe_serialization=args.to_safetensors) pipe.save_pretrained(args.dump_path, safe_serialization=args.to_safetensors)
print(f"Saved diffusers copy of model to {args.dump_path}.")

View File

@ -5,7 +5,7 @@ cd .
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 --extra-index-url "https://download.pytorch.org/whl/cu118" pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 --extra-index-url "https://download.pytorch.org/whl/cu118"
pip install -U transformers==4.29.2 pip install -U transformers==4.29.2
pip install -U diffusers[torch]==0.14.0 pip install -U diffusers[torch]==0.18.0
pip install pynvml==11.4.1 pip install pynvml==11.4.1
pip install -U https://github.com/victorchall/everydream-whls/raw/main/bitsandbytes-0.38.1-py2.py3-none-any.whl pip install -U https://github.com/victorchall/everydream-whls/raw/main/bitsandbytes-0.38.1-py2.py3-none-any.whl
pip install ftfy==6.1.1 pip install ftfy==6.1.1