mshr-h commented on code in PR #18705:
URL: https://github.com/apache/tvm/pull/18705#discussion_r2758858890


##########
docs/install/from_source.rst:
##########
@@ -232,6 +232,71 @@ The following commands can be used to install the extra 
Python dependencies:
     pip3 install tornado psutil 'xgboost>=1.1.0' cloudpickle
 
 
+.. _windows-build-notes:
+
+Windows-Specific Build Notes
+----------------------------
+
+If you're building TVM on Windows, note these platform-specific considerations:
+
+File Encoding
+.............
+- Ensure Python files are saved as **UTF-8 without BOM** (Byte Order Mark)
+- BOM characters cause ``SyntaxError: invalid non-printable character U+FEFF``
+- In VS Code: Bottom-right encoding → "Save with Encoding" → "UTF-8"
+
+Path Conventions
+................
+- Use forward slashes (``/``) in Python/CMake paths, not Windows backslashes
+- Example: ``python cmake/config.cmake`` not ``python cmake\\config.cmake``
+
+Common Windows Build Issues
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+CUDA Configuration

Review Comment:
   I feel this is a good example for CUDA build on Windows. Prefered to be in 
`Building on Windows` section below.



-- 
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]

Reply via email to