Skip to content

Commit

Permalink
Bring back experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
cpuhrsch committed Nov 17, 2023
1 parent 2153e91 commit ee2a7c9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions experiments/run_experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,16 @@ def run(batch_size,
rt("sparse", "local-fork", use_half="bfloat16", use_compile="max-autotune", use_nested_tensor=True, compress="sparse")

if run_experiments:
# rexp("fp32", "default", print_header=print_header)
# print_header = False
# rexp("bf16", "codesign", use_half="bfloat16")
# rexp("compile", "codesign", use_half="bfloat16", use_compile="max-autotune")
# rexp("SDPA", "sdpa-decoder", use_half="bfloat16", use_compile="max-autotune")
rexp("fp32", "default", print_header=print_header)
print_header = False
rexp("bf16", "codesign", use_half="bfloat16")
rexp("compile", "codesign", use_half="bfloat16", use_compile="max-autotune")
rexp("SDPA", "sdpa-decoder", use_half="bfloat16", use_compile="max-autotune")
rexp("Triton", "local-fork", use_half="bfloat16", use_compile="max-autotune")
# if batch_size > 1:
# rexp("NT", "local-fork", use_half="bfloat16", use_compile="max-autotune", use_nested_tensor=(batch_size > 1))
# rexp("int8", "local-fork", use_half="bfloat16", use_compile="max-autotune", use_nested_tensor=(batch_size > 1), compress="dynamic_quant")
# rexp("sparse", "local-fork", use_half="bfloat16", use_compile="max-autotune", use_nested_tensor=(batch_size > 1), compress="sparse")
if batch_size > 1:
rexp("NT", "local-fork", use_half="bfloat16", use_compile="max-autotune", use_nested_tensor=(batch_size > 1))
rexp("int8", "local-fork", use_half="bfloat16", use_compile="max-autotune", use_nested_tensor=(batch_size > 1), compress="dynamic_quant")
rexp("sparse", "local-fork", use_half="bfloat16", use_compile="max-autotune", use_nested_tensor=(batch_size > 1), compress="sparse")


if __name__ == '__main__':
Expand Down

0 comments on commit ee2a7c9

Please sign in to comment.