From 0f8fc9532b4faef2df69f16fdbcb7450a817cc65 Mon Sep 17 00:00:00 2001 From: Silver Date: Mon, 29 Jul 2024 15:20:20 +0200 Subject: [PATCH] fix faulty code --- modules/launch_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/launch_utils.py b/modules/launch_utils.py index 0ee5ff1dd..18f263073 100644 --- a/modules/launch_utils.py +++ b/modules/launch_utils.py @@ -337,7 +337,7 @@ def prepare_environment(): # See https://intel.github.io/intel-extension-for-pytorch/index.html#installation for details. torch_index_url = os.environ.get('TORCH_INDEX_URL', "https://pytorch-extension.intel.com/release-whl/stable/xpu/us/") torch_command = os.environ.get('TORCH_COMMAND', f"pip install torch==2.0.0a0 intel-extension-for-pytorch==2.0.110+gitba7f6c1 --extra-index-url {torch_index_url}") - requirements_file_temp = os.environment.get('REQS_FILE', "requirements_temp.txt") + requirements_file_temp = os.environ.get('REQS_FILE', "requirements_temp.txt") requirements_file = os.environ.get('REQS_FILE', "requirements_versions.txt") requirements_file_for_npu = os.environ.get('REQS_FILE_FOR_NPU', "requirements_npu.txt")