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
No known key found for this signature in database
GPG Key ID: 32C4F7569B40B84B
2 changed files with 4 additions and 6 deletions

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):

View File

@ -1,8 +1,3 @@
from modules.patch import patch_all
patch_all()
import os
import einops
import torch