Skip to content

Commit 0630517

Browse files
committed
use 1e-3 atol
remove sglang benchmark from triton-benchmarks
1 parent 5e7653a commit 0630517

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

benchmarks/third_party/sglang/extended_attention_benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def refer_fn():
105105
b_seq_len_prefix, max_len_in_batch)
106106
return o_redundant
107107

108-
benchmark_suit.assert_close(triton_fn, refer_fn, atol=1e-4, rtol=1e-2, err_msg='extend to refer')
108+
benchmark_suit.assert_close(triton_fn, refer_fn, atol=1e-3, rtol=1e-2, err_msg='extend to refer')
109109

110110
_, min_ms, max_ms, mean, cv = benchmark_suit.do_bench(triton_fn, n_warmup=10, n_repeat=10, quantiles=quantiles)
111111

python/src/ir.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1782,7 +1782,7 @@ void init_triton_ir(py::module &&m) {
17821782
context->disableMultithreading();
17831783
auto printingFlags = OpPrintingFlags();
17841784
printingFlags.elideLargeElementsAttrs(16);
1785-
// printingFlags.enableDebugInfo();
1785+
printingFlags.enableDebugInfo();
17861786
auto printAlways = [funcToDump](Pass *, Operation *op) -> bool {
17871787
if (funcToDump.empty())
17881788
return true;

0 commit comments

Comments
 (0)