mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-10 21:42:37 +08:00
Merge branch 'comfyanonymous:master' into feature/maskpainting
This commit is contained in:
commit
e6707a06f7
@ -34,6 +34,9 @@ if args.directml is not None:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
import torch
|
import torch
|
||||||
|
if directml_enabled:
|
||||||
|
total_vram = 4097 #TODO
|
||||||
|
else:
|
||||||
try:
|
try:
|
||||||
import intel_extension_for_pytorch as ipex
|
import intel_extension_for_pytorch as ipex
|
||||||
if torch.xpu.is_available():
|
if torch.xpu.is_available():
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user