File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
userbenchmark/dynamo/dynamobench/_dynamo Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 144
144
lambda : collections .defaultdict (float )
145
145
)
146
146
147
+ codecache_metrics : Counter [str ] = collections .Counter ()
148
+
147
149
timer_counter = itertools .count ()
148
150
149
151
@@ -419,6 +421,9 @@ def dynamo_timed(
419
421
remote_cache_time_saved_s = remote_cache_time_saved ,
420
422
structured_logging_overhead_s = structured_logging_overhead_s ,
421
423
is_forward = False , # is_forward
424
+ num_triton_bundles = codecache_metrics .get (
425
+ "num_triton_bundles" , None
426
+ ),
422
427
remote_fx_graph_cache_get_time_ms = to_int_ms (
423
428
remote_fx_graph_cache_get_time
424
429
),
@@ -899,6 +904,7 @@ class CompilationMetrics:
899
904
specialize_float : Optional [bool ] = None
900
905
dynamo_config : Optional [str ] = None
901
906
is_forward : Optional [bool ] = None
907
+ num_triton_bundles : Optional [int ] = None
902
908
remote_fx_graph_cache_get_time_ms : Optional [int ] = None
903
909
remote_fx_graph_cache_put_time_ms : Optional [int ] = None
904
910
start_time_us : Optional [int ] = None
You can’t perform that action at this time.
0 commit comments