Commit 2411fa28 authored by Lei Wang's avatar Lei Wang Committed by GitHub
Browse files

[Dev] Remove unnecessary python dependencies (#69)

* [Enhancement] Add VectorizeLoop function and update imports for compatibility

* [CI][Test] Improve test cases for vectorization and fix typos in parser comments

* lint fix

* Fix incorrect module reference for VectorizeLoop transformation

* Refactor vectorize_loop transformation by removing unused extent mutation logic

* [Enhancement] Add support for FP8 data types and global barriers in CUDA codegen

* Fix formatting in CUDA FP8 header file for consistency

* Refactor CI workflow to use 'tilelang_ci' virtual environment and update CUDA type printing for better clarity

* Update submodule 'tvm' to latest commit for improved functionality

* Refactor execution backend references from 'dl_pack' to 'dlpack' for consistency and clarity; add apply_simplify function to simplify PrimFunc or IRModule.

* Refactor CUDA code for improved readability; clean up formatting and remove unnecessary whitespace in multiple files.

* Refactor import statement in test_...
parent f9b6a92e
......@@ -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."
......
......@@ -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."
......
......@@ -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
......
......@@ -3,7 +3,6 @@ requires = [
"cmake>=3.26",
"packaging",
"setuptools>=61",
"setuptools-scm>=8.0",
"wheel",
]
build-backend = "setuptools.build_meta"
......
# Should be mirrored in pyproject.toml
cmake>=3.26
packaging
setuptools>=61
torch
wheel
......@@ -28,7 +28,6 @@ cloudpickle
ml_dtypes
psutil
scipy
tornado
torch
thefuzz
tabulate
......
......@@ -27,8 +27,6 @@ attrs
cloudpickle
ml_dtypes
psutil
scipy
tornado
torch
thefuzz
tabulate
......
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment