mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Update dependencies to get deterministic image generation behavior (main branch) (#3354)
This PR updates to `xformers ~= 0.0.19` and `torch ~= 2.0.0`, which together seem to solve the non-deterministic image generation issue that was previously seen with earlier versions of `xformers`.
This commit is contained in:
commit
beeaa05658
@ -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,
|
||||||
|
@ -38,9 +38,9 @@ dependencies = [
|
|||||||
"albumentations",
|
"albumentations",
|
||||||
"click",
|
"click",
|
||||||
"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.1.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'",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user