AshwiniBokka commented on code in PR #18705:
URL: https://github.com/apache/tvm/pull/18705#discussion_r2754095700
##########
docs/install/from_source.rst:
##########
@@ -230,6 +230,71 @@ The following commands can be used to install the extra
Python dependencies:
.. code:: bash
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
+..................
+For CUDA support:
+
+.. code-block:: batch
+
+ set CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8
+ set PATH=%CUDA_PATH%\bin;%PATH%
+ python cmake/config.cmake --use-cuda=ON
Review Comment:
done! thank you
--
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]