gemini-code-assist[bot] commented on code in PR #19883:
URL: https://github.com/apache/tvm/pull/19883#discussion_r3471426075


##########
docs/tirx/install.rst:
##########
@@ -39,7 +39,7 @@ Install the Apache TVM wheel (the TIRx compiler is the 
``tvm.tirx`` module):
 
 .. code-block:: bash
 
-   pip install apache-tvm==0.25.0
+   pip install apache-tvm

Review Comment:
   ![high](https://www.gstatic.com/codereviewagent/high-priority.svg)
   
   The standard `apache-tvm` package hosted on PyPI is CPU-only and does not 
include CUDA support. Since TIRx is a GPU compiler targeting NVIDIA GPUs (as 
specified in the Requirements section), installing via `pip install apache-tvm` 
from PyPI will not work for compiling or running GPU kernels.
   
   To use TIRx with GPU support, users should install the CUDA-enabled wheels 
from TLCPack or build from source. Please update the command to point to the 
TLCPack wheels or add a clear warning about the CPU-only limitation of the PyPI 
package.
   
   ```suggestion
      pip install apache-tvm -f https://tlcpack.ai/wheels
   ```



##########
docs/install/pypi.rst:
##########
@@ -0,0 +1,36 @@
+..  Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+..    http://www.apache.org/licenses/LICENSE-2.0
+
+..  Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+.. _install-from-pypi:
+
+Install from PyPI
+=================
+
+For most Python users, the quickest way to get started is to install the Apache
+TVM wheel from PyPI:
+
+.. code-block:: bash
+
+   pip install apache-tvm
+
+This installs the Python package, including modules such as ``tvm.tirx``, and
+is suitable for trying tutorials that do not require a custom build.

Review Comment:
   ![medium](https://www.gstatic.com/codereviewagent/medium-priority.svg)
   
   The `apache-tvm` package on PyPI is CPU-only. Since modules like `tvm.tirx` 
are designed for GPU/CUDA compilation and execution, it is important to clarify 
to users that the PyPI package does not support GPU acceleration out-of-the-box.
   
   Consider adding a note that for GPU/CUDA support, users should refer to the 
source installation or use TLCPack wheels.
   
   ```suggestion
   This installs the Python package, including modules such as ``tvm.tirx``, and
   is suitable for trying tutorials that do not require a custom build. Note 
that
   the PyPI package is CPU-only; for GPU/CUDA support, please build from source 
or
   use the TLCPack wheels.
   ```



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