diff --git a/installer.py b/installer.py index 3a7a91e00..9c01b90e5 100644 --- a/installer.py +++ b/installer.py @@ -1047,7 +1047,7 @@ def check_ui(ver): if ver['branch'] == ver['ui']: log.debug(f'Branch synchronized: {ver["branch"]}') else: - log.debug(f'Branch synch failed: sdnext={ver["branch"]} ui={ver["ui"]}') + log.debug(f'Branch sync failed: sdnext={ver["branch"]} ui={ver["ui"]}') except Exception as e: log.debug(f'Branch switch: {e}') os.chdir(cwd) diff --git a/modules/devices.py b/modules/devices.py index 675fcac19..f3bdbaffe 100644 --- a/modules/devices.py +++ b/modules/devices.py @@ -175,7 +175,7 @@ def set_cuda_sync_mode(mode): return try: import ctypes - log.info(f'Set cuda synch: mode={mode}') + log.info(f'Set cuda sync: mode={mode}') torch.cuda.set_device(torch.device(get_optimal_device_name())) ctypes.CDLL('libcudart.so').cudaSetDeviceFlags({'auto': 0, 'spin': 1, 'yield': 2, 'block': 4}[mode]) except Exception: