adding intel image build fixes.
Some checks failed
Build and Push Images / build-nvidia (push) Failing after 6m29s
Build and Push Images / build-strixhalo (push) Failing after 5m27s
Build and Push Images / build-intel (push) Failing after 4m6s
Build and Push Images / build-rdna2 (push) Failing after 2h19m57s
Build and Push Images / Release (push) Has been skipped
Build and Push Images / Notify (push) Successful in 2s
Some checks failed
Build and Push Images / build-nvidia (push) Failing after 6m29s
Build and Push Images / build-strixhalo (push) Failing after 5m27s
Build and Push Images / build-intel (push) Failing after 4m6s
Build and Push Images / build-rdna2 (push) Failing after 2h19m57s
Build and Push Images / Release (push) Has been skipped
Build and Push Images / Notify (push) Successful in 2s
This commit is contained in:
@@ -58,8 +58,10 @@ USER ray
|
||||
ENV PATH="/home/ray/.local/bin:${PATH}"
|
||||
|
||||
# Install Intel Extension for PyTorch (IPEX) with XPU support (uv is 10-100x faster)
|
||||
# Use unsafe-best-match to get torch from PyPI and IPEX from Intel index
|
||||
RUN --mount=type=cache,target=/home/ray/.cache/uv,uid=1000,gid=1000 \
|
||||
uv pip install --system \
|
||||
--index-strategy unsafe-best-match \
|
||||
torch==2.5.1 \
|
||||
intel-extension-for-pytorch==2.5.10+xpu \
|
||||
--extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/
|
||||
|
||||
Reference in New Issue
Block a user