From 38b14bb635e6cd6e5d9b3124a6435d9a69ef0b4a Mon Sep 17 00:00:00 2001 From: pytorchbot Date: Mon, 30 Sep 2024 11:34:32 +0000 Subject: [PATCH] 2024-09-30 nightly release (3f0569939c4369bec943fc27d1c9d8dfbc828c26) --- .github/workflows/build_wheels_windows.yml | 1 + packaging/vc_env_helper.bat | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/build_wheels_windows.yml b/.github/workflows/build_wheels_windows.yml index 478885f2e2..82d03ea639 100644 --- a/.github/workflows/build_wheels_windows.yml +++ b/.github/workflows/build_wheels_windows.yml @@ -25,6 +25,7 @@ jobs: os: windows test-infra-repository: pytorch/test-infra test-infra-ref: main + with-xpu: enable build: needs: generate-matrix strategy: diff --git a/packaging/vc_env_helper.bat b/packaging/vc_env_helper.bat index 9410135677..f237b79667 100644 --- a/packaging/vc_env_helper.bat +++ b/packaging/vc_env_helper.bat @@ -20,6 +20,8 @@ if "%VSDEVCMD_ARGS%" == "" ( @echo on +if "%CU_VERSION%" == "xpu" call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat" + set DISTUTILS_USE_SDK=1 set args=%1