Skip to content

Commit 83e63a5

Browse files
xuzhao9facebook-github-bot
authored andcommitted
Remove all tritonbench code
Summary: Tritonbench code is moved to pytorch-labs/tritonbench. We can remove the tritonbench code from pytorch/benchmark. Reviewed By: malfet, huydhn, kit1980 Differential Revision: D65548525 fbshipit-source-id: 625490a0fc4b060f64898357407a4e46643d3936
1 parent d390f78 commit 83e63a5

File tree

280 files changed

+2
-44754
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

280 files changed

+2
-44754
lines changed

.ci/tritonbench/install-triton-nightly.sh

-26
This file was deleted.

.ci/tritonbench/install.sh

-12
This file was deleted.

.ci/tritonbench/test-install.sh

-12
This file was deleted.

.ci/tritonbench/test-operators.sh

-28
This file was deleted.

.github/workflows/pr-test.yml

-14
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
11
name: TorchBench PR Test
22
on:
33
pull_request:
4-
# ignore tritonbench paths
5-
paths-ignore:
6-
- 'torchbenchmark/operators/*'
7-
- 'torchbenchmark/util/kernels/*'
8-
- 'torchbenchmark/util/triton_op.py'
9-
- 'userbenchmark/triton/*'
10-
- '.ci/tritonbench/*'
114
workflow_dispatch:
125
push:
136
branches:
147
- main
15-
# ignore tritonbench paths
16-
paths-ignore:
17-
- 'torchbenchmark/operators/*'
18-
- 'torchbenchmark/util/kernels/*'
19-
- 'torchbenchmark/util/triton_op.py'
20-
- 'userbenchmark/triton/*'
21-
- '.ci/tritonbench/*'
228

239
jobs:
2410
cpu-test:

.github/workflows/tritonbench-nightly.yml

-66
This file was deleted.

.github/workflows/tritonbench-test.yml

-63
This file was deleted.

.gitmodules

-18
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,3 @@
44
[submodule "submodules/lit-llama"]
55
path = submodules/lit-llama
66
url = https://github.com/Lightning-AI/lit-llama.git
7-
[submodule "submodules/FBGEMM"]
8-
path = submodules/FBGEMM
9-
url = https://github.com/pytorch/FBGEMM.git
10-
[submodule "submodules/cutlass-kernels"]
11-
path = submodules/cutlass-kernels
12-
url = https://github.com/ColfaxResearch/cutlass-kernels.git
13-
[submodule "submodules/flash-attention"]
14-
path = submodules/flash-attention
15-
url = https://github.com/Dao-AILab/flash-attention.git
16-
[submodule "submodules/kernels"]
17-
path = submodules/kernels
18-
url = https://github.com/triton-lang/kernels
19-
[submodule "submodules/ThunderKittens"]
20-
path = submodules/ThunderKittens
21-
url = https://github.com/HazyResearch/ThunderKittens.git
22-
[submodule "submodules/generative-recommenders"]
23-
path = submodules/generative-recommenders
24-
url = https://github.com/facebookresearch/generative-recommenders.git

docker/torchbench-nightly.dockerfile

-10
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,6 @@ RUN cd /workspace/benchmark && \
4646
. ${SETUP_SCRIPT} && \
4747
python utils/cuda_utils.py --install-torchbench-deps
4848

49-
# Install Tritonbench
50-
RUN cd /workspace/benchmark && \
51-
bash .ci/tritonbench/install.sh
52-
53-
# Test Tritonbench (libcuda.so.1 is required, so install libnvidia-compute-550 as a hack)
54-
RUN sudo apt update && sudo apt-get install -y libnvidia-compute-550 && \
55-
cd /workspace/benchmark && \
56-
bash .ci/tritonbench/test.sh && \
57-
sudo apt-get purge -y libnvidia-compute-550
58-
5949
# Install TorchAO benchmark
6050
RUN cd /workspace/benchmark && \
6151
. ${SETUP_SCRIPT} && \

submodules/FBGEMM

-1
This file was deleted.

submodules/ThunderKittens

-1
This file was deleted.

submodules/cutlass-kernels

-1
This file was deleted.

submodules/flash-attention

-1
This file was deleted.

submodules/generative-recommenders

-1
This file was deleted.

submodules/kernels

-1
This file was deleted.

torchbenchmark/_components/kineto/trace.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def do_bench_kineto(
7676
]
7777
if profile_opts is None:
7878
profile_opts = DEFAULT_PROFILE_OPTS
79-
prefix = f"tritonbench_{fn._name}"
79+
prefix = f"torchbench_{fn._name}"
8080
name = f"{prefix}_{datetime.now().strftime('%Y%m%d_%H%M%S')}_{''.join(random.choices(string.digits, k=10))}.json"
8181
with profiler.profile(
8282
schedule=profiler.schedule(wait=0, warmup=n_warmup, active=1, repeat=1),

0 commit comments

Comments
 (0)