Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
tilelang
Commits
759c2e33
Unverified
Commit
759c2e33
authored
Oct 19, 2025
by
Lei Wang
Committed by
GitHub
Oct 19, 2025
Browse files
[DOC] Add document for develop with PYTHONPATH (#1062)
parent
bf2de5b6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
docs/get_started/Installation.md
docs/get_started/Installation.md
+20
-0
No files found.
docs/get_started/Installation.md
View file @
759c2e33
...
...
@@ -65,6 +65,26 @@ If you want to install **tile-lang** in development mode, you can run the follow
pip
install
-e
.
-v
```
If you prefer to work directly from the source tree via
`PYTHONPATH`
, make sure the native extension is built first:
```
bash
mkdir
-p
build
cd
build
cmake ..
-DUSE_CUDA
=
ON
make
-j
```
Then add the repository root to
`PYTHONPATH`
before importing
`tilelang`
, for example:
```
bash
export
PYTHONPATH
=
/path/to/tilelang:
$PYTHONPATH
python
-c
"import tilelang; print(tilelang.__version__)"
```
Some useful CMake options you can toggle while configuring:
-
`-DUSE_CUDA=ON|OFF`
builds against NVIDIA CUDA (default ON when CUDA headers are found).
-
`-DUSE_ROCM=ON`
selects ROCm support when building on AMD GPUs.
-
`-DNO_VERSION_LABEL=ON`
disables the backend/git suffix in
`tilelang.__version__`
.
We currently provide four methods to install
**tile-lang**
:
1.
[
Install Using Docker
](
#install-method-1
)
(
Recommended
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment