AshwiniBokka opened a new pull request, #18705: URL: https://github.com/apache/tvm/pull/18705
## Summary Adds Windows-specific build notes to the TVM installation documentation (`docs/install/from_source.rst`). ## Changes - Added "Windows-Specific Build Notes" section after "Step 5. Extra Python Dependencies" - Covers common Windows issues and solutions based on contributor experience ## Content Includes: 1. **File Encoding**: UTF-8 without BOM (prevents `SyntaxError: invalid non-printable character U+FEFF` in CI) 2. **Path Conventions**: Forward vs backslash usage in Python/CMake 3. **CUDA Configuration**: Environment setup for CUDA builds on Windows 4. **CMake & Compiler**: Visual Studio generator setup and Python path configuration 5. **Common Issues**: Solutions for frequent Windows build problems 6. **Development Tips**: Git configuration for line endings, VS Code settings 7. **WSL2 Alternative**: Linux-like environment option for Windows users ## Motivation As a Windows contributor to TVM, I encountered several platform-specific issues that could be prevented with better documentation. These notes will help future Windows users: - Avoid BOM character errors that cause CI failures - Configure paths correctly for TVM's build system - Set up CUDA development environment on Windows - Troubleshoot common Windows-specific build failures ## Testing - Verified RST syntax and formatting - Checked logical placement within document flow - Content based on actual Windows development experience with TVM ## Related - Previous contribution: #18697 (improved tutorial error handling) - Addresses undocumented Windows-specific considerations in build process -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
