mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-28 19:23:14 +01:00
sdkit 1.0.76 - use 256 as the tile size for realesrgan, instead of 128. slightly more VRAM, but faster upscaling
This commit is contained in:
parent
fcbcb7d471
commit
6287bcd00a
@ -18,7 +18,7 @@ os_name = platform.system()
|
|||||||
modules_to_check = {
|
modules_to_check = {
|
||||||
"torch": ("1.11.0", "1.13.1", "2.0.0"),
|
"torch": ("1.11.0", "1.13.1", "2.0.0"),
|
||||||
"torchvision": ("0.12.0", "0.14.1", "0.15.1"),
|
"torchvision": ("0.12.0", "0.14.1", "0.15.1"),
|
||||||
"sdkit": "1.0.75",
|
"sdkit": "1.0.76",
|
||||||
"stable-diffusion-sdkit": "2.1.4",
|
"stable-diffusion-sdkit": "2.1.4",
|
||||||
"rich": "12.6.0",
|
"rich": "12.6.0",
|
||||||
"uvicorn": "0.19.0",
|
"uvicorn": "0.19.0",
|
||||||
@ -34,6 +34,9 @@ def version(module_name: str) -> str:
|
|||||||
|
|
||||||
|
|
||||||
def install(module_name: str, module_version: str):
|
def install(module_name: str, module_version: str):
|
||||||
|
if module_name == "xformers" and os_name == "Darwin": # xformers is not available on mac
|
||||||
|
return
|
||||||
|
|
||||||
index_url = None
|
index_url = None
|
||||||
if module_name in ("torch", "torchvision"):
|
if module_name in ("torch", "torchvision"):
|
||||||
module_version, index_url = apply_torch_install_overrides(module_version)
|
module_version, index_url = apply_torch_install_overrides(module_version)
|
||||||
|
Loading…
Reference in New Issue
Block a user