Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
03cf5b5
[Enhancement] Add VectorizeLoop function and update imports for compa…
LeiWang1999 Feb 3, 2025
73cb739
[CI][Test] Improve test cases for vectorization and fix typos in pars…
LeiWang1999 Feb 3, 2025
6b80e0e
lint fix
LeiWang1999 Feb 3, 2025
91d91a7
Fix incorrect module reference for VectorizeLoop transformation
LeiWang1999 Feb 3, 2025
e3b1856
Refactor vectorize_loop transformation by removing unused extent muta…
LeiWang1999 Feb 3, 2025
b6a1d81
[Enhancement] Add support for FP8 data types and global barriers in C…
LeiWang1999 Feb 4, 2025
6aef1f8
Fix formatting in CUDA FP8 header file for consistency
LeiWang1999 Feb 4, 2025
d0dbc46
Refactor CI workflow to use 'tilelang_ci' virtual environment and upd…
LeiWang1999 Feb 4, 2025
bbc3cd7
Update submodule 'tvm' to latest commit for improved functionality
LeiWang1999 Feb 4, 2025
22f41e0
Refactor execution backend references from 'dl_pack' to 'dlpack' for …
LeiWang1999 Feb 5, 2025
fffda93
Refactor CUDA code for improved readability; clean up formatting and …
LeiWang1999 Feb 5, 2025
22cc8aa
Refactor import statement in test_tilelang_kernel_dequantize_gemm.py …
LeiWang1999 Feb 5, 2025
b004e3c
Add CUDA requirements to FP8 test cases and update references for cla…
LeiWang1999 Feb 5, 2025
4b5bcb2
Add a blank line for improved readability in test_tilelang_kernel_fp8…
LeiWang1999 Feb 5, 2025
f8d9005
Fix data type in reference result calculation for consistency in test…
LeiWang1999 Feb 5, 2025
5b1c005
Add CUDA requirements and FP8 test cases for matmul and gemv simulations
LeiWang1999 Feb 6, 2025
226ac59
Remove debug print statements and use tilelang's testing assertion fo…
LeiWang1999 Feb 6, 2025
e03159f
Remove outdated comment regarding FP8 tests in test_tilelang_kernel_g…
LeiWang1999 Feb 6, 2025
fcb642e
Add BF16 support to matrix multiplication and introduce corresponding…
LeiWang1999 Feb 6, 2025
deeb142
Merge branch 'main' of https://github.com/tile-ai/tilelang into bitblas
LeiWang1999 Feb 6, 2025
d5b057b
Add a blank line for improved readability in BF16 GEMM test
LeiWang1999 Feb 6, 2025
4f99b7c
Update acknowledgements in README to include supervision by Zhi Yang …
LeiWang1999 Feb 6, 2025
d0396a6
enhance acknowledgement
LeiWang1999 Feb 6, 2025
487ee51
Replace tutorial on memory layout optimization with new tutorial on w…
LeiWang1999 Feb 7, 2025
bd5560b
Update subproject commit for TVM dependency
LeiWang1999 Feb 7, 2025
af73d99
Update subproject commit for TVM dependency
LeiWang1999 Feb 7, 2025
b09e2b5
Add int4_t type and functions for packing char values in CUDA common …
LeiWang1999 Feb 7, 2025
5b3aa98
Merge branch 'main' of https://github.com/tile-ai/tilelang into bitblas
LeiWang1999 Feb 8, 2025
fd8f421
Add plot_layout example and implement GetForwardVars method in layout…
LeiWang1999 Feb 9, 2025
bf1fdf7
Refactor code for improved readability by adjusting line breaks and f…
LeiWang1999 Feb 9, 2025
ca5f8a4
Fix formatting by removing unnecessary line break in layout.h
LeiWang1999 Feb 9, 2025
4e6bcc1
Merge branch 'bitblas' of https://github.com/tile-ai/tilelang into bi…
LeiWang1999 Feb 9, 2025
a7b9991
Refactor make_int4 function for improved readability by adjusting par…
LeiWang1999 Feb 9, 2025
d5731aa
Add legend to plot_layout for improved clarity of thread and local IDs
LeiWang1999 Feb 9, 2025
ebcc3af
Remove unnecessary dependencies from requirements files for cleaner s…
LeiWang1999 Feb 10, 2025
3b17437
Merge branch 'main' of https://github.com/tile-ai/tilelang into bitblas
LeiWang1999 Feb 10, 2025
7135aa3
Remove flash_mha.py and add .gitkeep to deepseek_mla directory
LeiWang1999 Feb 10, 2025
0e80985
Add build requirements and update installation scripts for improved s…
LeiWang1999 Feb 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added examples/deepseek_mla/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions install_cpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ echo "Starting installation script..."

# Step 1: Install Python requirements
echo "Installing Python requirements from requirements.txt..."
pip install -r requirements-build.txt
pip install -r requirements.txt
if [ $? -ne 0 ]; then
echo "Error: Failed to install Python requirements."
Expand Down
1 change: 1 addition & 0 deletions install_cuda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ echo "Starting installation script..."

# Step 1: Install Python requirements
echo "Installing Python requirements from requirements.txt..."
pip install -r requirements-build.txt
pip install -r requirements.txt
if [ $? -ne 0 ]; then
echo "Error: Failed to install Python requirements."
Expand Down
10 changes: 9 additions & 1 deletion install_rocm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,17 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

echo "Starting installation script..."

# install requirements
pip install -r requirements-build.txt
pip install -r requirements.txt

if [ $? -ne 0 ]; then
echo "Error: Failed to install Python requirements."
exit 1
else
echo "Python requirements installed successfully."
fi
# determine if root
USER_IS_ROOT=false
if [ "$EUID" -eq 0 ]; then
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ requires = [
"cmake>=3.26",
"packaging",
"setuptools>=61",
"setuptools-scm>=8.0",
"wheel",
]
build-backend = "setuptools.build_meta"
Expand Down
6 changes: 6 additions & 0 deletions requirements-build.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Should be mirrored in pyproject.toml
cmake>=3.26
packaging
setuptools>=61
torch
wheel
1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ cloudpickle
ml_dtypes
psutil
scipy
tornado
torch
thefuzz
tabulate
Expand Down
2 changes: 0 additions & 2 deletions requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ attrs
cloudpickle
ml_dtypes
psutil
scipy
tornado
torch
thefuzz
tabulate
Expand Down
15 changes: 0 additions & 15 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,11 @@
# build requirements
cmake>=3.26
# runtime requirements
cffi
cpplint
Cython
decorator
docutils
dtlib
numpy>=1.23.5
pytest>=6.2.4
pytest_xdist>=2.2.1
packaging>=21.0
PyYAML
tqdm>=4.62.3
typing_extensions>=4.10.0
requests
attrs
cloudpickle
ml_dtypes
psutil
scipy
tornado
torch
thefuzz
tabulate
12 changes: 12 additions & 0 deletions tilelang/tools/plot_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,18 @@ def plot_layout(layout: T.Layout,
plt.xticks([]) # Remove x-axis ticks
plt.yticks([]) # Remove y-axis ticks

legend_patches = [
patches.Patch(color='black', label="T: Thread ID"),
patches.Patch(color='black', label="L: Local ID")
]
ax.legend(
handles=legend_patches,
loc="upper right",
fontsize=font_size - 4,
frameon=False,
bbox_to_anchor=(1.0, 1.12),
ncols=2)

# Create the output directory if it does not exist
tmp_directory = pathlib.Path(save_directory)
if not os.path.exists(tmp_directory):
Expand Down
Loading