mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-27 14:50:20 +08:00
Update zluda.py
This commit is contained in:
parent
70c00b74d2
commit
6c34d0a58a
@ -16,6 +16,16 @@ os.environ['DISABLE_ADDMM_CUDA_LT'] = '1'
|
|||||||
|
|
||||||
import torch
|
import torch
|
||||||
|
|
||||||
|
# Check and install comfyui-frontend-package if not installed
|
||||||
|
try:
|
||||||
|
import comfyui_frontend_package
|
||||||
|
except ImportError:
|
||||||
|
import subprocess
|
||||||
|
import sys
|
||||||
|
subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'comfyui-frontend-package==1.10.17', '--quiet'])
|
||||||
|
print(" ")
|
||||||
|
print("Comfyui Frontend Package missing, it is installed. (one time only) ")
|
||||||
|
|
||||||
#audio patch
|
#audio patch
|
||||||
import torch._dynamo
|
import torch._dynamo
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user