fix faulty code

This commit is contained in:
Silver 2024-07-29 15:20:20 +02:00
parent c681ce19dc
commit 0f8fc9532b

View File

@ -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")