From 667281d9f1d6e0c9ac975df4abce65c725c7a0ee Mon Sep 17 00:00:00 2001 From: Anup Renikunta Date: Wed, 17 Dec 2025 10:08:07 -0700 Subject: [PATCH 1/2] Add dpctl dependency --- pyproject.toml | 3 ++- python/setup_cutlass.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 433433e892..5fef563688 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,8 @@ dependencies = [ "numpy", "pydot", "scipy", - "treelib" + "treelib", + "dpctl" ] [project.urls] diff --git a/python/setup_cutlass.py b/python/setup_cutlass.py index 0b22d31b81..05718cd7d2 100644 --- a/python/setup_cutlass.py +++ b/python/setup_cutlass.py @@ -69,6 +69,7 @@ 'pybind11', 'scikit-build', 'treelib', - 'pydot' + 'pydot', + 'dpctl' ] ) From 9d479e1e638416f24b5d716c999b1574a67df16c Mon Sep 17 00:00:00 2001 From: Anup Renikunta Date: Wed, 17 Dec 2025 10:08:17 -0700 Subject: [PATCH 2/2] Update sycl_python_test.yml --- .github/workflows/sycl_python_test.yml | 28 ++++---------------------- 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/.github/workflows/sycl_python_test.yml b/.github/workflows/sycl_python_test.yml index 7fe091f763..015089fbcf 100644 --- a/.github/workflows/sycl_python_test.yml +++ b/.github/workflows/sycl_python_test.yml @@ -54,27 +54,19 @@ jobs: env >> $GITHUB_ENV sycl-ls - - name: Install DPCTL - id: install_dpctl - uses: ./.github/actions/install-dpctl - with: - DPCTL_URL: https://github.com/IntelPython/dpctl.git - DPCTL_BRANCH: master - DPCTL_PATH: ~/dpctl - VENV_PATH: ~/.venv - - name: Install Torch XPU + - name: Install Sycl-TLA & Torch XPU shell: bash run: | source ~/.venv/bin/activate - pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/test/xpu - pip uninstall --yes intel-sycl-rt intel-cmplr-lib-ur umf + pip install build setuptools + python -m build + pip install torch torchvision torchaudio dist/*.whl --extra-index-url https://download.pytorch.org/whl/test/xpu - name: Run Python Interface GEMM Tests shell: bash run: | source ~/.venv/bin/activate - pip install -e . export CUTLASS_USE_SYCL=1 export SYCL_UR_TRACE=2 export ONEAPI_DEVICE_SELECTOR=level_zero:gpu @@ -95,15 +87,3 @@ jobs: rm -rf build/ || true echo "DPC++ cleanup completed" - - name: Cleanup DPCTL - if: always() - shell: bash - run: | - echo "Cleaning up DPCTL installation..." - DPCTL_PATH="${{ inputs.DPCTL_PATH || '~/dpctl' }}" - DPCTL_PATH=$(eval echo $DPCTL_PATH) # Expand ~ to home directory - if [ -d "$DPCTL_PATH" ]; then - echo "Removing DPCTL directory: $DPCTL_PATH" - sudo rm -rf "$DPCTL_PATH" - fi - echo "DPCTL cleanup completed"