Skip to content

Commit 4c5ad1b

Browse files
mickr777psychedelicious
authored andcommitted
Ruff Fix
1 parent d80cc96 commit 4c5ad1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invokeai/app/run_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ def run_app() -> None:
3232
configure_torch_cuda_allocator(app_config.pytorch_cuda_alloc_conf, logger)
3333

3434
# This import must happen after configure_torch_cuda_allocator() is called, because the module imports torch.
35-
from invokeai.backend.util.devices import TorchDevice
3635
from invokeai.app.invocations.baseinvocation import InvocationRegistry
3736
from invokeai.app.invocations.load_custom_nodes import load_custom_nodes
37+
from invokeai.backend.util.devices import TorchDevice
3838

3939
torch_device_name = TorchDevice.get_torch_device_name()
4040
logger.info(f"Using torch device: {torch_device_name}")

0 commit comments

Comments
 (0)