Skip to content

Commit

Permalink
Fix ipex triton
Browse files Browse the repository at this point in the history
  • Loading branch information
Disty0 committed Jan 25, 2025
1 parent 3f2c9c4 commit fad1edd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,8 @@ def install_ipex(torch_command):
if "linux" in sys.platform:
# default to US server. If The China server is needed, change .../release-whl/stable/xpu/us/ to .../release-whl/stable/xpu/cn/
torch_command = os.environ.get('TORCH_COMMAND', 'torch==2.5.1+cxx11.abi torchvision==0.20.1+cxx11.abi intel-extension-for-pytorch==2.5.10+xpu oneccl_bind_pt==2.5.0+xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/')
if os.environ.get('TRITON_COMMAND', None) is None:
os.environ.setdefault('TRITON_COMMAND', '--pre pytorch-triton-xpu==3.1.0+91b14bf559 --index-url https://download.pytorch.org/whl/nightly/xpu')
# os.environ.setdefault('TENSORFLOW_PACKAGE', 'tensorflow==2.15.1 intel-extension-for-tensorflow[xpu]==2.15.0.2')
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/test/xpu')
Expand Down

0 comments on commit fad1edd

Please sign in to comment.