fix: resolve circular import, patch_all now in async_worker

This commit is contained in:
Manuel Schmid
2024-01-22 21:14:54 +01:00
parent 177075ff7b
commit 21f4767c65
2 changed files with 4 additions and 6 deletions
+4 -1
View File
@@ -1,6 +1,9 @@
import threading
import os
from modules.patch import PatchSettings, patch_settings
from modules.patch import PatchSettings, patch_settings, patch_all
patch_all()
class AsyncTask:
def __init__(self, args):
-5
View File
@@ -1,8 +1,3 @@
from modules.patch import patch_all
patch_all()
import os
import einops
import torch