[XPU] Fix decode graph runner is_current_stream_capturing on non-CUDA devices (#35050)

This commit is contained in:
ashwini rathi
2026-08-18 14:28:13 +08:00
committed by GitHub
parent 27596abdc0
commit 5eb117f6ca
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -74,6 +74,7 @@ RUN pip install --no-cache-dir torch==2.13.0+xpu torchvision==0.28.0+xpu torchau
RUN echo "Cloning ${SG_LANG_BRANCH} from ${SG_LANG_REPO}" && \
git clone --branch ${SG_LANG_BRANCH} --single-branch ${SG_LANG_REPO} sglang && \
git -C sglang fetch --tags --force origin && \
cd sglang && cd python && \
cp pyproject_xpu.toml pyproject.toml && \
pip install --no-cache-dir ".[dev,diffusion]" --extra-index-url https://download.pytorch.org/whl/xpu && \