Skip to content

Windows build cmd

Yutao Xu edited this page May 29, 2025 · 5 revisions
set USE_KINETO=OFF
set USE_XPU=1
set USE_CUDA=0
set CMAKE_SHARED_LINKER_FLAGS=/FORCE:MULTIPLE
set CMAKE_MODULE_LINKER_FLAGS=/FORCE:MULTIPLE
set CMAKE_EXE_LINKER_FLAGS=/FORCE:MULTIPLE

https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html?packages=dl-essentials&dl-essentials-os=linux&dl-lin=offline

Nightly wheel install

pip install --pre torch --index-url=https://download.pytorch.org/whl/nightly/xpu
Clone this wiki locally