mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-22 19:01:41 +02:00
Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta
This commit is contained in:
commit
83557d4b3c
@ -130,10 +130,13 @@ def include_cuda_versions(module_versions: tuple) -> tuple:
|
|||||||
|
|
||||||
def is_amd_on_linux():
|
def is_amd_on_linux():
|
||||||
if os_name == "Linux":
|
if os_name == "Linux":
|
||||||
|
try:
|
||||||
with open("/proc/bus/pci/devices", "r") as f:
|
with open("/proc/bus/pci/devices", "r") as f:
|
||||||
device_info = f.read()
|
device_info = f.read()
|
||||||
if "amdgpu" in device_info and "nvidia" not in device_info:
|
if "amdgpu" in device_info and "nvidia" not in device_info:
|
||||||
return True
|
return True
|
||||||
|
except:
|
||||||
|
return False
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
@ -165,6 +165,7 @@ def needs_to_force_full_precision(context):
|
|||||||
and (
|
and (
|
||||||
" 1660" in device_name
|
" 1660" in device_name
|
||||||
or " 1650" in device_name
|
or " 1650" in device_name
|
||||||
|
or " 1630" in device_name
|
||||||
or " t400" in device_name
|
or " t400" in device_name
|
||||||
or " t550" in device_name
|
or " t550" in device_name
|
||||||
or " t600" in device_name
|
or " t600" in device_name
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
img.addEventListener(
|
img.addEventListener(
|
||||||
"load",
|
"load",
|
||||||
function() {
|
function() {
|
||||||
img.closest(".imageTaskContainer").scrollIntoView()
|
img?.closest(".imageTaskContainer").scrollIntoView()
|
||||||
},
|
},
|
||||||
{ once: true }
|
{ once: true }
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user