update dependencies to get deterministic image generation

This commit is contained in:
Lincoln Stein
2023-05-06 23:09:24 -04:00
parent 2b213da967
commit 8f80ba9520
2 changed files with 5 additions and 5 deletions

View File

@ -247,8 +247,8 @@ class InvokeAiInstance:
pip[ pip[
"install", "install",
"--require-virtualenv", "--require-virtualenv",
"torch", "torch~=2.0.0",
"torchvision", "torchvision>=0.14.1",
"--force-reinstall", "--force-reinstall",
"--find-links" if find_links is not None else None, "--find-links" if find_links is not None else None,
find_links, find_links,

View File

@ -40,7 +40,7 @@ dependencies = [
"clip_anytorch", # replacing "clip @ https://github.com/openai/CLIP/archive/eaa22acb90a5876642d0507623e859909230a52d.zip", "clip_anytorch", # replacing "clip @ https://github.com/openai/CLIP/archive/eaa22acb90a5876642d0507623e859909230a52d.zip",
"compel==1.0.5", "compel==1.0.5",
"datasets", "datasets",
"diffusers[torch]==0.15.1", "diffusers[torch]~=0.16.1",
"dnspython==2.2.1", "dnspython==2.2.1",
"einops", "einops",
"eventlet", "eventlet",
@ -72,7 +72,7 @@ dependencies = [
"scikit-image>=0.19", "scikit-image>=0.19",
"send2trash", "send2trash",
"test-tube>=0.7.5", "test-tube>=0.7.5",
"torch>=1.13.1", "torch~=2.0.0",
"torchvision>=0.14.1", "torchvision>=0.14.1",
"torchmetrics", "torchmetrics",
"transformers~=4.26", "transformers~=4.26",
@ -92,7 +92,7 @@ dependencies = [
] ]
"test" = ["pytest>6.0.0", "pytest-cov"] "test" = ["pytest>6.0.0", "pytest-cov"]
"xformers" = [ "xformers" = [
"xformers~=0.0.16; sys_platform!='darwin'", "xformers~=0.0.19; sys_platform!='darwin'",
"triton; sys_platform=='linux'", "triton; sys_platform=='linux'",
] ]