From 9388cbb9dfd56eadaa00d6283f6e2ee77b3482b9 Mon Sep 17 00:00:00 2001 From: Grzegorz Lippe Date: Sat, 5 Oct 2024 07:33:16 +0200 Subject: [PATCH 1/2] Issue #6253: Change conda channel --- one_click.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/one_click.py b/one_click.py index f1c91f478c..ad9b74d390 100644 --- a/one_click.py +++ b/one_click.py @@ -313,7 +313,7 @@ def install_webui(): if selected_gpu == "INTEL": # Install oneAPI dependencies via conda print_big_message("Installing Intel oneAPI runtime libraries.") - run_cmd("conda install -y -c intel dpcpp-cpp-rt=2024.0 mkl-dpcpp=2024.0") + run_cmd("conda install -y -c https://software.repos.intel.com/python/conda/ -c conda-forge dpcpp-cpp-rt=2024.0 mkl-dpcpp=2024.0") # Install libuv required by Intel-patched torch run_cmd("conda install -y libuv") From 6ee87311835a0ad23df8af1ce2dae1bc8ab7626a Mon Sep 17 00:00:00 2001 From: Grzegorz Lippe Date: Sat, 5 Oct 2024 07:41:18 +0200 Subject: [PATCH 2/2] Fix pycodestyle warning --- one_click.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/one_click.py b/one_click.py index ad9b74d390..8fc1edf0cf 100644 --- a/one_click.py +++ b/one_click.py @@ -329,7 +329,7 @@ def install_extensions_requirements(): print_big_message("Installing extensions requirements.\nSome of these may fail on Windows.\nDon\'t worry if you see error messages, as they will not affect the main program.") extensions = get_extensions_names() for i, extension in enumerate(extensions): - print(f"\n\n--- [{i+1}/{len(extensions)}]: {extension}\n\n") + print(f"\n\n--- [{i + 1}/{len(extensions)}]: {extension}\n\n") extension_req_path = os.path.join("extensions", extension, "requirements.txt") run_cmd(f"python -m pip install -r {extension_req_path} --upgrade", assert_success=False, environment=True)