Skip to content

Commit 276c5ab

Browse files
committed
Standardize plot_name values across scripts
1 parent a9cefab commit 276c5ab

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

add.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
line_names=["NineToothed", "PyTorch", "Triton"],
4242
styles=[("blue", "-"), ("green", "-"), ("orange", "-")],
4343
ylabel="ms",
44-
plot_name="vector-addition-performance",
44+
plot_name="add-performance",
4545
args={},
4646
)
4747
)

bmm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
line_names=["NineToothed", "PyTorch", "Triton"],
4242
styles=[("blue", "-"), ("green", "-"), ("orange", "-")],
4343
ylabel="ms",
44-
plot_name="batched-matrix-multiplication-performance",
44+
plot_name="bmm-performance",
4545
args={"b": 4},
4646
)
4747
)

conv2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
line_names=["NineToothed", "PyTorch", "Triton"],
4444
styles=[("blue", "-"), ("green", "-"), ("orange", "-")],
4545
ylabel="ms",
46-
plot_name="2d-convolution-performance",
46+
plot_name="conv2d-performance",
4747
args={},
4848
)
4949
)

max_pool2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def max_pool2d(input, window_shape):
7878
line_names=["NineToothed", "PyTorch"],
7979
styles=[("blue", "-"), ("green", "-")],
8080
ylabel="ms",
81-
plot_name="2d-max-pooling-performance",
81+
plot_name="max-pool2d-performance",
8282
args={},
8383
)
8484
)

mm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
line_names=["NineToothed", "PyTorch", "Triton"],
4242
styles=[("blue", "-"), ("green", "-"), ("orange", "-")],
4343
ylabel="ms",
44-
plot_name="matrix-multiplication-performance",
44+
plot_name="mm-performance",
4545
args={},
4646
)
4747
)

rotary_position_embedding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def _generate_sin_and_cos_tables(
8787
line_names=["NineToothed", "PyTorch", "Triton"],
8888
styles=[("blue", "-"), ("green", "-"), ("orange", "-")],
8989
ylabel="ms",
90-
plot_name="rotary_position_embedding-performance",
90+
plot_name="rotary-position-embedding-performance",
9191
args={},
9292
)
9393
)

scaled_dot_product_attention.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def rotary_position_embedding_backend(backend_name):
157157
line_names=["NineToothed", "PyTorch", "Triton"],
158158
styles=[("blue", "-"), ("green", "-"), ("orange", "-")],
159159
ylabel="ms",
160-
plot_name="attention-performance",
160+
plot_name="scaled-dot-product-attention-performance",
161161
args={},
162162
)
163163
)

0 commit comments

Comments
 (0)