Fix torch lightning before importing shared_init
This commit is contained in:
parent
2dc4e19bcd
commit
63a6f20031
|
@ -32,6 +32,9 @@ def imports():
|
|||
import sgm.modules.encoders.modules # noqa: F401
|
||||
startup_timer.record("import sgm")
|
||||
|
||||
from modules import initialize_util
|
||||
initialize_util.fix_pytorch_lightning()
|
||||
|
||||
from modules import shared_init
|
||||
shared_init.initialize()
|
||||
startup_timer.record("initialize shared")
|
||||
|
|
Loading…
Reference in New Issue