diff --git a/installer.py b/installer.py index a209643ae..913da981e 100644 --- a/installer.py +++ b/installer.py @@ -242,7 +242,7 @@ def pip(arg: str, ignore: bool = False, quiet: bool = False, forcePip = False): uvMode = "[uv] " if uv else "" arg = arg.replace('>=', '==') if not quiet and '-r ' not in arg: - log.info(f'{uvMode}Install: package="{arg.replace("install", "").replace("--upgrade", "").replace("--no-deps", "").replace("--force", "").replace(" ", " ").strip()}"') + log.info(f'Install: package="{arg.replace("install", "").replace("--upgrade", "").replace("--no-deps", "").replace("--force", "").replace(" ", " ").strip()}" mode={"uv" if uv else "pip"}') env_args = os.environ.get("PIP_EXTRA_ARGS", "") log.debug(f'Running: {pipCmd}="{pip_log}{arg} {env_args}"') result = subprocess.run(f'"{sys.executable}" -m {pipCmd} {pip_log}{arg} {env_args}', shell=True, check=False, env=os.environ, stdout=subprocess.PIPE, stderr=subprocess.PIPE) diff --git a/launch.py b/launch.py index c7cc71d09..1db8a81f6 100755 --- a/launch.py +++ b/launch.py @@ -206,7 +206,6 @@ def main(): installer.set_environment() if args.uv: installer.install("uv", "uv") - installer.log.info('Using "uv pip" instead of "pip" for packages installation') installer.check_torch() installer.check_onnx() installer.check_diffusers()