diff --git a/launch.py b/launch.py index d0cd53467..ac3afd4d8 100644 --- a/launch.py +++ b/launch.py @@ -123,7 +123,6 @@ def start_server(immediate=True, server=None): server = server.api_only() else: server = server.webui() - installer.log.info(f'Memory {get_memory_stats()}') return server diff --git a/modules/devices.py b/modules/devices.py index 3a504a4cf..843ed4dd8 100644 --- a/modules/devices.py +++ b/modules/devices.py @@ -155,7 +155,7 @@ elif args.use_directml: backend = 'directml' elif torch.cuda.is_available() and torch.version.cuda: backend = 'cuda' -elif torch.cuda.is_available() and torch.version.rocm: +elif torch.cuda.is_available() and torch.version.hip: backend = 'rocm' elif sys.platform == 'darwin': backend = 'mps'