From 990ad1c0b2bff4c84ed80ef311ac4efc2ed8980f Mon Sep 17 00:00:00 2001 From: Disty0 Date: Fri, 25 Apr 2025 14:39:20 +0300 Subject: [PATCH] Update IPEX to PyTorch 2.7 --- installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer.py b/installer.py index 227536342..038acb2c7 100644 --- a/installer.py +++ b/installer.py @@ -731,7 +731,7 @@ def install_ipex(torch_command): if args.use_nightly: torch_command = os.environ.get('TORCH_COMMAND', '--upgrade --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/xpu') else: - torch_command = os.environ.get('TORCH_COMMAND', 'torch==2.6.0+xpu torchvision==0.21.0+xpu --index-url https://download.pytorch.org/whl/xpu') + torch_command = os.environ.get('TORCH_COMMAND', 'torch==2.7.0+xpu torchvision==0.22.0+xpu --index-url https://download.pytorch.org/whl/xpu') ts('ipex', t_start) return torch_command