You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _sources/get_started/Installation.md.txt
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -93,14 +93,16 @@ Some useful CMake options you can toggle while configuring:
93
93
94
94
(using-existing-tvm)=
95
95
96
-
### Building with Existing TVM Installation
96
+
### Building with Customized TVM Path
97
97
98
-
If you already have a compatible TVM installation, use the `TVM_ROOT` environment variable to specify the location of your existing TVM repository when building tilelang:
98
+
If you already have a TVM codebase, use the `TVM_ROOT` environment variable to specify the location of your existing TVM repository when building tilelang:
99
99
100
100
```bash
101
101
TVM_ROOT=<your-tvm-repo> pip install . -v
102
102
```
103
103
104
+
> **Note**: This will still rebuild the TVM-related libraries (stored in `TL_LIBS`). And this method often leads to some path issues. Check `env.py` to see some environment variables which are not set properly.
105
+
104
106
(install-using-docker)=
105
107
106
108
## Install Using Docker
@@ -197,8 +199,7 @@ Set `NO_TOOLCHAIN_VERSION=ON` to disable this.
197
199
198
200
### Run-time environment variables
199
201
200
-
<!-- TODO: tvm -->
201
-
TODO
202
+
Please refer to the `env.py` file for a full list of supported run-time environment variables.
<spanid="using-existing-tvm"></span><h3>Building with Existing TVM Installation<aclass="headerlink" href="#building-with-existing-tvm-installation" title="Link to this heading">¶</a></h3>
580
-
<p>If you already have a compatible TVM installation, use the <codeclass="docutils literal notranslate"><spanclass="pre">TVM_ROOT</span></code> environment variable to specify the location of your existing TVM repository when building tilelang:</p>
578
+
<sectionid="building-with-customized-tvm-path">
579
+
<spanid="using-existing-tvm"></span><h3>Building with Customized TVM Path<aclass="headerlink" href="#building-with-customized-tvm-path" title="Link to this heading">¶</a></h3>
580
+
<p>If you already have a TVM codebase, use the <codeclass="docutils literal notranslate"><spanclass="pre">TVM_ROOT</span></code> environment variable to specify the location of your existing TVM repository when building tilelang:</p>
<div><p><strong>Note</strong>: This will still rebuild the TVM-related libraries (stored in <codeclass="docutils literal notranslate"><spanclass="pre">TL_LIBS</span></code>). And this method often leads to some path issues. Check <codeclass="docutils literal notranslate"><spanclass="pre">env.py</span></code> to see some environment variables which are not set properly.</p>
<h3>Run-time environment variables<aclass="headerlink" href="#run-time-environment-variables" title="Link to this heading">¶</a></h3>
677
-
<!-- TODO: tvm -->
678
-
<p>TODO</p>
680
+
<p>Please refer to the <codeclass="docutils literal notranslate"><spanclass="pre">env.py</span></code> file for a full list of supported run-time environment variables.</p>
679
681
</section>
680
682
</section>
681
683
<sectionid="other-tips">
@@ -775,7 +777,7 @@ <h3>Repairing Wheels<a class="headerlink" href="#repairing-wheels" title="Link t
775
777
<li><aclass="reference internal" href="#installing-with-pip">Installing with pip</a></li>
776
778
<li><aclass="reference internal" href="#building-from-source">Building from Source</a><ul>
777
779
<li><aclass="reference internal" href="#working-from-source-via-pythonpath">Working from Source via <codeclass="docutils literal notranslate"><spanclass="pre">PYTHONPATH</span></code></a></li>
778
-
<li><aclass="reference internal" href="#building-with-existing-tvm-installation">Building with Existing TVM Installation</a></li>
780
+
<li><aclass="reference internal" href="#building-with-customized-tvm-path">Building with Customized TVM Path</a></li>
779
781
</ul>
780
782
</li>
781
783
<li><aclass="reference internal" href="#install-using-docker">Install Using Docker</a></li>
0 commit comments