Skip to content

Commit a239de7

Browse files
committed
[AMD] enable amd ci test & fix bug & fix dockerfile
1 parent 468b1b7 commit a239de7

File tree

13 files changed

+52
-49
lines changed

13 files changed

+52
-49
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ jobs:
379379
pytest --verbose --color=yes --durations=0 --showlocals --cache-clear
380380
)
381381
"${PYTEST[@]}" --maxfail=3 --numprocesses=4 \
382-
./python/amd/test_tilelang_test_amd.py
382+
./python/amd
383383
384384
# Apple Metal tests
385385
- name: Run Metal tests with Python ${{ matrix.python-version }} (${{ matrix.runner.toolkit }})

docker/Dockerfile.cu118

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ RUN conda install pip cmake && conda install -c conda-forge libstdcxx-ng=12 && c
2323
RUN apt-get install -y python3 python3-dev python3-setuptools gcc libtinfo-dev zlib1g-dev build-essential cmake libedit-dev libxml2-dev
2424

2525
RUN git clone https://github.com/tile-ai/tilelang.git --recursive -b main TileLang \
26-
&& cd TileLang && ./install_cuda.sh
26+
&& cd TileLang && USE_CUDA=1 pip install -e . -v
2727

2828
CMD bash

docker/Dockerfile.cu120

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ RUN conda install pip cmake && conda install -c conda-forge libstdcxx-ng=12 && c
2323
RUN apt-get install -y python3 python3-dev python3-setuptools gcc libtinfo-dev zlib1g-dev build-essential cmake libedit-dev libxml2-dev
2424

2525
RUN git clone https://github.com/tile-ai/tilelang.git --recursive -b main TileLang \
26-
&& cd TileLang && ./install_cuda.sh
26+
&& cd TileLang && USE_CUDA=1 pip install -e . -v
2727

2828
CMD bash

docker/Dockerfile.cu121

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ RUN conda install pip cmake && conda install -c conda-forge libstdcxx-ng=12 && c
2323
RUN apt-get install -y python3 python3-dev python3-setuptools gcc libtinfo-dev zlib1g-dev build-essential cmake libedit-dev libxml2-dev
2424

2525
RUN git clone https://github.com/tile-ai/tilelang.git --recursive -b main TileLang \
26-
&& cd TileLang && ./install_cuda.sh
26+
&& cd TileLang && USE_CUDA=1 pip install -e . -v
2727

2828
CMD bash

docker/Dockerfile.cu123

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ RUN conda install pip cmake && conda install -c conda-forge libstdcxx-ng=12 && c
2323
RUN apt-get install -y python3 python3-dev python3-setuptools gcc libtinfo-dev zlib1g-dev build-essential cmake libedit-dev libxml2-dev
2424

2525
RUN git clone https://github.com/tile-ai/tilelang.git --recursive -b main TileLang \
26-
&& cd TileLang && ./install_cuda.sh
26+
&& cd TileLang && USE_CUDA=1 pip install -e . -v
2727

2828
CMD bash

docker/Dockerfile.cu124

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ RUN conda install pip cmake && conda install -c conda-forge libstdcxx-ng=12 && c
2323
RUN apt-get install -y python3 python3-dev python3-setuptools gcc libtinfo-dev zlib1g-dev build-essential cmake libedit-dev libxml2-dev
2424

2525
RUN git clone https://github.com/tile-ai/tilelang.git --recursive -b main TileLang \
26-
&& cd TileLang && ./install_cuda.sh
26+
&& cd TileLang && USE_CUDA=1 pip install -e . -v
2727

2828
CMD bash

docker/Dockerfile.cu125

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ RUN conda install pip cmake && conda install -c conda-forge libstdcxx-ng=12 && c
2323
RUN apt-get install -y python3 python3-dev python3-setuptools gcc libtinfo-dev zlib1g-dev build-essential cmake libedit-dev libxml2-dev
2424

2525
RUN git clone https://github.com/tile-ai/tilelang.git --recursive -b main TileLang \
26-
&& cd TileLang && ./install_cuda.sh
26+
&& cd TileLang && USE_CUDA=1 pip install -e . -v
2727

2828
CMD bash

docker/Dockerfile.cu126

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ RUN conda install pip cmake && conda install -c conda-forge libstdcxx-ng=12 && c
2323
RUN apt-get install -y python3 python3-dev python3-setuptools gcc libtinfo-dev zlib1g-dev build-essential cmake libedit-dev libxml2-dev
2424

2525
RUN git clone https://github.com/tile-ai/tilelang.git --recursive -b main TileLang \
26-
&& cd TileLang && ./install_cuda.sh
26+
&& cd TileLang && USE_CUDA=1 pip install -e . -v
2727

2828
CMD bash

docker/Dockerfile.cu128

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ RUN apt-get install -y python3 python3-dev python3-setuptools gcc libtinfo-dev z
2626
RUN pip install cython
2727

2828
RUN git clone https://github.com/tile-ai/tilelang.git --recursive -b main TileLang \
29-
&& cd TileLang && cmake -S . -B build -DUSE_CUDA=ON && cmake --build build -j
29+
&& cd TileLang && USE_CUDA=1 pip install -e . -v
3030

3131
CMD bash

docker/Dockerfile.rocm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN conda run -n py_3.10 conda install pip cmake -y && \
2222
RUN apt-get install -y python3 python3-dev python3-setuptools gcc libtinfo-dev zlib1g-dev build-essential cmake libedit-dev libxml2-dev
2323

2424
RUN git clone https://github.com/tile-ai/tilelang.git --recursive -b main tilelang && \
25-
conda run -n py_3.10 bash -c "cd tilelang && ./install_rocm.sh"
25+
conda run -n py_3.10 bash -c "cd tilelang && USE_ROCM=1 pip install -e . -v"
2626

2727
RUN conda init bash
2828

0 commit comments

Comments
 (0)