-
Notifications
You must be signed in to change notification settings - Fork 654
Open
Labels
module: build/installIssues related to the cmake and buck2 builds, and to installing ExecuTorchIssues related to the cmake and buck2 builds, and to installing ExecuTorch
Milestone
Description
Summary
This is the top-level tracking task for official Windows support. Native Windows support is in experimental status, meaning that the build interface, feature set, and timeline are subject to change.
Features
Support is planned for both the ahead of time (Python) and runtime on native Windows. The following are targeted for official support:
- Python Packages: Install the ExecuTorch python package through pip or install from source using install_executorch.bat.
- Runtime Build: Compile the C++ runtime for x86 and x84-64 using Clang-CL.
- Python Runtime Bindings: Run models from Python.
- Kernel Libraries: Build the portable, optimized, and quantized operator libraries.
- XNNPACK Backend: Build the XNNPACK (CPU) backend.
Disclaimers
- Building using MSVC is not supported. You'll need Clang-CL. See Clang/LLVM support in Visual Studio for installation instructions.
- Backends other than XNNPACK aren't officially supported on Windows (yet).
- Cross-compilation for Android from a Windows host isn't officially supported.
If these constraints are limiting for your use case, please file an issue or reach out on Discord. This workstream is driven by community requests and we will be happy to consider feature and pull requests.
Task List
- Enable core runtime and operator library build on Windows.
- Enable the XNNPACK backend on WIndows.
- Set up Windows CMake presets.
- Support Windows in Tokenizers.
- Run unit tests in CI on Windows.
- Run example model tests in CI on Windows.
- Build Windows wheels.
- Update top-level and build from source documentation for Windows.
In addition to the above, there have been a number of community contributions that have laid the groundwork. The following list is not exhaustive, but covers a large chunk of the Windows contributions:
ykhrustalev
Metadata
Metadata
Assignees
Labels
module: build/installIssues related to the cmake and buck2 builds, and to installing ExecuTorchIssues related to the cmake and buck2 builds, and to installing ExecuTorch