mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-20 19:41:07 -08:00
linter
This commit is contained in:
parent
65075896f2
commit
5c5594ff16
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ def fix_pytorch_lightning():
|
|||
if 'pytorch_lightning.utilities.distributed' not in sys.modules:
|
||||
import pytorch_lightning
|
||||
# Lets the user know that the library was not found and then will set it to pytorch_lightning.utilities.rank_zero
|
||||
print(f"Pytorch_lightning.distributed not found, attempting pytorch_lightning.rank_zero")
|
||||
print("Pytorch_lightning.distributed not found, attempting pytorch_lightning.rank_zero")
|
||||
sys.modules["pytorch_lightning.utilities.distributed"] = pytorch_lightning.utilities.rank_zero
|
||||
|
||||
def fix_asyncio_event_loop_policy():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue