fix: resolve circular import, patch_all now in async_worker
This commit is contained in:
parent
177075ff7b
commit
21f4767c65
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -1,8 +1,3 @@
|
|||
from modules.patch import patch_all
|
||||
|
||||
patch_all()
|
||||
|
||||
|
||||
import os
|
||||
import einops
|
||||
import torch
|
||||
|
|
|
|||
Loading…
Reference in New Issue