Memory profile 20261129-030001-daily-gemma3-1b-sliding
Browse files- .gitattributes +1 -0
- memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/gpu_snapshot.pickle.gz +3 -0
- memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/gpu_summary.json +0 -0
- memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/host-flamegraph.html +0 -0
- memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/host.memray.bin +3 -0
- memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/host_summary.json +0 -0
- memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/profile.json +430 -0
- memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/python.folded +3 -0
- memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/python_summary.json +2013 -0
- memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/report.html +0 -0
- memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/time.html +53 -0
.gitattributes
CHANGED
|
@@ -66,3 +66,4 @@ memory/2026-11/20261127-030049-daily-gemma3-1b-sliding/python.folded filter=lfs
|
|
| 66 |
memory/2026-11/20261127-030049-daily-processors/host-flamegraph.html filter=lfs diff=lfs merge=lfs -text
|
| 67 |
memory/2026-11/20261127-030049-daily-processors/host_summary.json filter=lfs diff=lfs merge=lfs -text
|
| 68 |
memory/2026-11/20261128-030056-daily-gemma3-1b-sliding/python.folded filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 66 |
memory/2026-11/20261127-030049-daily-processors/host-flamegraph.html filter=lfs diff=lfs merge=lfs -text
|
| 67 |
memory/2026-11/20261127-030049-daily-processors/host_summary.json filter=lfs diff=lfs merge=lfs -text
|
| 68 |
memory/2026-11/20261128-030056-daily-gemma3-1b-sliding/python.folded filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/python.folded filter=lfs diff=lfs merge=lfs -text
|
memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/gpu_snapshot.pickle.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:caf271106ce01eb18d90a6df000bf56e8aa7abddfb35892d3e615d7f8e33ad12
|
| 3 |
+
size 628829
|
memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/gpu_summary.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/host-flamegraph.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/host.memray.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:25df35860320f53e942e02edcc30ce66b1272684aaa5ca620232046463d4428b
|
| 3 |
+
size 2993215
|
memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/host_summary.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/profile.json
ADDED
|
@@ -0,0 +1,430 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_id": "google/gemma-3-1b-it",
|
| 3 |
+
"commit_id": "518453161921c2e908a64913949dbaaafba64e3e",
|
| 4 |
+
"config": {
|
| 5 |
+
"name": "w0_i2-unmonitored-b1_s448_n128-sdpa-compiled_reduce-overhead-unkernelized-generate-no_tp",
|
| 6 |
+
"prompt_length_policy": "repeat_tokens_to_exact_length",
|
| 7 |
+
"eos_token_id": -1,
|
| 8 |
+
"allow_block_sharing": null,
|
| 9 |
+
"auto_switch_to_flash": null,
|
| 10 |
+
"warmup_iterations": 0,
|
| 11 |
+
"measurement_iterations": 2,
|
| 12 |
+
"gpu_monitoring": false,
|
| 13 |
+
"continuous_batching": false,
|
| 14 |
+
"batch_size": 1,
|
| 15 |
+
"sequence_length": 448,
|
| 16 |
+
"num_tokens_to_generate": 128,
|
| 17 |
+
"attn_implementation": "sdpa",
|
| 18 |
+
"compile_kwargs": {
|
| 19 |
+
"fullgraph": true,
|
| 20 |
+
"dynamic": null,
|
| 21 |
+
"backend": "inductor",
|
| 22 |
+
"mode": "reduce-overhead",
|
| 23 |
+
"options": null
|
| 24 |
+
},
|
| 25 |
+
"kernelize": false,
|
| 26 |
+
"tp_plan": null
|
| 27 |
+
},
|
| 28 |
+
"args": {
|
| 29 |
+
"model_id": "google/gemma-3-1b-it",
|
| 30 |
+
"out": "/opt/bench/daily/results/20261129-030001/gemma3-1b-sliding/memory",
|
| 31 |
+
"batch_size": 1,
|
| 32 |
+
"sequence_length": 448,
|
| 33 |
+
"num_tokens_to_generate": 128,
|
| 34 |
+
"attn": "sdpa",
|
| 35 |
+
"compile_mode": null,
|
| 36 |
+
"continuous_batching": false,
|
| 37 |
+
"config_file": "/opt/bench/daily/scenarios/sliding-window.jsonl",
|
| 38 |
+
"scenario_index": 0,
|
| 39 |
+
"iterations": 2,
|
| 40 |
+
"max_entries": 2000000,
|
| 41 |
+
"stacks": "python",
|
| 42 |
+
"no_memray": false,
|
| 43 |
+
"no_native": false,
|
| 44 |
+
"no_python": false,
|
| 45 |
+
"python_iterations": 10,
|
| 46 |
+
"python_rate": 200,
|
| 47 |
+
"python_native": false,
|
| 48 |
+
"memray_all": false,
|
| 49 |
+
"keep_snapshot": false,
|
| 50 |
+
"record": "host"
|
| 51 |
+
},
|
| 52 |
+
"marks": [
|
| 53 |
+
{
|
| 54 |
+
"name": "start",
|
| 55 |
+
"index": 0,
|
| 56 |
+
"time_ms": 1795923063592.095,
|
| 57 |
+
"host": {
|
| 58 |
+
"rss_peak_mb": 1018.07421875,
|
| 59 |
+
"rss_mb": 1018.07421875,
|
| 60 |
+
"rss_anon_mb": 507.1484375,
|
| 61 |
+
"rss_file_mb": 424.0,
|
| 62 |
+
"rss_shmem_mb": 86.92578125,
|
| 63 |
+
"read_bytes": 0,
|
| 64 |
+
"rchar": 156617065
|
| 65 |
+
},
|
| 66 |
+
"device": {
|
| 67 |
+
"allocated_mb": 0.0,
|
| 68 |
+
"reserved_mb": 2.0,
|
| 69 |
+
"peak_allocated_mb": 1.0,
|
| 70 |
+
"peak_reserved_mb": 2.0,
|
| 71 |
+
"inactive_split_mb": 0.0,
|
| 72 |
+
"alloc_retries": 0,
|
| 73 |
+
"ooms": 0
|
| 74 |
+
},
|
| 75 |
+
"process_gpu_mb": 252.0
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"name": "loaded",
|
| 79 |
+
"index": 1,
|
| 80 |
+
"time_ms": 1795923069775.7578,
|
| 81 |
+
"host": {
|
| 82 |
+
"rss_peak_mb": 3414.296875,
|
| 83 |
+
"rss_mb": 1518.1953125,
|
| 84 |
+
"rss_anon_mb": 980.63671875,
|
| 85 |
+
"rss_file_mb": 444.87890625,
|
| 86 |
+
"rss_shmem_mb": 92.6796875,
|
| 87 |
+
"read_bytes": 0,
|
| 88 |
+
"rchar": 197627885
|
| 89 |
+
},
|
| 90 |
+
"device": {
|
| 91 |
+
"allocated_mb": 1907.166015625,
|
| 92 |
+
"reserved_mb": 1942.0,
|
| 93 |
+
"peak_allocated_mb": 1909.166015625,
|
| 94 |
+
"peak_reserved_mb": 1942.0,
|
| 95 |
+
"inactive_split_mb": 34.833984375,
|
| 96 |
+
"alloc_retries": 0,
|
| 97 |
+
"ooms": 0
|
| 98 |
+
},
|
| 99 |
+
"process_gpu_mb": 2236.0
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"name": "first generation",
|
| 103 |
+
"index": 2,
|
| 104 |
+
"time_ms": 1795923138847.8586,
|
| 105 |
+
"host": {
|
| 106 |
+
"rss_peak_mb": 3414.296875,
|
| 107 |
+
"rss_mb": 2526.640625,
|
| 108 |
+
"rss_anon_mb": 1910.66796875,
|
| 109 |
+
"rss_file_mb": 521.2890625,
|
| 110 |
+
"rss_shmem_mb": 94.68359375,
|
| 111 |
+
"read_bytes": 1306624,
|
| 112 |
+
"rchar": 826083861
|
| 113 |
+
},
|
| 114 |
+
"device": {
|
| 115 |
+
"allocated_mb": 1907.166015625,
|
| 116 |
+
"reserved_mb": 1966.0,
|
| 117 |
+
"peak_allocated_mb": 1945.4013671875,
|
| 118 |
+
"peak_reserved_mb": 1982.0,
|
| 119 |
+
"inactive_split_mb": 34.833984375,
|
| 120 |
+
"alloc_retries": 0,
|
| 121 |
+
"ooms": 0
|
| 122 |
+
},
|
| 123 |
+
"process_gpu_mb": 2304.0
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"name": "generations",
|
| 127 |
+
"index": 3,
|
| 128 |
+
"time_ms": 1795923144479.8757,
|
| 129 |
+
"host": {
|
| 130 |
+
"rss_peak_mb": 3414.296875,
|
| 131 |
+
"rss_mb": 2529.12890625,
|
| 132 |
+
"rss_anon_mb": 1913.15625,
|
| 133 |
+
"rss_file_mb": 521.2890625,
|
| 134 |
+
"rss_shmem_mb": 94.68359375,
|
| 135 |
+
"read_bytes": 1306624,
|
| 136 |
+
"rchar": 827122598
|
| 137 |
+
},
|
| 138 |
+
"device": {
|
| 139 |
+
"allocated_mb": 1907.166015625,
|
| 140 |
+
"reserved_mb": 1966.0,
|
| 141 |
+
"peak_allocated_mb": 1945.4013671875,
|
| 142 |
+
"peak_reserved_mb": 1984.0,
|
| 143 |
+
"inactive_split_mb": 34.833984375,
|
| 144 |
+
"alloc_retries": 0,
|
| 145 |
+
"ooms": 0
|
| 146 |
+
},
|
| 147 |
+
"process_gpu_mb": 2320.0
|
| 148 |
+
}
|
| 149 |
+
],
|
| 150 |
+
"marker_function": "_tperf_phase_marker",
|
| 151 |
+
"marker_unit": 1048576,
|
| 152 |
+
"load_memory": {
|
| 153 |
+
"load_host_peak_rss_mb": 3414.296875,
|
| 154 |
+
"load_host_rss_anon_mb": 980.63671875,
|
| 155 |
+
"load_host_rss_file_mb": 443.2421875,
|
| 156 |
+
"load_disk_read_mb": 0.0,
|
| 157 |
+
"load_file_read_mb": 2.6680164337158203,
|
| 158 |
+
"load_device_allocated_mb": 1907.1591796875,
|
| 159 |
+
"weights_mb": 1907.1330585479736,
|
| 160 |
+
"weights_buffers_mb": 0.0019550323486328125,
|
| 161 |
+
"weights_dtypes": "bfloat16:1907.1,float32:0.0",
|
| 162 |
+
"weights_by_device_mb": {
|
| 163 |
+
"cuda": 1907.1330585479736
|
| 164 |
+
},
|
| 165 |
+
"weights_top_modules_mb": {
|
| 166 |
+
"model.embed_tokens": 576.0000019073486,
|
| 167 |
+
"model.layers.*.mlp.gate_proj": 394.875,
|
| 168 |
+
"model.layers.*.mlp.up_proj": 394.875,
|
| 169 |
+
"model.layers.*.mlp.down_proj": 394.875,
|
| 170 |
+
"model.layers.*.self_attn.q_proj": 58.5,
|
| 171 |
+
"model.layers.*.self_attn.o_proj": 58.5,
|
| 172 |
+
"model.layers.*.self_attn.k_proj": 14.625,
|
| 173 |
+
"model.layers.*.self_attn.v_proj": 14.625,
|
| 174 |
+
"model.layers.*.input_layernorm": 0.05712890625,
|
| 175 |
+
"model.layers.*.post_attention_layernorm": 0.05712890625,
|
| 176 |
+
"model.layers.*.pre_feedforward_layernorm": 0.05712890625,
|
| 177 |
+
"model.layers.*.post_feedforward_layernorm": 0.05712890625,
|
| 178 |
+
"model.layers.*.self_attn.q_norm": 0.0126953125,
|
| 179 |
+
"model.layers.*.self_attn.k_norm": 0.0126953125,
|
| 180 |
+
"model.norm": 0.002197265625,
|
| 181 |
+
"model.rotary_emb": 0.001953125
|
| 182 |
+
}
|
| 183 |
+
},
|
| 184 |
+
"weights": {
|
| 185 |
+
"parameters_mb": 1907.131103515625,
|
| 186 |
+
"buffers_mb": 0.0019550323486328125,
|
| 187 |
+
"weights_mb": 1907.1330585479736,
|
| 188 |
+
"by_dtype_mb": {
|
| 189 |
+
"bfloat16": 1907.1311054229736,
|
| 190 |
+
"float32": 0.001953125
|
| 191 |
+
},
|
| 192 |
+
"by_device_mb": {
|
| 193 |
+
"cuda": 1907.1330585479736
|
| 194 |
+
},
|
| 195 |
+
"top_modules_mb": {
|
| 196 |
+
"model.embed_tokens": 576.0000019073486,
|
| 197 |
+
"model.layers.*.mlp.gate_proj": 394.875,
|
| 198 |
+
"model.layers.*.mlp.up_proj": 394.875,
|
| 199 |
+
"model.layers.*.mlp.down_proj": 394.875,
|
| 200 |
+
"model.layers.*.self_attn.q_proj": 58.5,
|
| 201 |
+
"model.layers.*.self_attn.o_proj": 58.5,
|
| 202 |
+
"model.layers.*.self_attn.k_proj": 14.625,
|
| 203 |
+
"model.layers.*.self_attn.v_proj": 14.625,
|
| 204 |
+
"model.layers.*.input_layernorm": 0.05712890625,
|
| 205 |
+
"model.layers.*.post_attention_layernorm": 0.05712890625,
|
| 206 |
+
"model.layers.*.pre_feedforward_layernorm": 0.05712890625,
|
| 207 |
+
"model.layers.*.post_feedforward_layernorm": 0.05712890625,
|
| 208 |
+
"model.layers.*.self_attn.q_norm": 0.0126953125,
|
| 209 |
+
"model.layers.*.self_attn.k_norm": 0.0126953125,
|
| 210 |
+
"model.norm": 0.002197265625,
|
| 211 |
+
"model.rotary_emb": 0.001953125
|
| 212 |
+
},
|
| 213 |
+
"minor_dtype_modules_mb": {
|
| 214 |
+
"float32": {
|
| 215 |
+
"model.rotary_emb": 0.001953125
|
| 216 |
+
}
|
| 217 |
+
}
|
| 218 |
+
},
|
| 219 |
+
"error": null,
|
| 220 |
+
"versions": {
|
| 221 |
+
"python": "3.14.4",
|
| 222 |
+
"torch": "2.15.0+cu132",
|
| 223 |
+
"cuda": "13.2",
|
| 224 |
+
"transformers": "5.25.0.dev0"
|
| 225 |
+
},
|
| 226 |
+
"gpu_name": "NVIDIA A10G",
|
| 227 |
+
"gpu_memory_total_mb": 22640.375,
|
| 228 |
+
"host_memory_total_mb": 191158.94140625,
|
| 229 |
+
"gpu_marks": [
|
| 230 |
+
{
|
| 231 |
+
"name": "start",
|
| 232 |
+
"index": 0,
|
| 233 |
+
"time_ms": 1795923011390.3652,
|
| 234 |
+
"host": {
|
| 235 |
+
"rss_peak_mb": 995.1171875,
|
| 236 |
+
"rss_mb": 995.1171875,
|
| 237 |
+
"rss_anon_mb": 501.51953125,
|
| 238 |
+
"rss_file_mb": 406.671875,
|
| 239 |
+
"rss_shmem_mb": 86.92578125,
|
| 240 |
+
"read_bytes": 5120000,
|
| 241 |
+
"rchar": 156538778
|
| 242 |
+
},
|
| 243 |
+
"device": {
|
| 244 |
+
"allocated_mb": 0.0,
|
| 245 |
+
"reserved_mb": 2.0,
|
| 246 |
+
"peak_allocated_mb": 1.0,
|
| 247 |
+
"peak_reserved_mb": 2.0,
|
| 248 |
+
"inactive_split_mb": 0.0,
|
| 249 |
+
"alloc_retries": 0,
|
| 250 |
+
"ooms": 0
|
| 251 |
+
},
|
| 252 |
+
"process_gpu_mb": 252.0
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"name": "loaded",
|
| 256 |
+
"index": 1,
|
| 257 |
+
"time_ms": 1795923017097.325,
|
| 258 |
+
"host": {
|
| 259 |
+
"rss_peak_mb": 3221.8828125,
|
| 260 |
+
"rss_mb": 1325.05078125,
|
| 261 |
+
"rss_anon_mb": 811.5078125,
|
| 262 |
+
"rss_file_mb": 420.86328125,
|
| 263 |
+
"rss_shmem_mb": 92.6796875,
|
| 264 |
+
"read_bytes": 2042146816,
|
| 265 |
+
"rchar": 196864733
|
| 266 |
+
},
|
| 267 |
+
"device": {
|
| 268 |
+
"allocated_mb": 1907.166015625,
|
| 269 |
+
"reserved_mb": 1942.0,
|
| 270 |
+
"peak_allocated_mb": 1909.166015625,
|
| 271 |
+
"peak_reserved_mb": 1942.0,
|
| 272 |
+
"inactive_split_mb": 34.833984375,
|
| 273 |
+
"alloc_retries": 0,
|
| 274 |
+
"ooms": 0
|
| 275 |
+
},
|
| 276 |
+
"process_gpu_mb": 2236.0
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"name": "first generation",
|
| 280 |
+
"index": 2,
|
| 281 |
+
"time_ms": 1795923050081.1924,
|
| 282 |
+
"host": {
|
| 283 |
+
"rss_peak_mb": 3221.8828125,
|
| 284 |
+
"rss_mb": 2292.82421875,
|
| 285 |
+
"rss_anon_mb": 1706.94921875,
|
| 286 |
+
"rss_file_mb": 491.19140625,
|
| 287 |
+
"rss_shmem_mb": 94.68359375,
|
| 288 |
+
"read_bytes": 2585276416,
|
| 289 |
+
"rchar": 814423963
|
| 290 |
+
},
|
| 291 |
+
"device": {
|
| 292 |
+
"allocated_mb": 1907.166015625,
|
| 293 |
+
"reserved_mb": 1966.0,
|
| 294 |
+
"peak_allocated_mb": 1945.4013671875,
|
| 295 |
+
"peak_reserved_mb": 1982.0,
|
| 296 |
+
"inactive_split_mb": 34.833984375,
|
| 297 |
+
"alloc_retries": 0,
|
| 298 |
+
"ooms": 0
|
| 299 |
+
},
|
| 300 |
+
"process_gpu_mb": 2304.0
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"name": "generations",
|
| 304 |
+
"index": 3,
|
| 305 |
+
"time_ms": 1795923054868.3176,
|
| 306 |
+
"host": {
|
| 307 |
+
"rss_peak_mb": 3221.8828125,
|
| 308 |
+
"rss_mb": 2314.71875,
|
| 309 |
+
"rss_anon_mb": 1728.84375,
|
| 310 |
+
"rss_file_mb": 491.19140625,
|
| 311 |
+
"rss_shmem_mb": 94.68359375,
|
| 312 |
+
"read_bytes": 2585276416,
|
| 313 |
+
"rchar": 814590269
|
| 314 |
+
},
|
| 315 |
+
"device": {
|
| 316 |
+
"allocated_mb": 1907.166015625,
|
| 317 |
+
"reserved_mb": 1966.0,
|
| 318 |
+
"peak_allocated_mb": 1945.4013671875,
|
| 319 |
+
"peak_reserved_mb": 1984.0,
|
| 320 |
+
"inactive_split_mb": 34.833984375,
|
| 321 |
+
"alloc_retries": 0,
|
| 322 |
+
"ooms": 0
|
| 323 |
+
},
|
| 324 |
+
"process_gpu_mb": 2320.0
|
| 325 |
+
}
|
| 326 |
+
],
|
| 327 |
+
"python_marks": [
|
| 328 |
+
{
|
| 329 |
+
"name": "start",
|
| 330 |
+
"index": 0,
|
| 331 |
+
"time_ms": 1795923151276.7466,
|
| 332 |
+
"host": {
|
| 333 |
+
"rss_peak_mb": 1004.65234375,
|
| 334 |
+
"rss_mb": 1004.65234375,
|
| 335 |
+
"rss_anon_mb": 501.5859375,
|
| 336 |
+
"rss_file_mb": 416.140625,
|
| 337 |
+
"rss_shmem_mb": 86.92578125,
|
| 338 |
+
"read_bytes": 0,
|
| 339 |
+
"rchar": 156538784
|
| 340 |
+
},
|
| 341 |
+
"device": {
|
| 342 |
+
"allocated_mb": 0.0,
|
| 343 |
+
"reserved_mb": 2.0,
|
| 344 |
+
"peak_allocated_mb": 1.0,
|
| 345 |
+
"peak_reserved_mb": 2.0,
|
| 346 |
+
"inactive_split_mb": 0.0,
|
| 347 |
+
"alloc_retries": 0,
|
| 348 |
+
"ooms": 0
|
| 349 |
+
},
|
| 350 |
+
"process_gpu_mb": 252.0
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"name": "loaded",
|
| 354 |
+
"index": 1,
|
| 355 |
+
"time_ms": 1795923153254.9395,
|
| 356 |
+
"host": {
|
| 357 |
+
"rss_peak_mb": 3231.30859375,
|
| 358 |
+
"rss_mb": 1335.11328125,
|
| 359 |
+
"rss_anon_mb": 811.390625,
|
| 360 |
+
"rss_file_mb": 431.04296875,
|
| 361 |
+
"rss_shmem_mb": 92.6796875,
|
| 362 |
+
"read_bytes": 0,
|
| 363 |
+
"rchar": 196864714
|
| 364 |
+
},
|
| 365 |
+
"device": {
|
| 366 |
+
"allocated_mb": 1907.166015625,
|
| 367 |
+
"reserved_mb": 1942.0,
|
| 368 |
+
"peak_allocated_mb": 1909.166015625,
|
| 369 |
+
"peak_reserved_mb": 1942.0,
|
| 370 |
+
"inactive_split_mb": 34.833984375,
|
| 371 |
+
"alloc_retries": 0,
|
| 372 |
+
"ooms": 0
|
| 373 |
+
},
|
| 374 |
+
"process_gpu_mb": 2236.0
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"name": "first generation",
|
| 378 |
+
"index": 2,
|
| 379 |
+
"time_ms": 1795923181437.3606,
|
| 380 |
+
"host": {
|
| 381 |
+
"rss_peak_mb": 3231.30859375,
|
| 382 |
+
"rss_mb": 2287.7890625,
|
| 383 |
+
"rss_anon_mb": 1691.6484375,
|
| 384 |
+
"rss_file_mb": 501.45703125,
|
| 385 |
+
"rss_shmem_mb": 94.68359375,
|
| 386 |
+
"read_bytes": 0,
|
| 387 |
+
"rchar": 814934742
|
| 388 |
+
},
|
| 389 |
+
"device": {
|
| 390 |
+
"allocated_mb": 1907.166015625,
|
| 391 |
+
"reserved_mb": 1966.0,
|
| 392 |
+
"peak_allocated_mb": 1945.4013671875,
|
| 393 |
+
"peak_reserved_mb": 1982.0,
|
| 394 |
+
"inactive_split_mb": 34.833984375,
|
| 395 |
+
"alloc_retries": 0,
|
| 396 |
+
"ooms": 0
|
| 397 |
+
},
|
| 398 |
+
"process_gpu_mb": 2304.0
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"name": "generations",
|
| 402 |
+
"index": 3,
|
| 403 |
+
"time_ms": 1795923204469.1306,
|
| 404 |
+
"host": {
|
| 405 |
+
"rss_peak_mb": 3231.30859375,
|
| 406 |
+
"rss_mb": 2288.69140625,
|
| 407 |
+
"rss_anon_mb": 1692.55078125,
|
| 408 |
+
"rss_file_mb": 501.45703125,
|
| 409 |
+
"rss_shmem_mb": 94.68359375,
|
| 410 |
+
"read_bytes": 0,
|
| 411 |
+
"rchar": 815101137
|
| 412 |
+
},
|
| 413 |
+
"device": {
|
| 414 |
+
"allocated_mb": 1907.166015625,
|
| 415 |
+
"reserved_mb": 1966.0,
|
| 416 |
+
"peak_allocated_mb": 1945.4013671875,
|
| 417 |
+
"peak_reserved_mb": 1984.0,
|
| 418 |
+
"inactive_split_mb": 34.833984375,
|
| 419 |
+
"alloc_retries": 0,
|
| 420 |
+
"ooms": 0
|
| 421 |
+
},
|
| 422 |
+
"process_gpu_mb": 2328.0
|
| 423 |
+
}
|
| 424 |
+
],
|
| 425 |
+
"passes": [
|
| 426 |
+
"gpu",
|
| 427 |
+
"host",
|
| 428 |
+
"python"
|
| 429 |
+
]
|
| 430 |
+
}
|
memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/python.folded
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b722aeaa9892225fed5382f6269c084046e098163c24492570b76210acf01965
|
| 3 |
+
size 34411373
|
memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/python_summary.json
ADDED
|
@@ -0,0 +1,2013 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rate": 200,
|
| 3 |
+
"samples": 8729,
|
| 4 |
+
"seconds": 43.645,
|
| 5 |
+
"groups": [
|
| 6 |
+
{
|
| 7 |
+
"name": "generations",
|
| 8 |
+
"samples": 4314,
|
| 9 |
+
"seconds": 21.57,
|
| 10 |
+
"by_area": {
|
| 11 |
+
"(benchmark tool)": 11.4,
|
| 12 |
+
"transformers generation": 8.55,
|
| 13 |
+
"transformers, other": 0.53,
|
| 14 |
+
"torch": 0.51,
|
| 15 |
+
"transformers models": 0.245,
|
| 16 |
+
"torch.compile": 0.205,
|
| 17 |
+
"transformers cache": 0.075,
|
| 18 |
+
"Python, other": 0.05,
|
| 19 |
+
"native, other": 0.005
|
| 20 |
+
},
|
| 21 |
+
"self": [
|
| 22 |
+
{
|
| 23 |
+
"function": "transformers/generation/utils.py:395 StopCheck.__call__",
|
| 24 |
+
"area": "transformers generation",
|
| 25 |
+
"samples": 1574,
|
| 26 |
+
"seconds": 7.87
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"function": "torch/nn/modules/module.py:1798 Module._call_impl",
|
| 30 |
+
"area": "torch",
|
| 31 |
+
"samples": 74,
|
| 32 |
+
"seconds": 0.37
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"function": "transformers/generation/stopping_criteria.py:592 EosTokenCriteria.__call__",
|
| 36 |
+
"area": "transformers generation",
|
| 37 |
+
"samples": 24,
|
| 38 |
+
"seconds": 0.12
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"function": "torch/_inductor/cudagraph_trees.py:2137 CUDAGraphNode.check_invariants",
|
| 42 |
+
"area": "torch.compile",
|
| 43 |
+
"samples": 21,
|
| 44 |
+
"seconds": 0.105
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"function": "transformers/models/gemma3/modeling_gemma3.py:126 Gemma3RMSNorm._norm",
|
| 48 |
+
"area": "transformers models",
|
| 49 |
+
"samples": 18,
|
| 50 |
+
"seconds": 0.09
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"function": "transformers/generation/utils.py:396 StopCheck.__call__",
|
| 54 |
+
"area": "transformers generation",
|
| 55 |
+
"samples": 16,
|
| 56 |
+
"seconds": 0.08
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"function": "transformers/masking_utils.py:528 sdpa_mask",
|
| 60 |
+
"area": "transformers, other",
|
| 61 |
+
"samples": 15,
|
| 62 |
+
"seconds": 0.075
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"function": "transformers/generation/utils.py:1280 GenerationMixin._update_model_kwargs_for_generation",
|
| 66 |
+
"area": "transformers generation",
|
| 67 |
+
"samples": 15,
|
| 68 |
+
"seconds": 0.075
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"function": "transformers/utils/generic.py:1075 can_return_tuple.<locals>.wrapper",
|
| 72 |
+
"area": "transformers, other",
|
| 73 |
+
"samples": 14,
|
| 74 |
+
"seconds": 0.07
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"function": "transformers/generation/utils.py:3282 GenerationMixin._sample",
|
| 78 |
+
"area": "transformers generation",
|
| 79 |
+
"samples": 9,
|
| 80 |
+
"seconds": 0.045
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"function": "torch/cuda/__init__.py:1371 synchronize",
|
| 84 |
+
"area": "torch",
|
| 85 |
+
"samples": 9,
|
| 86 |
+
"seconds": 0.045
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"function": "transformers/masking_utils.py:530 sdpa_mask",
|
| 90 |
+
"area": "transformers, other",
|
| 91 |
+
"samples": 8,
|
| 92 |
+
"seconds": 0.04
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"function": "transformers/generation/utils.py:3247 GenerationMixin._sample",
|
| 96 |
+
"area": "transformers generation",
|
| 97 |
+
"samples": 8,
|
| 98 |
+
"seconds": 0.04
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"function": "transformers/masking_utils.py:531 sdpa_mask",
|
| 102 |
+
"area": "transformers, other",
|
| 103 |
+
"samples": 8,
|
| 104 |
+
"seconds": 0.04
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"function": "transformers/masking_utils.py:529 sdpa_mask",
|
| 108 |
+
"area": "transformers, other",
|
| 109 |
+
"samples": 7,
|
| 110 |
+
"seconds": 0.035
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"function": "transformers/utils/deprecation.py:178 deprecate_kwarg.<locals>.wrapper.<locals>.wrapped_func",
|
| 114 |
+
"area": "transformers, other",
|
| 115 |
+
"samples": 7,
|
| 116 |
+
"seconds": 0.035
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"function": "transformers/masking_utils.py:388 _non_vmap_expansion_sdpa",
|
| 120 |
+
"area": "transformers, other",
|
| 121 |
+
"samples": 7,
|
| 122 |
+
"seconds": 0.035
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"function": "transformers/generation/utils.py:3278 GenerationMixin._sample",
|
| 126 |
+
"area": "transformers generation",
|
| 127 |
+
"samples": 7,
|
| 128 |
+
"seconds": 0.035
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"function": "transformers/masking_utils.py:97 sliding_window_overlay.<locals>.inner_mask",
|
| 132 |
+
"area": "transformers, other",
|
| 133 |
+
"samples": 7,
|
| 134 |
+
"seconds": 0.035
|
| 135 |
+
},
|
| 136 |
+
{
|
| 137 |
+
"function": "transformers/generation/utils.py:1284 GenerationMixin._update_model_kwargs_for_generation",
|
| 138 |
+
"area": "transformers generation",
|
| 139 |
+
"samples": 7,
|
| 140 |
+
"seconds": 0.035
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"function": "transformers/generation/utils.py:3285 GenerationMixin._sample",
|
| 144 |
+
"area": "transformers generation",
|
| 145 |
+
"samples": 6,
|
| 146 |
+
"seconds": 0.03
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"function": "transformers/generation/utils.py:704 GenerationMixin.prepare_inputs_for_generation",
|
| 150 |
+
"area": "transformers generation",
|
| 151 |
+
"samples": 6,
|
| 152 |
+
"seconds": 0.03
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"function": "transformers/masking_utils.py:78 causal_mask_function",
|
| 156 |
+
"area": "transformers, other",
|
| 157 |
+
"samples": 5,
|
| 158 |
+
"seconds": 0.025
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"function": "transformers/masking_utils.py:54 and_masks.<locals>.and_mask",
|
| 162 |
+
"area": "transformers, other",
|
| 163 |
+
"samples": 5,
|
| 164 |
+
"seconds": 0.025
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"function": "torch/nn/modules/linear.py:134 Linear.forward",
|
| 168 |
+
"area": "torch",
|
| 169 |
+
"samples": 5,
|
| 170 |
+
"seconds": 0.025
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"function": "transformers/models/gemma3/modeling_gemma3.py:204 rotate_half",
|
| 174 |
+
"area": "transformers models",
|
| 175 |
+
"samples": 5,
|
| 176 |
+
"seconds": 0.025
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"function": "transformers/generation/utils.py:3287 GenerationMixin._sample",
|
| 180 |
+
"area": "transformers generation",
|
| 181 |
+
"samples": 5,
|
| 182 |
+
"seconds": 0.025
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"function": "transformers/cache_utils.py:1972 Cache.is_linear",
|
| 186 |
+
"area": "transformers cache",
|
| 187 |
+
"samples": 4,
|
| 188 |
+
"seconds": 0.02
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"function": "transformers/models/gemma3/modeling_gemma3.py:129 Gemma3RMSNorm.forward",
|
| 192 |
+
"area": "transformers models",
|
| 193 |
+
"samples": 4,
|
| 194 |
+
"seconds": 0.02
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"function": "transformers/generation/stopping_criteria.py:620 StoppingCriteriaList.__call__",
|
| 198 |
+
"area": "transformers generation",
|
| 199 |
+
"samples": 4,
|
| 200 |
+
"seconds": 0.02
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"function": "transformers/integrations/sdpa_attention.py:182 sdpa_attention_forward",
|
| 204 |
+
"area": "transformers models",
|
| 205 |
+
"samples": 4,
|
| 206 |
+
"seconds": 0.02
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"function": "transformers/generation/stopping_criteria.py:622 StoppingCriteriaList.__call__",
|
| 210 |
+
"area": "transformers generation",
|
| 211 |
+
"samples": 4,
|
| 212 |
+
"seconds": 0.02
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"function": "transformers/models/gemma3/modeling_gemma3.py:132 Gemma3RMSNorm.forward",
|
| 216 |
+
"area": "transformers models",
|
| 217 |
+
"samples": 4,
|
| 218 |
+
"seconds": 0.02
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"function": "torch/cuda/memory.py:230 empty_cache",
|
| 222 |
+
"area": "torch",
|
| 223 |
+
"samples": 3,
|
| 224 |
+
"seconds": 0.015
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"function": "transformers/generation/utils.py:743 GenerationMixin.prepare_inputs_for_generation",
|
| 228 |
+
"area": "transformers generation",
|
| 229 |
+
"samples": 3,
|
| 230 |
+
"seconds": 0.015
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"function": "transformers/masking_utils.py:539 sdpa_mask",
|
| 234 |
+
"area": "transformers, other",
|
| 235 |
+
"samples": 3,
|
| 236 |
+
"seconds": 0.015
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"function": "torch/_ops.py:916 OpOverload.__call__",
|
| 240 |
+
"area": "torch",
|
| 241 |
+
"samples": 3,
|
| 242 |
+
"seconds": 0.015
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"function": "transformers/masking_utils.py:1644 create_masks_for_generate",
|
| 246 |
+
"area": "transformers, other",
|
| 247 |
+
"samples": 3,
|
| 248 |
+
"seconds": 0.015
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"function": "transformers/models/gemma3/modeling_gemma3.py:228 apply_rotary_pos_emb",
|
| 252 |
+
"area": "transformers models",
|
| 253 |
+
"samples": 3,
|
| 254 |
+
"seconds": 0.015
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"function": "transformers/cache_utils.py:605 StaticSlidingWindowLayer.update",
|
| 258 |
+
"area": "transformers cache",
|
| 259 |
+
"samples": 3,
|
| 260 |
+
"seconds": 0.015
|
| 261 |
+
}
|
| 262 |
+
],
|
| 263 |
+
"inclusive": [
|
| 264 |
+
{
|
| 265 |
+
"function": "no_grad (torch/utils/_contextlib.py)",
|
| 266 |
+
"area": "torch",
|
| 267 |
+
"samples": 2031,
|
| 268 |
+
"seconds": 10.155
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"function": "deprecate_kwarg.<locals>.wrapper.<locals>.wrapped_func (transformers/utils/deprecation.py)",
|
| 272 |
+
"area": "transformers, other",
|
| 273 |
+
"samples": 2031,
|
| 274 |
+
"seconds": 10.155
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"function": "GenerationMixin.generate (transformers/generation/utils.py)",
|
| 278 |
+
"area": "transformers generation",
|
| 279 |
+
"samples": 2031,
|
| 280 |
+
"seconds": 10.155
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"function": "GenerationMixin._sample (transformers/generation/utils.py)",
|
| 284 |
+
"area": "transformers generation",
|
| 285 |
+
"samples": 2026,
|
| 286 |
+
"seconds": 10.13
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"function": "StopCheck.__call__ (transformers/generation/utils.py)",
|
| 290 |
+
"area": "transformers generation",
|
| 291 |
+
"samples": 1591,
|
| 292 |
+
"seconds": 7.955
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"function": "Module._call_impl (torch/nn/modules/module.py)",
|
| 296 |
+
"area": "torch",
|
| 297 |
+
"samples": 217,
|
| 298 |
+
"seconds": 1.085
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"function": "Module._wrapped_call_impl (torch/nn/modules/module.py)",
|
| 302 |
+
"area": "torch",
|
| 303 |
+
"samples": 215,
|
| 304 |
+
"seconds": 1.075
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"function": "_TorchDynamoContext.__call__.<locals>.compile_wrapper (torch/_dynamo/eval_frame.py)",
|
| 308 |
+
"area": "torch.compile",
|
| 309 |
+
"samples": 167,
|
| 310 |
+
"seconds": 0.835
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"function": "can_return_tuple.<locals>.wrapper (transformers/utils/generic.py)",
|
| 314 |
+
"area": "transformers, other",
|
| 315 |
+
"samples": 142,
|
| 316 |
+
"seconds": 0.71
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"function": "GenerationMixin.prepare_inputs_for_generation (transformers/generation/utils.py)",
|
| 320 |
+
"area": "transformers generation",
|
| 321 |
+
"samples": 114,
|
| 322 |
+
"seconds": 0.57
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"function": "create_masks_for_generate (transformers/masking_utils.py)",
|
| 326 |
+
"area": "transformers, other",
|
| 327 |
+
"samples": 81,
|
| 328 |
+
"seconds": 0.405
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"function": "sdpa_mask (transformers/masking_utils.py)",
|
| 332 |
+
"area": "transformers, other",
|
| 333 |
+
"samples": 71,
|
| 334 |
+
"seconds": 0.355
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"function": "Gemma3TextModel.forward (transformers/models/gemma3/modeling_gemma3.py)",
|
| 338 |
+
"area": "transformers models",
|
| 339 |
+
"samples": 64,
|
| 340 |
+
"seconds": 0.32
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"function": "capture_outputs.<locals>.wrapped_fn.<locals>.wrapper (transformers/utils/output_capturing.py)",
|
| 344 |
+
"area": "transformers, other",
|
| 345 |
+
"samples": 64,
|
| 346 |
+
"seconds": 0.32
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"function": "Gemma3ForCausalLM.forward (transformers/models/gemma3/modeling_gemma3.py)",
|
| 350 |
+
"area": "transformers models",
|
| 351 |
+
"samples": 64,
|
| 352 |
+
"seconds": 0.32
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"function": "GenerationMixin._prefill (transformers/generation/utils.py)",
|
| 356 |
+
"area": "transformers generation",
|
| 357 |
+
"samples": 64,
|
| 358 |
+
"seconds": 0.32
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"function": "merge_with_config_defaults.<locals>.wrapper (transformers/utils/generic.py)",
|
| 362 |
+
"area": "transformers, other",
|
| 363 |
+
"samples": 64,
|
| 364 |
+
"seconds": 0.32
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"function": "DisableContext.__call__.<locals>._fn (torch/_dynamo/eval_frame.py)",
|
| 368 |
+
"area": "torch.compile",
|
| 369 |
+
"samples": 63,
|
| 370 |
+
"seconds": 0.315
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"function": "_create_runtime_wrapper.<locals>.runtime_wrapper (torch/_functorch/_aot_autograd/runtime_wrappers.py)",
|
| 374 |
+
"area": "torch",
|
| 375 |
+
"samples": 62,
|
| 376 |
+
"seconds": 0.31
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"function": "SerializableCompiledFunction.__call__ (torch/_functorch/_aot_autograd/runtime_wrappers.py)",
|
| 380 |
+
"area": "torch",
|
| 381 |
+
"samples": 62,
|
| 382 |
+
"seconds": 0.31
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"function": "_runtime_wrapper (/opt/bench/tbv2-venv/lib/python3.14/site-packages/torch/_functorch/_aot_autograd/codegen.py:codegen(runtime_wrapper_orchestration):9) ()",
|
| 386 |
+
"area": "native, other",
|
| 387 |
+
"samples": 62,
|
| 388 |
+
"seconds": 0.31
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"function": "aot_module_simplified.<locals>.forward (torch/_functorch/aot_autograd.py)",
|
| 392 |
+
"area": "torch",
|
| 393 |
+
"samples": 62,
|
| 394 |
+
"seconds": 0.31
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"function": "Gemma3DecoderLayer.forward (transformers/models/gemma3/modeling_gemma3.py)",
|
| 398 |
+
"area": "transformers models",
|
| 399 |
+
"samples": 62,
|
| 400 |
+
"seconds": 0.31
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"function": "GradientCheckpointingLayer.__init_subclass__.<locals>.forward_with_checkpointing (transformers/modeling_layers.py)",
|
| 404 |
+
"area": "transformers models",
|
| 405 |
+
"samples": 62,
|
| 406 |
+
"seconds": 0.31
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"function": "CompiledFxGraph.__call__ (torch/_inductor/output_code.py)",
|
| 410 |
+
"area": "torch.compile",
|
| 411 |
+
"samples": 61,
|
| 412 |
+
"seconds": 0.305
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"function": "cudagraphify.<locals>.run (torch/_inductor/compile_fx.py)",
|
| 416 |
+
"area": "torch.compile",
|
| 417 |
+
"samples": 59,
|
| 418 |
+
"seconds": 0.295
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"function": "cudagraphify_impl.<locals>.deferred_cudagraphify (torch/_inductor/cudagraph_trees.py)",
|
| 422 |
+
"area": "torch.compile",
|
| 423 |
+
"samples": 59,
|
| 424 |
+
"seconds": 0.295
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"function": "align_inputs_from_check_idxs.<locals>.run (torch/_inductor/utils.py)",
|
| 428 |
+
"area": "torch.compile",
|
| 429 |
+
"samples": 58,
|
| 430 |
+
"seconds": 0.29
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"function": "CUDAGraphTreeManager.run (torch/_inductor/cudagraph_trees.py)",
|
| 434 |
+
"area": "torch.compile",
|
| 435 |
+
"samples": 57,
|
| 436 |
+
"seconds": 0.285
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"function": "CUDAGraphTreeManager._run (torch/_inductor/cudagraph_trees.py)",
|
| 440 |
+
"area": "torch.compile",
|
| 441 |
+
"samples": 57,
|
| 442 |
+
"seconds": 0.285
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"function": "create_sliding_window_causal_mask (transformers/masking_utils.py)",
|
| 446 |
+
"area": "transformers, other",
|
| 447 |
+
"samples": 48,
|
| 448 |
+
"seconds": 0.24
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"function": "Gemma3Attention.forward (transformers/models/gemma3/modeling_gemma3.py)",
|
| 452 |
+
"area": "transformers models",
|
| 453 |
+
"samples": 39,
|
| 454 |
+
"seconds": 0.195
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"function": "Runner.call (c3dakf4hllg5m6u2db5r7rqvysw5qyx6mymhndlw2nitrkrutc5h.py)",
|
| 458 |
+
"area": "Python, other",
|
| 459 |
+
"samples": 34,
|
| 460 |
+
"seconds": 0.17
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"function": "StoppingCriteriaList.__call__ (transformers/generation/stopping_criteria.py)",
|
| 464 |
+
"area": "transformers generation",
|
| 465 |
+
"samples": 32,
|
| 466 |
+
"seconds": 0.16
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"function": "Runner.call (cwxr7lnbqeyqcndpizfb3jjh4mvzood2m6jgh3osmn2iakwetayl.py)",
|
| 470 |
+
"area": "Python, other",
|
| 471 |
+
"samples": 27,
|
| 472 |
+
"seconds": 0.135
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"function": "Gemma3RMSNorm.forward (transformers/models/gemma3/modeling_gemma3.py)",
|
| 476 |
+
"area": "transformers models",
|
| 477 |
+
"samples": 26,
|
| 478 |
+
"seconds": 0.13
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"function": "CUDAGraphTreeManager.record_function (torch/_inductor/cudagraph_trees.py)",
|
| 482 |
+
"area": "torch.compile",
|
| 483 |
+
"samples": 26,
|
| 484 |
+
"seconds": 0.13
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"function": "GenerationMixin._update_model_kwargs_for_generation (transformers/generation/utils.py)",
|
| 488 |
+
"area": "transformers generation",
|
| 489 |
+
"samples": 25,
|
| 490 |
+
"seconds": 0.125
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"function": "create_causal_mask (transformers/masking_utils.py)",
|
| 494 |
+
"area": "transformers, other",
|
| 495 |
+
"samples": 25,
|
| 496 |
+
"seconds": 0.125
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"function": "EosTokenCriteria.__call__ (transformers/generation/stopping_criteria.py)",
|
| 500 |
+
"area": "transformers generation",
|
| 501 |
+
"samples": 24,
|
| 502 |
+
"seconds": 0.12
|
| 503 |
+
}
|
| 504 |
+
],
|
| 505 |
+
"wall_seconds": 23.03177001953125,
|
| 506 |
+
"tokens": 1280
|
| 507 |
+
},
|
| 508 |
+
{
|
| 509 |
+
"name": "first generation",
|
| 510 |
+
"samples": 2998,
|
| 511 |
+
"seconds": 14.99,
|
| 512 |
+
"by_area": {
|
| 513 |
+
"Python, other": 6.44,
|
| 514 |
+
"torch.compile": 5.035,
|
| 515 |
+
"(benchmark tool)": 1.125,
|
| 516 |
+
"torch": 1.11,
|
| 517 |
+
"transformers generation": 1.005,
|
| 518 |
+
"transformers models": 0.14,
|
| 519 |
+
"transformers, other": 0.085,
|
| 520 |
+
"native, other": 0.03,
|
| 521 |
+
"transformers cache": 0.02
|
| 522 |
+
},
|
| 523 |
+
"self": [
|
| 524 |
+
{
|
| 525 |
+
"function": "ast.py:46 parse",
|
| 526 |
+
"area": "Python, other",
|
| 527 |
+
"samples": 443,
|
| 528 |
+
"seconds": 2.215
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"function": "transformers/generation/utils.py:395 StopCheck.__call__",
|
| 532 |
+
"area": "transformers generation",
|
| 533 |
+
"samples": 162,
|
| 534 |
+
"seconds": 0.81
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"function": "traceback.py:555 StackSummary.format_frame_summary",
|
| 538 |
+
"area": "Python, other",
|
| 539 |
+
"samples": 65,
|
| 540 |
+
"seconds": 0.325
|
| 541 |
+
},
|
| 542 |
+
{
|
| 543 |
+
"function": "traceback.py:597 StackSummary.format_frame_summary",
|
| 544 |
+
"area": "Python, other",
|
| 545 |
+
"samples": 57,
|
| 546 |
+
"seconds": 0.285
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"function": "torch/fx/graph_module.py:145 _exec_with_source",
|
| 550 |
+
"area": "torch.compile",
|
| 551 |
+
"samples": 56,
|
| 552 |
+
"seconds": 0.28
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"function": "torch/_dynamo/exc.py:988 _extract_stack_with_positions",
|
| 556 |
+
"area": "torch.compile",
|
| 557 |
+
"samples": 56,
|
| 558 |
+
"seconds": 0.28
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"function": "traceback.py:949 _extract_caret_anchors_from_line_segment",
|
| 562 |
+
"area": "Python, other",
|
| 563 |
+
"samples": 55,
|
| 564 |
+
"seconds": 0.275
|
| 565 |
+
},
|
| 566 |
+
{
|
| 567 |
+
"function": "traceback.py:596 StackSummary.format_frame_summary",
|
| 568 |
+
"area": "Python, other",
|
| 569 |
+
"samples": 54,
|
| 570 |
+
"seconds": 0.27
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"function": "torch/_dynamo/symbolic_convert.py:1858 InstructionTranslatorBase.step",
|
| 574 |
+
"area": "torch.compile",
|
| 575 |
+
"samples": 51,
|
| 576 |
+
"seconds": 0.255
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"function": "triton/runtime/cache.py:309 triton_key",
|
| 580 |
+
"area": "torch.compile",
|
| 581 |
+
"samples": 51,
|
| 582 |
+
"seconds": 0.255
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"function": "traceback.py:703 StackSummary.format_frame_summary",
|
| 586 |
+
"area": "Python, other",
|
| 587 |
+
"samples": 42,
|
| 588 |
+
"seconds": 0.21
|
| 589 |
+
},
|
| 590 |
+
{
|
| 591 |
+
"function": "torch/nn/modules/linear.py:134 Linear.forward",
|
| 592 |
+
"area": "torch",
|
| 593 |
+
"samples": 38,
|
| 594 |
+
"seconds": 0.19
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"function": "torch/_dynamo/utils.py:4549 run_node",
|
| 598 |
+
"area": "torch.compile",
|
| 599 |
+
"samples": 34,
|
| 600 |
+
"seconds": 0.17
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"function": "traceback.py:700 StackSummary.format_frame_summary",
|
| 604 |
+
"area": "Python, other",
|
| 605 |
+
"samples": 34,
|
| 606 |
+
"seconds": 0.17
|
| 607 |
+
},
|
| 608 |
+
{
|
| 609 |
+
"function": "traceback.py:763 StackSummary.format",
|
| 610 |
+
"area": "Python, other",
|
| 611 |
+
"samples": 30,
|
| 612 |
+
"seconds": 0.15
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"function": "torch/_dynamo/convert_frame.py:2258 _compile",
|
| 616 |
+
"area": "torch.compile",
|
| 617 |
+
"samples": 27,
|
| 618 |
+
"seconds": 0.135
|
| 619 |
+
},
|
| 620 |
+
{
|
| 621 |
+
"function": "<frozen importlib._bootstrap_external>:511 _compile_bytecode",
|
| 622 |
+
"area": "Python, other",
|
| 623 |
+
"samples": 22,
|
| 624 |
+
"seconds": 0.11
|
| 625 |
+
},
|
| 626 |
+
{
|
| 627 |
+
"function": "dataclasses.py:506 _FuncBuilder.add_fns_to_class",
|
| 628 |
+
"area": "Python, other",
|
| 629 |
+
"samples": 21,
|
| 630 |
+
"seconds": 0.105
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"function": "torch/_inductor/runtime/compile_tasks.py:29 _reload_python_module",
|
| 634 |
+
"area": "torch.compile",
|
| 635 |
+
"samples": 21,
|
| 636 |
+
"seconds": 0.105
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"function": "traceback.py:841 _extract_caret_anchors_from_line_segment",
|
| 640 |
+
"area": "Python, other",
|
| 641 |
+
"samples": 20,
|
| 642 |
+
"seconds": 0.1
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"function": "traceback.py:543 StackSummary.format_frame_summary",
|
| 646 |
+
"area": "Python, other",
|
| 647 |
+
"samples": 18,
|
| 648 |
+
"seconds": 0.09
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"function": "traceback.py:953 _extract_caret_anchors_from_line_segment",
|
| 652 |
+
"area": "Python, other",
|
| 653 |
+
"samples": 18,
|
| 654 |
+
"seconds": 0.09
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"function": "traceback.py:595 StackSummary.format_frame_summary",
|
| 658 |
+
"area": "Python, other",
|
| 659 |
+
"samples": 18,
|
| 660 |
+
"seconds": 0.09
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"function": "traceback.py:714 StackSummary._should_show_carets",
|
| 664 |
+
"area": "Python, other",
|
| 665 |
+
"samples": 17,
|
| 666 |
+
"seconds": 0.085
|
| 667 |
+
},
|
| 668 |
+
{
|
| 669 |
+
"function": "traceback.py:691 StackSummary.format_frame_summary",
|
| 670 |
+
"area": "Python, other",
|
| 671 |
+
"samples": 17,
|
| 672 |
+
"seconds": 0.085
|
| 673 |
+
},
|
| 674 |
+
{
|
| 675 |
+
"function": "transformers/models/gemma3/modeling_gemma3.py:126 Gemma3RMSNorm._norm",
|
| 676 |
+
"area": "transformers models",
|
| 677 |
+
"samples": 15,
|
| 678 |
+
"seconds": 0.075
|
| 679 |
+
},
|
| 680 |
+
{
|
| 681 |
+
"function": "traceback.py:690 StackSummary.format_frame_summary",
|
| 682 |
+
"area": "Python, other",
|
| 683 |
+
"samples": 13,
|
| 684 |
+
"seconds": 0.065
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"function": "torch/_dynamo/utils.py:4561 run_node",
|
| 688 |
+
"area": "torch.compile",
|
| 689 |
+
"samples": 13,
|
| 690 |
+
"seconds": 0.065
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"function": "traceback.py:573 StackSummary.format_frame_summary",
|
| 694 |
+
"area": "Python, other",
|
| 695 |
+
"samples": 12,
|
| 696 |
+
"seconds": 0.06
|
| 697 |
+
},
|
| 698 |
+
{
|
| 699 |
+
"function": "torch/_dynamo/output_graph.py:4244 SubgraphTracer._create_proxy",
|
| 700 |
+
"area": "torch.compile",
|
| 701 |
+
"samples": 12,
|
| 702 |
+
"seconds": 0.06
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"function": "torch/_guards.py:1527 ChainedSource.get_value",
|
| 706 |
+
"area": "torch",
|
| 707 |
+
"samples": 11,
|
| 708 |
+
"seconds": 0.055
|
| 709 |
+
},
|
| 710 |
+
{
|
| 711 |
+
"function": "torch/_dynamo/symbolic_convert.py:1871 InstructionTranslatorBase.step",
|
| 712 |
+
"area": "torch.compile",
|
| 713 |
+
"samples": 11,
|
| 714 |
+
"seconds": 0.055
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"function": "traceback.py:636 StackSummary.format_frame_summary",
|
| 718 |
+
"area": "Python, other",
|
| 719 |
+
"samples": 11,
|
| 720 |
+
"seconds": 0.055
|
| 721 |
+
},
|
| 722 |
+
{
|
| 723 |
+
"function": "traceback.py:795 _byte_offset_to_character_offset",
|
| 724 |
+
"area": "Python, other",
|
| 725 |
+
"samples": 11,
|
| 726 |
+
"seconds": 0.055
|
| 727 |
+
},
|
| 728 |
+
{
|
| 729 |
+
"function": "triton/runtime/cache.py:306 triton_key",
|
| 730 |
+
"area": "torch.compile",
|
| 731 |
+
"samples": 11,
|
| 732 |
+
"seconds": 0.055
|
| 733 |
+
},
|
| 734 |
+
{
|
| 735 |
+
"function": "traceback.py:570 StackSummary.format_frame_summary",
|
| 736 |
+
"area": "Python, other",
|
| 737 |
+
"samples": 10,
|
| 738 |
+
"seconds": 0.05
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"function": "torch/_dynamo/variables/builder.py:1149 VariableBuilder._wrap",
|
| 742 |
+
"area": "torch.compile",
|
| 743 |
+
"samples": 10,
|
| 744 |
+
"seconds": 0.05
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"function": "torch/_dynamo/output_graph.py:4245 SubgraphTracer._create_proxy",
|
| 748 |
+
"area": "torch.compile",
|
| 749 |
+
"samples": 10,
|
| 750 |
+
"seconds": 0.05
|
| 751 |
+
},
|
| 752 |
+
{
|
| 753 |
+
"function": "transformers/generation/utils.py:924 GenerationMixin._prepare_position_ids_for_generation",
|
| 754 |
+
"area": "transformers generation",
|
| 755 |
+
"samples": 10,
|
| 756 |
+
"seconds": 0.05
|
| 757 |
+
},
|
| 758 |
+
{
|
| 759 |
+
"function": "torch/_dynamo/symbolic_convert.py:5383 InstructionTranslatorBase.frame_summary",
|
| 760 |
+
"area": "torch.compile",
|
| 761 |
+
"samples": 10,
|
| 762 |
+
"seconds": 0.05
|
| 763 |
+
}
|
| 764 |
+
],
|
| 765 |
+
"inclusive": [
|
| 766 |
+
{
|
| 767 |
+
"function": "GenerationMixin.generate (transformers/generation/utils.py)",
|
| 768 |
+
"area": "transformers generation",
|
| 769 |
+
"samples": 2773,
|
| 770 |
+
"seconds": 13.865
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"function": "deprecate_kwarg.<locals>.wrapper.<locals>.wrapped_func (transformers/utils/deprecation.py)",
|
| 774 |
+
"area": "transformers, other",
|
| 775 |
+
"samples": 2773,
|
| 776 |
+
"seconds": 13.865
|
| 777 |
+
},
|
| 778 |
+
{
|
| 779 |
+
"function": "no_grad (torch/utils/_contextlib.py)",
|
| 780 |
+
"area": "torch",
|
| 781 |
+
"samples": 2773,
|
| 782 |
+
"seconds": 13.865
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"function": "GenerationMixin._sample (transformers/generation/utils.py)",
|
| 786 |
+
"area": "transformers generation",
|
| 787 |
+
"samples": 2752,
|
| 788 |
+
"seconds": 13.76
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"function": "Module._wrapped_call_impl (torch/nn/modules/module.py)",
|
| 792 |
+
"area": "torch",
|
| 793 |
+
"samples": 2532,
|
| 794 |
+
"seconds": 12.66
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"function": "Module._call_impl (torch/nn/modules/module.py)",
|
| 798 |
+
"area": "torch",
|
| 799 |
+
"samples": 2532,
|
| 800 |
+
"seconds": 12.66
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"function": "_TorchDynamoContext.__call__.<locals>.compile_wrapper (torch/_dynamo/eval_frame.py)",
|
| 804 |
+
"area": "torch.compile",
|
| 805 |
+
"samples": 2461,
|
| 806 |
+
"seconds": 12.305
|
| 807 |
+
},
|
| 808 |
+
{
|
| 809 |
+
"function": "_compile (torch/_dynamo/convert_frame.py)",
|
| 810 |
+
"area": "torch.compile",
|
| 811 |
+
"samples": 2422,
|
| 812 |
+
"seconds": 12.11
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"function": "ConvertFrameAssert.__call__ (torch/_dynamo/convert_frame.py)",
|
| 816 |
+
"area": "torch.compile",
|
| 817 |
+
"samples": 2422,
|
| 818 |
+
"seconds": 12.11
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"function": "CatchErrorsWrapper.__call__ (torch/_dynamo/convert_frame.py)",
|
| 822 |
+
"area": "torch.compile",
|
| 823 |
+
"samples": 2422,
|
| 824 |
+
"seconds": 12.11
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"function": "_compile.<locals>._compile_inner (torch/_dynamo/convert_frame.py)",
|
| 828 |
+
"area": "torch.compile",
|
| 829 |
+
"samples": 2388,
|
| 830 |
+
"seconds": 11.94
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"function": "compile_time_strobelight_meta.<locals>.compile_time_strobelight_meta_inner.<locals>.wrapper_function (torch/_utils_internal.py)",
|
| 834 |
+
"area": "torch",
|
| 835 |
+
"samples": 2388,
|
| 836 |
+
"seconds": 11.94
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"function": "_compile.<locals>.compile_inner (torch/_dynamo/convert_frame.py)",
|
| 840 |
+
"area": "torch.compile",
|
| 841 |
+
"samples": 2388,
|
| 842 |
+
"seconds": 11.94
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"function": "transform_code_object (torch/_dynamo/bytecode_transformation.py)",
|
| 846 |
+
"area": "torch.compile",
|
| 847 |
+
"samples": 2286,
|
| 848 |
+
"seconds": 11.43
|
| 849 |
+
},
|
| 850 |
+
{
|
| 851 |
+
"function": "compile_frame (torch/_dynamo/convert_frame.py)",
|
| 852 |
+
"area": "torch.compile",
|
| 853 |
+
"samples": 2286,
|
| 854 |
+
"seconds": 11.43
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"function": "compile_frame.<locals>.transform (torch/_dynamo/convert_frame.py)",
|
| 858 |
+
"area": "torch.compile",
|
| 859 |
+
"samples": 2263,
|
| 860 |
+
"seconds": 11.315
|
| 861 |
+
},
|
| 862 |
+
{
|
| 863 |
+
"function": "trace_frame (torch/_dynamo/convert_frame.py)",
|
| 864 |
+
"area": "torch.compile",
|
| 865 |
+
"samples": 2263,
|
| 866 |
+
"seconds": 11.315
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"function": "preserve_global_state.<locals>._fn (torch/_dynamo/convert_frame.py)",
|
| 870 |
+
"area": "torch.compile",
|
| 871 |
+
"samples": 2263,
|
| 872 |
+
"seconds": 11.315
|
| 873 |
+
},
|
| 874 |
+
{
|
| 875 |
+
"function": "trace_frame.<locals>.run_tracer (torch/_dynamo/convert_frame.py)",
|
| 876 |
+
"area": "torch.compile",
|
| 877 |
+
"samples": 2260,
|
| 878 |
+
"seconds": 11.3
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"function": "InstructionTranslatorBase.run (torch/_dynamo/symbolic_convert.py)",
|
| 882 |
+
"area": "torch.compile",
|
| 883 |
+
"samples": 2260,
|
| 884 |
+
"seconds": 11.3
|
| 885 |
+
},
|
| 886 |
+
{
|
| 887 |
+
"function": "InstructionTranslatorBase.step (torch/_dynamo/symbolic_convert.py)",
|
| 888 |
+
"area": "torch.compile",
|
| 889 |
+
"samples": 2259,
|
| 890 |
+
"seconds": 11.295
|
| 891 |
+
},
|
| 892 |
+
{
|
| 893 |
+
"function": "break_graph_if_unsupported.<locals>.decorator.<locals>.wrapper (torch/_dynamo/symbolic_convert.py)",
|
| 894 |
+
"area": "torch.compile",
|
| 895 |
+
"samples": 1814,
|
| 896 |
+
"seconds": 9.07
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"function": "InstructionTranslatorBase.call_function (torch/_dynamo/symbolic_convert.py)",
|
| 900 |
+
"area": "torch.compile",
|
| 901 |
+
"samples": 1814,
|
| 902 |
+
"seconds": 9.07
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"function": "_create_realize_and_forward.<locals>.realize_and_forward (torch/_dynamo/variables/lazy.py)",
|
| 906 |
+
"area": "torch.compile",
|
| 907 |
+
"samples": 1811,
|
| 908 |
+
"seconds": 9.055
|
| 909 |
+
},
|
| 910 |
+
{
|
| 911 |
+
"function": "InstructionTranslatorBase.inline_user_function_return (torch/_dynamo/symbolic_convert.py)",
|
| 912 |
+
"area": "torch.compile",
|
| 913 |
+
"samples": 1807,
|
| 914 |
+
"seconds": 9.035
|
| 915 |
+
},
|
| 916 |
+
{
|
| 917 |
+
"function": "UserFunctionVariable.call_function (torch/_dynamo/variables/functions.py)",
|
| 918 |
+
"area": "torch.compile",
|
| 919 |
+
"samples": 1807,
|
| 920 |
+
"seconds": 9.035
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"function": "InliningInstructionTranslator.inline_call (torch/_dynamo/symbolic_convert.py)",
|
| 924 |
+
"area": "torch.compile",
|
| 925 |
+
"samples": 1807,
|
| 926 |
+
"seconds": 9.035
|
| 927 |
+
},
|
| 928 |
+
{
|
| 929 |
+
"function": "BaseUserFunctionVariable.call_function (torch/_dynamo/variables/functions.py)",
|
| 930 |
+
"area": "torch.compile",
|
| 931 |
+
"samples": 1807,
|
| 932 |
+
"seconds": 9.035
|
| 933 |
+
},
|
| 934 |
+
{
|
| 935 |
+
"function": "InliningInstructionTranslator.inline_call_ (torch/_dynamo/symbolic_convert.py)",
|
| 936 |
+
"area": "torch.compile",
|
| 937 |
+
"samples": 1807,
|
| 938 |
+
"seconds": 9.035
|
| 939 |
+
},
|
| 940 |
+
{
|
| 941 |
+
"function": "InstructionTranslatorBase.CALL_FUNCTION_EX (torch/_dynamo/symbolic_convert.py)",
|
| 942 |
+
"area": "torch.compile",
|
| 943 |
+
"samples": 1807,
|
| 944 |
+
"seconds": 9.035
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"function": "UnspecializedNNModuleVariable.call_function (torch/_dynamo/variables/nn_module.py)",
|
| 948 |
+
"area": "torch.compile",
|
| 949 |
+
"samples": 1790,
|
| 950 |
+
"seconds": 8.95
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"function": "InstructionTranslatorBase._call (torch/_dynamo/symbolic_convert.py)",
|
| 954 |
+
"area": "torch.compile",
|
| 955 |
+
"samples": 1661,
|
| 956 |
+
"seconds": 8.305
|
| 957 |
+
},
|
| 958 |
+
{
|
| 959 |
+
"function": "InstructionTranslatorBase.CALL (torch/_dynamo/symbolic_convert.py)",
|
| 960 |
+
"area": "torch.compile",
|
| 961 |
+
"samples": 1503,
|
| 962 |
+
"seconds": 7.515
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"function": "SubgraphTracer.create_proxy (torch/_dynamo/output_graph.py)",
|
| 966 |
+
"area": "torch.compile",
|
| 967 |
+
"samples": 1253,
|
| 968 |
+
"seconds": 6.265
|
| 969 |
+
},
|
| 970 |
+
{
|
| 971 |
+
"function": "SubgraphTracer._create_proxy (torch/_dynamo/output_graph.py)",
|
| 972 |
+
"area": "torch.compile",
|
| 973 |
+
"samples": 1251,
|
| 974 |
+
"seconds": 6.255
|
| 975 |
+
},
|
| 976 |
+
{
|
| 977 |
+
"function": "StackSummary.format (traceback.py)",
|
| 978 |
+
"area": "Python, other",
|
| 979 |
+
"samples": 1151,
|
| 980 |
+
"seconds": 5.755
|
| 981 |
+
},
|
| 982 |
+
{
|
| 983 |
+
"function": "OutputGraph.create_proxy (torch/_dynamo/output_graph.py)",
|
| 984 |
+
"area": "torch.compile",
|
| 985 |
+
"samples": 1124,
|
| 986 |
+
"seconds": 5.62
|
| 987 |
+
},
|
| 988 |
+
{
|
| 989 |
+
"function": "StackSummary.format_frame_summary (traceback.py)",
|
| 990 |
+
"area": "Python, other",
|
| 991 |
+
"samples": 1117,
|
| 992 |
+
"seconds": 5.585
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"function": "UserMethodVariable.call_function (torch/_dynamo/variables/functions.py)",
|
| 996 |
+
"area": "torch.compile",
|
| 997 |
+
"samples": 601,
|
| 998 |
+
"seconds": 3.005
|
| 999 |
+
},
|
| 1000 |
+
{
|
| 1001 |
+
"function": "GetAttrVariable.call_function (torch/_dynamo/variables/misc.py)",
|
| 1002 |
+
"area": "torch.compile",
|
| 1003 |
+
"samples": 571,
|
| 1004 |
+
"seconds": 2.855
|
| 1005 |
+
}
|
| 1006 |
+
],
|
| 1007 |
+
"wall_seconds": 28.182421142578125,
|
| 1008 |
+
"tokens": 128
|
| 1009 |
+
},
|
| 1010 |
+
{
|
| 1011 |
+
"name": "other",
|
| 1012 |
+
"samples": 1108,
|
| 1013 |
+
"seconds": 5.54,
|
| 1014 |
+
"by_area": {
|
| 1015 |
+
"Python, other": 2.88,
|
| 1016 |
+
"torch": 0.985,
|
| 1017 |
+
"transformers, other": 0.795,
|
| 1018 |
+
"torch.compile": 0.695,
|
| 1019 |
+
"transformers models": 0.09,
|
| 1020 |
+
"(benchmark tool)": 0.07,
|
| 1021 |
+
"native, other": 0.02,
|
| 1022 |
+
"transformers generation": 0.005
|
| 1023 |
+
},
|
| 1024 |
+
"self": [
|
| 1025 |
+
{
|
| 1026 |
+
"function": "<frozen importlib._bootstrap_external>:511 _compile_bytecode",
|
| 1027 |
+
"area": "Python, other",
|
| 1028 |
+
"samples": 84,
|
| 1029 |
+
"seconds": 0.42
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"function": "<frozen importlib._bootstrap>:491 _call_with_frames_removed",
|
| 1033 |
+
"area": "Python, other",
|
| 1034 |
+
"samples": 63,
|
| 1035 |
+
"seconds": 0.315
|
| 1036 |
+
},
|
| 1037 |
+
{
|
| 1038 |
+
"function": "dataclasses.py:506 _FuncBuilder.add_fns_to_class",
|
| 1039 |
+
"area": "Python, other",
|
| 1040 |
+
"samples": 47,
|
| 1041 |
+
"seconds": 0.235
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"function": "transformers/core_model_loading.py:1466 _materialize_copy",
|
| 1045 |
+
"area": "transformers, other",
|
| 1046 |
+
"samples": 45,
|
| 1047 |
+
"seconds": 0.225
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"function": "ast.py:46 parse",
|
| 1051 |
+
"area": "Python, other",
|
| 1052 |
+
"samples": 29,
|
| 1053 |
+
"seconds": 0.145
|
| 1054 |
+
},
|
| 1055 |
+
{
|
| 1056 |
+
"function": "transformers/utils/import_utils.py:3148 fetch__all__",
|
| 1057 |
+
"area": "transformers, other",
|
| 1058 |
+
"samples": 27,
|
| 1059 |
+
"seconds": 0.135
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"function": "textwrap.py:444 dedent",
|
| 1063 |
+
"area": "Python, other",
|
| 1064 |
+
"samples": 25,
|
| 1065 |
+
"seconds": 0.125
|
| 1066 |
+
},
|
| 1067 |
+
{
|
| 1068 |
+
"function": "torch/cuda/__init__.py:1371 synchronize",
|
| 1069 |
+
"area": "torch",
|
| 1070 |
+
"samples": 24,
|
| 1071 |
+
"seconds": 0.12
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"function": "ctypes/__init__.py:475 CDLL._load_library",
|
| 1075 |
+
"area": "Python, other",
|
| 1076 |
+
"samples": 19,
|
| 1077 |
+
"seconds": 0.095
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"function": "<frozen posixpath>:457 realpath",
|
| 1081 |
+
"area": "Python, other",
|
| 1082 |
+
"samples": 16,
|
| 1083 |
+
"seconds": 0.08
|
| 1084 |
+
},
|
| 1085 |
+
{
|
| 1086 |
+
"function": "textwrap.py:441 dedent",
|
| 1087 |
+
"area": "Python, other",
|
| 1088 |
+
"samples": 14,
|
| 1089 |
+
"seconds": 0.07
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"function": "functools.py:593 lru_cache.<locals>.decorating_function",
|
| 1093 |
+
"area": "Python, other",
|
| 1094 |
+
"samples": 12,
|
| 1095 |
+
"seconds": 0.06
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"function": "<frozen importlib._bootstrap_external>:951 FileLoader.get_data",
|
| 1099 |
+
"area": "Python, other",
|
| 1100 |
+
"samples": 11,
|
| 1101 |
+
"seconds": 0.055
|
| 1102 |
+
},
|
| 1103 |
+
{
|
| 1104 |
+
"function": "transformers/utils/import_utils.py:3262 create_import_structure_from_path",
|
| 1105 |
+
"area": "transformers, other",
|
| 1106 |
+
"samples": 11,
|
| 1107 |
+
"seconds": 0.055
|
| 1108 |
+
},
|
| 1109 |
+
{
|
| 1110 |
+
"function": "torch/cuda/__init__.py:241 is_available",
|
| 1111 |
+
"area": "torch",
|
| 1112 |
+
"samples": 10,
|
| 1113 |
+
"seconds": 0.05
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"function": "transformers/utils/import_utils.py:3149 fetch__all__",
|
| 1117 |
+
"area": "transformers, other",
|
| 1118 |
+
"samples": 9,
|
| 1119 |
+
"seconds": 0.045
|
| 1120 |
+
},
|
| 1121 |
+
{
|
| 1122 |
+
"function": "torch/library.py:508 Library.impl",
|
| 1123 |
+
"area": "torch",
|
| 1124 |
+
"samples": 8,
|
| 1125 |
+
"seconds": 0.04
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"function": "transformers/core_model_loading.py:1464 _materialize_copy",
|
| 1129 |
+
"area": "transformers, other",
|
| 1130 |
+
"samples": 8,
|
| 1131 |
+
"seconds": 0.04
|
| 1132 |
+
},
|
| 1133 |
+
{
|
| 1134 |
+
"function": "transformers/utils/import_utils.py:3261 create_import_structure_from_path",
|
| 1135 |
+
"area": "transformers, other",
|
| 1136 |
+
"samples": 7,
|
| 1137 |
+
"seconds": 0.035
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"function": "transformers/utils/import_utils.py:3126 <lambda>",
|
| 1141 |
+
"area": "transformers, other",
|
| 1142 |
+
"samples": 7,
|
| 1143 |
+
"seconds": 0.035
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"function": "transformers/utils/import_utils.py:3150 fetch__all__",
|
| 1147 |
+
"area": "transformers, other",
|
| 1148 |
+
"samples": 7,
|
| 1149 |
+
"seconds": 0.035
|
| 1150 |
+
},
|
| 1151 |
+
{
|
| 1152 |
+
"function": "torch/_subclasses/fake_tensor.py:752 in_kernel_invocation_manager",
|
| 1153 |
+
"area": "torch",
|
| 1154 |
+
"samples": 6,
|
| 1155 |
+
"seconds": 0.03
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"function": "torch/_subclasses/fake_tensor.py:1038 FakeTensor.__new__",
|
| 1159 |
+
"area": "torch",
|
| 1160 |
+
"samples": 6,
|
| 1161 |
+
"seconds": 0.03
|
| 1162 |
+
},
|
| 1163 |
+
{
|
| 1164 |
+
"function": "transformers/utils/import_utils.py:3363 create_import_structure_from_path",
|
| 1165 |
+
"area": "transformers, other",
|
| 1166 |
+
"samples": 6,
|
| 1167 |
+
"seconds": 0.03
|
| 1168 |
+
},
|
| 1169 |
+
{
|
| 1170 |
+
"function": "textwrap.py:440 dedent",
|
| 1171 |
+
"area": "Python, other",
|
| 1172 |
+
"samples": 6,
|
| 1173 |
+
"seconds": 0.03
|
| 1174 |
+
},
|
| 1175 |
+
{
|
| 1176 |
+
"function": "torch/_subclasses/fake_tensor.py:1015 FakeTensor.__new__",
|
| 1177 |
+
"area": "torch",
|
| 1178 |
+
"samples": 5,
|
| 1179 |
+
"seconds": 0.025
|
| 1180 |
+
},
|
| 1181 |
+
{
|
| 1182 |
+
"function": "transformers/models/gemma3/modeling_gemma3.py:132 Gemma3RMSNorm.forward",
|
| 1183 |
+
"area": "transformers models",
|
| 1184 |
+
"samples": 5,
|
| 1185 |
+
"seconds": 0.025
|
| 1186 |
+
},
|
| 1187 |
+
{
|
| 1188 |
+
"function": "torch/_subclasses/fake_tensor.py:844 SymNumberMemoDescriptor.__set__",
|
| 1189 |
+
"area": "torch",
|
| 1190 |
+
"samples": 4,
|
| 1191 |
+
"seconds": 0.02
|
| 1192 |
+
},
|
| 1193 |
+
{
|
| 1194 |
+
"function": "filelock/_core/_fork.py:344 _audit_fork_safety",
|
| 1195 |
+
"area": "Python, other",
|
| 1196 |
+
"samples": 4,
|
| 1197 |
+
"seconds": 0.02
|
| 1198 |
+
},
|
| 1199 |
+
{
|
| 1200 |
+
"function": "inspect.py:2179 _signature_fromstr",
|
| 1201 |
+
"area": "Python, other",
|
| 1202 |
+
"samples": 4,
|
| 1203 |
+
"seconds": 0.02
|
| 1204 |
+
},
|
| 1205 |
+
{
|
| 1206 |
+
"function": "torch/cuda/graphs.py:725 CUDAGraph.replay",
|
| 1207 |
+
"area": "torch",
|
| 1208 |
+
"samples": 4,
|
| 1209 |
+
"seconds": 0.02
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"function": "textwrap.py:447 indent",
|
| 1213 |
+
"area": "Python, other",
|
| 1214 |
+
"samples": 4,
|
| 1215 |
+
"seconds": 0.02
|
| 1216 |
+
},
|
| 1217 |
+
{
|
| 1218 |
+
"function": "inspect.py:1688 _check_class",
|
| 1219 |
+
"area": "Python, other",
|
| 1220 |
+
"samples": 4,
|
| 1221 |
+
"seconds": 0.02
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"function": "torch/nn/modules/module.py:2894 Module.named_modules",
|
| 1225 |
+
"area": "torch",
|
| 1226 |
+
"samples": 4,
|
| 1227 |
+
"seconds": 0.02
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"function": "traceback.py:739 StackSummary._should_show_carets",
|
| 1231 |
+
"area": "Python, other",
|
| 1232 |
+
"samples": 4,
|
| 1233 |
+
"seconds": 0.02
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"function": "torch/_inductor/output_code.py:775 CompiledFxGraph.__del__",
|
| 1237 |
+
"area": "torch.compile",
|
| 1238 |
+
"samples": 4,
|
| 1239 |
+
"seconds": 0.02
|
| 1240 |
+
},
|
| 1241 |
+
{
|
| 1242 |
+
"function": "torch/_tensor.py:1120 Tensor.__rsub__",
|
| 1243 |
+
"area": "torch",
|
| 1244 |
+
"samples": 4,
|
| 1245 |
+
"seconds": 0.02
|
| 1246 |
+
},
|
| 1247 |
+
{
|
| 1248 |
+
"function": "torch/fx/experimental/symbolic_shapes.py:968 _iterate_exprs",
|
| 1249 |
+
"area": "torch.compile",
|
| 1250 |
+
"samples": 4,
|
| 1251 |
+
"seconds": 0.02
|
| 1252 |
+
},
|
| 1253 |
+
{
|
| 1254 |
+
"function": "pynvml.py:3403 nvmlDeviceGetHandleByUUID",
|
| 1255 |
+
"area": "Python, other",
|
| 1256 |
+
"samples": 3,
|
| 1257 |
+
"seconds": 0.015
|
| 1258 |
+
},
|
| 1259 |
+
{
|
| 1260 |
+
"function": "torch/_dynamo/variables/misc.py:215 SuperVariable._resolved_getattr_and_source",
|
| 1261 |
+
"area": "torch.compile",
|
| 1262 |
+
"samples": 3,
|
| 1263 |
+
"seconds": 0.015
|
| 1264 |
+
}
|
| 1265 |
+
],
|
| 1266 |
+
"inclusive": [
|
| 1267 |
+
{
|
| 1268 |
+
"function": "_load_unlocked (<frozen importlib._bootstrap>)",
|
| 1269 |
+
"area": "Python, other",
|
| 1270 |
+
"samples": 542,
|
| 1271 |
+
"seconds": 2.71
|
| 1272 |
+
},
|
| 1273 |
+
{
|
| 1274 |
+
"function": "_LoaderBasics.exec_module (<frozen importlib._bootstrap_external>)",
|
| 1275 |
+
"area": "Python, other",
|
| 1276 |
+
"samples": 538,
|
| 1277 |
+
"seconds": 2.69
|
| 1278 |
+
},
|
| 1279 |
+
{
|
| 1280 |
+
"function": "_find_and_load_unlocked (<frozen importlib._bootstrap>)",
|
| 1281 |
+
"area": "Python, other",
|
| 1282 |
+
"samples": 538,
|
| 1283 |
+
"seconds": 2.69
|
| 1284 |
+
},
|
| 1285 |
+
{
|
| 1286 |
+
"function": "_find_and_load (<frozen importlib._bootstrap>)",
|
| 1287 |
+
"area": "Python, other",
|
| 1288 |
+
"samples": 537,
|
| 1289 |
+
"seconds": 2.685
|
| 1290 |
+
},
|
| 1291 |
+
{
|
| 1292 |
+
"function": "_call_with_frames_removed (<frozen importlib._bootstrap>)",
|
| 1293 |
+
"area": "Python, other",
|
| 1294 |
+
"samples": 537,
|
| 1295 |
+
"seconds": 2.685
|
| 1296 |
+
},
|
| 1297 |
+
{
|
| 1298 |
+
"function": "_handle_fromlist (<frozen importlib._bootstrap>)",
|
| 1299 |
+
"area": "Python, other",
|
| 1300 |
+
"samples": 367,
|
| 1301 |
+
"seconds": 1.835
|
| 1302 |
+
},
|
| 1303 |
+
{
|
| 1304 |
+
"function": "import_module (importlib/__init__.py)",
|
| 1305 |
+
"area": "Python, other",
|
| 1306 |
+
"samples": 236,
|
| 1307 |
+
"seconds": 1.18
|
| 1308 |
+
},
|
| 1309 |
+
{
|
| 1310 |
+
"function": "_gcd_import (<frozen importlib._bootstrap>)",
|
| 1311 |
+
"area": "Python, other",
|
| 1312 |
+
"samples": 236,
|
| 1313 |
+
"seconds": 1.18
|
| 1314 |
+
},
|
| 1315 |
+
{
|
| 1316 |
+
"function": "_LazyModule._get_module (transformers/utils/import_utils.py)",
|
| 1317 |
+
"area": "transformers, other",
|
| 1318 |
+
"samples": 213,
|
| 1319 |
+
"seconds": 1.065
|
| 1320 |
+
},
|
| 1321 |
+
{
|
| 1322 |
+
"function": "_LazyModule.__getattr__ (transformers/utils/import_utils.py)",
|
| 1323 |
+
"area": "transformers, other",
|
| 1324 |
+
"samples": 213,
|
| 1325 |
+
"seconds": 1.065
|
| 1326 |
+
},
|
| 1327 |
+
{
|
| 1328 |
+
"function": "<module> (torch/__init__.py)",
|
| 1329 |
+
"area": "torch",
|
| 1330 |
+
"samples": 177,
|
| 1331 |
+
"seconds": 0.885
|
| 1332 |
+
},
|
| 1333 |
+
{
|
| 1334 |
+
"function": "<module> (transformers/generation/utils.py)",
|
| 1335 |
+
"area": "transformers generation",
|
| 1336 |
+
"samples": 156,
|
| 1337 |
+
"seconds": 0.78
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"function": "SourceLoader.get_code (<frozen importlib._bootstrap_external>)",
|
| 1341 |
+
"area": "Python, other",
|
| 1342 |
+
"samples": 93,
|
| 1343 |
+
"seconds": 0.465
|
| 1344 |
+
},
|
| 1345 |
+
{
|
| 1346 |
+
"function": "define_import_structure (transformers/utils/import_utils.py)",
|
| 1347 |
+
"area": "transformers, other",
|
| 1348 |
+
"samples": 92,
|
| 1349 |
+
"seconds": 0.46
|
| 1350 |
+
},
|
| 1351 |
+
{
|
| 1352 |
+
"function": "create_import_structure_from_path (transformers/utils/import_utils.py)",
|
| 1353 |
+
"area": "transformers, other",
|
| 1354 |
+
"samples": 90,
|
| 1355 |
+
"seconds": 0.45
|
| 1356 |
+
},
|
| 1357 |
+
{
|
| 1358 |
+
"function": "<module> (transformers/masking_utils.py)",
|
| 1359 |
+
"area": "transformers, other",
|
| 1360 |
+
"samples": 85,
|
| 1361 |
+
"seconds": 0.425
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"function": "_compile_bytecode (<frozen importlib._bootstrap_external>)",
|
| 1365 |
+
"area": "Python, other",
|
| 1366 |
+
"samples": 84,
|
| 1367 |
+
"seconds": 0.42
|
| 1368 |
+
},
|
| 1369 |
+
{
|
| 1370 |
+
"function": "<module> (torch/_dynamo/__init__.py)",
|
| 1371 |
+
"area": "torch.compile",
|
| 1372 |
+
"samples": 81,
|
| 1373 |
+
"seconds": 0.405
|
| 1374 |
+
},
|
| 1375 |
+
{
|
| 1376 |
+
"function": "<module> (transformers/__init__.py)",
|
| 1377 |
+
"area": "transformers, other",
|
| 1378 |
+
"samples": 77,
|
| 1379 |
+
"seconds": 0.385
|
| 1380 |
+
},
|
| 1381 |
+
{
|
| 1382 |
+
"function": "<module> (torch/_dynamo/convert_frame.py)",
|
| 1383 |
+
"area": "torch.compile",
|
| 1384 |
+
"samples": 72,
|
| 1385 |
+
"seconds": 0.36
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"function": "<module> (torch/_dynamo/aot_compile.py)",
|
| 1389 |
+
"area": "torch.compile",
|
| 1390 |
+
"samples": 72,
|
| 1391 |
+
"seconds": 0.36
|
| 1392 |
+
},
|
| 1393 |
+
{
|
| 1394 |
+
"function": "<module> (torch/_dynamo/symbolic_convert.py)",
|
| 1395 |
+
"area": "torch.compile",
|
| 1396 |
+
"samples": 70,
|
| 1397 |
+
"seconds": 0.35
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"function": "<module> (transformers/distributed/fsdp.py)",
|
| 1401 |
+
"area": "transformers, other",
|
| 1402 |
+
"samples": 66,
|
| 1403 |
+
"seconds": 0.33
|
| 1404 |
+
},
|
| 1405 |
+
{
|
| 1406 |
+
"function": "_process_class (dataclasses.py)",
|
| 1407 |
+
"area": "Python, other",
|
| 1408 |
+
"samples": 65,
|
| 1409 |
+
"seconds": 0.325
|
| 1410 |
+
},
|
| 1411 |
+
{
|
| 1412 |
+
"function": "dataclass.<locals>.wrap (dataclasses.py)",
|
| 1413 |
+
"area": "Python, other",
|
| 1414 |
+
"samples": 65,
|
| 1415 |
+
"seconds": 0.325
|
| 1416 |
+
},
|
| 1417 |
+
{
|
| 1418 |
+
"function": "<module> (transformers/distributed/parallel_utils.py)",
|
| 1419 |
+
"area": "transformers, other",
|
| 1420 |
+
"samples": 58,
|
| 1421 |
+
"seconds": 0.29
|
| 1422 |
+
},
|
| 1423 |
+
{
|
| 1424 |
+
"function": "ExtensionFileLoader.create_module (<frozen importlib._bootstrap_external>)",
|
| 1425 |
+
"area": "Python, other",
|
| 1426 |
+
"samples": 57,
|
| 1427 |
+
"seconds": 0.285
|
| 1428 |
+
},
|
| 1429 |
+
{
|
| 1430 |
+
"function": "module_from_spec (<frozen importlib._bootstrap>)",
|
| 1431 |
+
"area": "Python, other",
|
| 1432 |
+
"samples": 57,
|
| 1433 |
+
"seconds": 0.285
|
| 1434 |
+
},
|
| 1435 |
+
{
|
| 1436 |
+
"function": "Thread.run (threading.py)",
|
| 1437 |
+
"area": "Python, other",
|
| 1438 |
+
"samples": 57,
|
| 1439 |
+
"seconds": 0.285
|
| 1440 |
+
},
|
| 1441 |
+
{
|
| 1442 |
+
"function": "Thread._bootstrap_inner (threading.py)",
|
| 1443 |
+
"area": "Python, other",
|
| 1444 |
+
"samples": 57,
|
| 1445 |
+
"seconds": 0.285
|
| 1446 |
+
},
|
| 1447 |
+
{
|
| 1448 |
+
"function": "Thread._bootstrap (threading.py)",
|
| 1449 |
+
"area": "Python, other",
|
| 1450 |
+
"samples": 57,
|
| 1451 |
+
"seconds": 0.285
|
| 1452 |
+
},
|
| 1453 |
+
{
|
| 1454 |
+
"function": "<module> (datasets/__init__.py)",
|
| 1455 |
+
"area": "Python, other",
|
| 1456 |
+
"samples": 56,
|
| 1457 |
+
"seconds": 0.28
|
| 1458 |
+
},
|
| 1459 |
+
{
|
| 1460 |
+
"function": "spawn_materialize.<locals>._job (transformers/core_model_loading.py)",
|
| 1461 |
+
"area": "transformers, other",
|
| 1462 |
+
"samples": 54,
|
| 1463 |
+
"seconds": 0.27
|
| 1464 |
+
},
|
| 1465 |
+
{
|
| 1466 |
+
"function": "_WorkItem.run (concurrent/futures/thread.py)",
|
| 1467 |
+
"area": "Python, other",
|
| 1468 |
+
"samples": 54,
|
| 1469 |
+
"seconds": 0.27
|
| 1470 |
+
},
|
| 1471 |
+
{
|
| 1472 |
+
"function": "WorkerContext.run (concurrent/futures/thread.py)",
|
| 1473 |
+
"area": "Python, other",
|
| 1474 |
+
"samples": 54,
|
| 1475 |
+
"seconds": 0.27
|
| 1476 |
+
},
|
| 1477 |
+
{
|
| 1478 |
+
"function": "_materialize_copy (transformers/core_model_loading.py)",
|
| 1479 |
+
"area": "transformers, other",
|
| 1480 |
+
"samples": 54,
|
| 1481 |
+
"seconds": 0.27
|
| 1482 |
+
},
|
| 1483 |
+
{
|
| 1484 |
+
"function": "_worker (concurrent/futures/thread.py)",
|
| 1485 |
+
"area": "Python, other",
|
| 1486 |
+
"samples": 54,
|
| 1487 |
+
"seconds": 0.27
|
| 1488 |
+
},
|
| 1489 |
+
{
|
| 1490 |
+
"function": "dedent (textwrap.py)",
|
| 1491 |
+
"area": "Python, other",
|
| 1492 |
+
"samples": 54,
|
| 1493 |
+
"seconds": 0.27
|
| 1494 |
+
},
|
| 1495 |
+
{
|
| 1496 |
+
"function": "_FuncBuilder.add_fns_to_class (dataclasses.py)",
|
| 1497 |
+
"area": "Python, other",
|
| 1498 |
+
"samples": 53,
|
| 1499 |
+
"seconds": 0.265
|
| 1500 |
+
},
|
| 1501 |
+
{
|
| 1502 |
+
"function": "<module> (torch/distributed/tensor/__init__.py)",
|
| 1503 |
+
"area": "torch",
|
| 1504 |
+
"samples": 51,
|
| 1505 |
+
"seconds": 0.255
|
| 1506 |
+
}
|
| 1507 |
+
],
|
| 1508 |
+
"wall_seconds": null,
|
| 1509 |
+
"tokens": null
|
| 1510 |
+
},
|
| 1511 |
+
{
|
| 1512 |
+
"name": "load",
|
| 1513 |
+
"samples": 309,
|
| 1514 |
+
"seconds": 1.545,
|
| 1515 |
+
"by_area": {
|
| 1516 |
+
"Python, other": 0.83,
|
| 1517 |
+
"transformers models": 0.44,
|
| 1518 |
+
"transformers, other": 0.225,
|
| 1519 |
+
"torch": 0.04,
|
| 1520 |
+
"(benchmark tool)": 0.005,
|
| 1521 |
+
"server framework": 0.005
|
| 1522 |
+
},
|
| 1523 |
+
"self": [
|
| 1524 |
+
{
|
| 1525 |
+
"function": "transformers/models/gemma/tokenization_gemma.py:82 GemmaTokenizer.__init__",
|
| 1526 |
+
"area": "transformers models",
|
| 1527 |
+
"samples": 84,
|
| 1528 |
+
"seconds": 0.42
|
| 1529 |
+
},
|
| 1530 |
+
{
|
| 1531 |
+
"function": "json/decoder.py:361 JSONDecoder.raw_decode",
|
| 1532 |
+
"area": "Python, other",
|
| 1533 |
+
"samples": 65,
|
| 1534 |
+
"seconds": 0.325
|
| 1535 |
+
},
|
| 1536 |
+
{
|
| 1537 |
+
"function": "json/__init__.py:298 load",
|
| 1538 |
+
"area": "Python, other",
|
| 1539 |
+
"samples": 39,
|
| 1540 |
+
"seconds": 0.195
|
| 1541 |
+
},
|
| 1542 |
+
{
|
| 1543 |
+
"function": "<frozen codecs>:325 BufferedIncrementalDecoder.decode",
|
| 1544 |
+
"area": "Python, other",
|
| 1545 |
+
"samples": 21,
|
| 1546 |
+
"seconds": 0.105
|
| 1547 |
+
},
|
| 1548 |
+
{
|
| 1549 |
+
"function": "re/_parser.py:261 Tokenizer.get",
|
| 1550 |
+
"area": "Python, other",
|
| 1551 |
+
"samples": 18,
|
| 1552 |
+
"seconds": 0.09
|
| 1553 |
+
},
|
| 1554 |
+
{
|
| 1555 |
+
"function": "transformers/tokenization_utils_tokenizers.py:196 TokenizersBackend.convert_to_native_format",
|
| 1556 |
+
"area": "transformers, other",
|
| 1557 |
+
"samples": 13,
|
| 1558 |
+
"seconds": 0.065
|
| 1559 |
+
},
|
| 1560 |
+
{
|
| 1561 |
+
"function": "transformers/utils/auto_docstring.py:3027 parse_docstring",
|
| 1562 |
+
"area": "transformers, other",
|
| 1563 |
+
"samples": 6,
|
| 1564 |
+
"seconds": 0.03
|
| 1565 |
+
},
|
| 1566 |
+
{
|
| 1567 |
+
"function": "copy.py:233 _reconstruct.<locals>.<genexpr>",
|
| 1568 |
+
"area": "Python, other",
|
| 1569 |
+
"samples": 6,
|
| 1570 |
+
"seconds": 0.03
|
| 1571 |
+
},
|
| 1572 |
+
{
|
| 1573 |
+
"function": "threading.py:369 Condition.wait",
|
| 1574 |
+
"area": "Python, other",
|
| 1575 |
+
"samples": 5,
|
| 1576 |
+
"seconds": 0.025
|
| 1577 |
+
},
|
| 1578 |
+
{
|
| 1579 |
+
"function": "dataclasses.py:506 _FuncBuilder.add_fns_to_class",
|
| 1580 |
+
"area": "Python, other",
|
| 1581 |
+
"samples": 3,
|
| 1582 |
+
"seconds": 0.015
|
| 1583 |
+
},
|
| 1584 |
+
{
|
| 1585 |
+
"function": "re/_parser.py:176 SubPattern.append",
|
| 1586 |
+
"area": "Python, other",
|
| 1587 |
+
"samples": 3,
|
| 1588 |
+
"seconds": 0.015
|
| 1589 |
+
},
|
| 1590 |
+
{
|
| 1591 |
+
"function": "transformers/tokenization_utils_tokenizers.py:1099 TokenizersBackend._encode_plus",
|
| 1592 |
+
"area": "transformers, other",
|
| 1593 |
+
"samples": 2,
|
| 1594 |
+
"seconds": 0.01
|
| 1595 |
+
},
|
| 1596 |
+
{
|
| 1597 |
+
"function": "transformers/tokenization_utils_tokenizers.py:844 TokenizersBackend._add_tokens",
|
| 1598 |
+
"area": "transformers, other",
|
| 1599 |
+
"samples": 2,
|
| 1600 |
+
"seconds": 0.01
|
| 1601 |
+
},
|
| 1602 |
+
{
|
| 1603 |
+
"function": "torch/nn/init.py:165 _no_grad_fill_",
|
| 1604 |
+
"area": "torch",
|
| 1605 |
+
"samples": 2,
|
| 1606 |
+
"seconds": 0.01
|
| 1607 |
+
},
|
| 1608 |
+
{
|
| 1609 |
+
"function": "transformers/core_model_loading.py:1982 convert_and_load_state_dict_in_model",
|
| 1610 |
+
"area": "transformers, other",
|
| 1611 |
+
"samples": 2,
|
| 1612 |
+
"seconds": 0.01
|
| 1613 |
+
},
|
| 1614 |
+
{
|
| 1615 |
+
"function": "transformers/tokenization_utils_base.py:2012 PreTrainedTokenizerBase.convert_added_tokens",
|
| 1616 |
+
"area": "transformers, other",
|
| 1617 |
+
"samples": 2,
|
| 1618 |
+
"seconds": 0.01
|
| 1619 |
+
},
|
| 1620 |
+
{
|
| 1621 |
+
"function": "transformers/modeling_utils.py:4488 PreTrainedModel.from_pretrained",
|
| 1622 |
+
"area": "transformers models",
|
| 1623 |
+
"samples": 2,
|
| 1624 |
+
"seconds": 0.01
|
| 1625 |
+
},
|
| 1626 |
+
{
|
| 1627 |
+
"function": "transformers/models/gemma3/modeling_gemma3.py:425 Gemma3PreTrainedModel._init_weights",
|
| 1628 |
+
"area": "transformers models",
|
| 1629 |
+
"samples": 1,
|
| 1630 |
+
"seconds": 0.005
|
| 1631 |
+
},
|
| 1632 |
+
{
|
| 1633 |
+
"function": "typing.py:2368 get_type_hints",
|
| 1634 |
+
"area": "Python, other",
|
| 1635 |
+
"samples": 1,
|
| 1636 |
+
"seconds": 0.005
|
| 1637 |
+
},
|
| 1638 |
+
{
|
| 1639 |
+
"function": "transformers/utils/import_utils.py:2600 _LazyModule.__init__",
|
| 1640 |
+
"area": "transformers, other",
|
| 1641 |
+
"samples": 1,
|
| 1642 |
+
"seconds": 0.005
|
| 1643 |
+
},
|
| 1644 |
+
{
|
| 1645 |
+
"function": "transformers/integrations/accelerate.py:446 expand_device_map",
|
| 1646 |
+
"area": "transformers models",
|
| 1647 |
+
"samples": 1,
|
| 1648 |
+
"seconds": 0.005
|
| 1649 |
+
},
|
| 1650 |
+
{
|
| 1651 |
+
"function": "transformers/utils/import_utils.py:2628 _LazyModule.__init__",
|
| 1652 |
+
"area": "transformers, other",
|
| 1653 |
+
"samples": 1,
|
| 1654 |
+
"seconds": 0.005
|
| 1655 |
+
},
|
| 1656 |
+
{
|
| 1657 |
+
"function": "torch/nn/modules/module.py:1995 Module.__setattr__",
|
| 1658 |
+
"area": "torch",
|
| 1659 |
+
"samples": 1,
|
| 1660 |
+
"seconds": 0.005
|
| 1661 |
+
},
|
| 1662 |
+
{
|
| 1663 |
+
"function": "copy.py:157 deepcopy",
|
| 1664 |
+
"area": "Python, other",
|
| 1665 |
+
"samples": 1,
|
| 1666 |
+
"seconds": 0.005
|
| 1667 |
+
},
|
| 1668 |
+
{
|
| 1669 |
+
"function": "transformers/tokenization_utils_tokenizers.py:482 TokenizersBackend.__init__",
|
| 1670 |
+
"area": "transformers, other",
|
| 1671 |
+
"samples": 1,
|
| 1672 |
+
"seconds": 0.005
|
| 1673 |
+
},
|
| 1674 |
+
{
|
| 1675 |
+
"function": "transformers/tokenization_utils_tokenizers.py:481 TokenizersBackend.__init__",
|
| 1676 |
+
"area": "transformers, other",
|
| 1677 |
+
"samples": 1,
|
| 1678 |
+
"seconds": 0.005
|
| 1679 |
+
},
|
| 1680 |
+
{
|
| 1681 |
+
"function": "transformers/core_model_loading.py:1951 convert_and_load_state_dict_in_model",
|
| 1682 |
+
"area": "transformers, other",
|
| 1683 |
+
"samples": 1,
|
| 1684 |
+
"seconds": 0.005
|
| 1685 |
+
},
|
| 1686 |
+
{
|
| 1687 |
+
"function": "transformers/core_model_loading.py:1703 rename_source_key",
|
| 1688 |
+
"area": "transformers, other",
|
| 1689 |
+
"samples": 1,
|
| 1690 |
+
"seconds": 0.005
|
| 1691 |
+
},
|
| 1692 |
+
{
|
| 1693 |
+
"function": "transformers/core_model_loading.py:905 process_target_pattern",
|
| 1694 |
+
"area": "transformers, other",
|
| 1695 |
+
"samples": 1,
|
| 1696 |
+
"seconds": 0.005
|
| 1697 |
+
},
|
| 1698 |
+
{
|
| 1699 |
+
"function": "re/__init__.py:289 compile",
|
| 1700 |
+
"area": "Python, other",
|
| 1701 |
+
"samples": 1,
|
| 1702 |
+
"seconds": 0.005
|
| 1703 |
+
},
|
| 1704 |
+
{
|
| 1705 |
+
"function": "transformers/conversion_mapping.py:1375 _build_checkpoint_conversion_mapping",
|
| 1706 |
+
"area": "transformers, other",
|
| 1707 |
+
"samples": 1,
|
| 1708 |
+
"seconds": 0.005
|
| 1709 |
+
},
|
| 1710 |
+
{
|
| 1711 |
+
"function": "torch/nn/modules/module.py:628 Module.register_parameter",
|
| 1712 |
+
"area": "torch",
|
| 1713 |
+
"samples": 1,
|
| 1714 |
+
"seconds": 0.005
|
| 1715 |
+
},
|
| 1716 |
+
{
|
| 1717 |
+
"function": "torch/_ops.py:910 OpOverload.__call__",
|
| 1718 |
+
"area": "torch",
|
| 1719 |
+
"samples": 1,
|
| 1720 |
+
"seconds": 0.005
|
| 1721 |
+
},
|
| 1722 |
+
{
|
| 1723 |
+
"function": "transformers/tokenization_utils_base.py:1892 PreTrainedTokenizerBase._from_pretrained",
|
| 1724 |
+
"area": "transformers, other",
|
| 1725 |
+
"samples": 1,
|
| 1726 |
+
"seconds": 0.005
|
| 1727 |
+
},
|
| 1728 |
+
{
|
| 1729 |
+
"function": "transformers/core_model_loading.py:1996 convert_and_load_state_dict_in_model",
|
| 1730 |
+
"area": "transformers, other",
|
| 1731 |
+
"samples": 1,
|
| 1732 |
+
"seconds": 0.005
|
| 1733 |
+
},
|
| 1734 |
+
{
|
| 1735 |
+
"function": "transformers/core_model_loading.py:977 WeightTransform.__init__",
|
| 1736 |
+
"area": "transformers, other",
|
| 1737 |
+
"samples": 1,
|
| 1738 |
+
"seconds": 0.005
|
| 1739 |
+
},
|
| 1740 |
+
{
|
| 1741 |
+
"function": "<frozen importlib._bootstrap>:1443 _handle_fromlist",
|
| 1742 |
+
"area": "Python, other",
|
| 1743 |
+
"samples": 1,
|
| 1744 |
+
"seconds": 0.005
|
| 1745 |
+
},
|
| 1746 |
+
{
|
| 1747 |
+
"function": "transformers/tokenization_utils_tokenizers.py:503 TokenizersBackend.__init__",
|
| 1748 |
+
"area": "transformers, other",
|
| 1749 |
+
"samples": 1,
|
| 1750 |
+
"seconds": 0.005
|
| 1751 |
+
},
|
| 1752 |
+
{
|
| 1753 |
+
"function": "transformers/utils/auto_docstring.py:3591 _get_parameter_info",
|
| 1754 |
+
"area": "transformers, other",
|
| 1755 |
+
"samples": 1,
|
| 1756 |
+
"seconds": 0.005
|
| 1757 |
+
},
|
| 1758 |
+
{
|
| 1759 |
+
"function": "transformers/tokenization_utils_base.py:1968 PreTrainedTokenizerBase._from_pretrained",
|
| 1760 |
+
"area": "transformers, other",
|
| 1761 |
+
"samples": 1,
|
| 1762 |
+
"seconds": 0.005
|
| 1763 |
+
}
|
| 1764 |
+
],
|
| 1765 |
+
"inclusive": [
|
| 1766 |
+
{
|
| 1767 |
+
"function": "AutoTokenizer.from_pretrained (transformers/models/auto/tokenization_auto.py)",
|
| 1768 |
+
"area": "transformers models",
|
| 1769 |
+
"samples": 242,
|
| 1770 |
+
"seconds": 1.21
|
| 1771 |
+
},
|
| 1772 |
+
{
|
| 1773 |
+
"function": "PreTrainedTokenizerBase.from_pretrained (transformers/tokenization_utils_base.py)",
|
| 1774 |
+
"area": "transformers, other",
|
| 1775 |
+
"samples": 235,
|
| 1776 |
+
"seconds": 1.175
|
| 1777 |
+
},
|
| 1778 |
+
{
|
| 1779 |
+
"function": "PreTrainedTokenizerBase._from_pretrained (transformers/tokenization_utils_base.py)",
|
| 1780 |
+
"area": "transformers, other",
|
| 1781 |
+
"samples": 233,
|
| 1782 |
+
"seconds": 1.165
|
| 1783 |
+
},
|
| 1784 |
+
{
|
| 1785 |
+
"function": "TokenizersBackend.convert_to_native_format (transformers/tokenization_utils_tokenizers.py)",
|
| 1786 |
+
"area": "transformers, other",
|
| 1787 |
+
"samples": 127,
|
| 1788 |
+
"seconds": 0.635
|
| 1789 |
+
},
|
| 1790 |
+
{
|
| 1791 |
+
"function": "load (json/__init__.py)",
|
| 1792 |
+
"area": "Python, other",
|
| 1793 |
+
"samples": 124,
|
| 1794 |
+
"seconds": 0.62
|
| 1795 |
+
},
|
| 1796 |
+
{
|
| 1797 |
+
"function": "GemmaTokenizer.__init__ (transformers/models/gemma/tokenization_gemma.py)",
|
| 1798 |
+
"area": "transformers models",
|
| 1799 |
+
"samples": 97,
|
| 1800 |
+
"seconds": 0.485
|
| 1801 |
+
},
|
| 1802 |
+
{
|
| 1803 |
+
"function": "loads (json/__init__.py)",
|
| 1804 |
+
"area": "Python, other",
|
| 1805 |
+
"samples": 66,
|
| 1806 |
+
"seconds": 0.33
|
| 1807 |
+
},
|
| 1808 |
+
{
|
| 1809 |
+
"function": "JSONDecoder.decode (json/decoder.py)",
|
| 1810 |
+
"area": "Python, other",
|
| 1811 |
+
"samples": 65,
|
| 1812 |
+
"seconds": 0.325
|
| 1813 |
+
},
|
| 1814 |
+
{
|
| 1815 |
+
"function": "JSONDecoder.raw_decode (json/decoder.py)",
|
| 1816 |
+
"area": "Python, other",
|
| 1817 |
+
"samples": 65,
|
| 1818 |
+
"seconds": 0.325
|
| 1819 |
+
},
|
| 1820 |
+
{
|
| 1821 |
+
"function": "_BaseAutoModelClass.from_pretrained (transformers/models/auto/auto_factory.py)",
|
| 1822 |
+
"area": "transformers models",
|
| 1823 |
+
"samples": 64,
|
| 1824 |
+
"seconds": 0.32
|
| 1825 |
+
},
|
| 1826 |
+
{
|
| 1827 |
+
"function": "PreTrainedModel.from_pretrained (transformers/modeling_utils.py)",
|
| 1828 |
+
"area": "transformers models",
|
| 1829 |
+
"samples": 49,
|
| 1830 |
+
"seconds": 0.245
|
| 1831 |
+
},
|
| 1832 |
+
{
|
| 1833 |
+
"function": "PreTrainedModel._load_pretrained_model (transformers/modeling_utils.py)",
|
| 1834 |
+
"area": "transformers models",
|
| 1835 |
+
"samples": 36,
|
| 1836 |
+
"seconds": 0.18
|
| 1837 |
+
},
|
| 1838 |
+
{
|
| 1839 |
+
"function": "convert_and_load_state_dict_in_model (transformers/core_model_loading.py)",
|
| 1840 |
+
"area": "transformers, other",
|
| 1841 |
+
"samples": 33,
|
| 1842 |
+
"seconds": 0.165
|
| 1843 |
+
},
|
| 1844 |
+
{
|
| 1845 |
+
"function": "__init__ (__init__)",
|
| 1846 |
+
"area": "native, other",
|
| 1847 |
+
"samples": 26,
|
| 1848 |
+
"seconds": 0.13
|
| 1849 |
+
},
|
| 1850 |
+
{
|
| 1851 |
+
"function": "WeightTransform.__init__ (transformers/core_model_loading.py)",
|
| 1852 |
+
"area": "transformers, other",
|
| 1853 |
+
"samples": 26,
|
| 1854 |
+
"seconds": 0.13
|
| 1855 |
+
},
|
| 1856 |
+
{
|
| 1857 |
+
"function": "compile (re/__init__.py)",
|
| 1858 |
+
"area": "Python, other",
|
| 1859 |
+
"samples": 22,
|
| 1860 |
+
"seconds": 0.11
|
| 1861 |
+
},
|
| 1862 |
+
{
|
| 1863 |
+
"function": "compile (re/_compiler.py)",
|
| 1864 |
+
"area": "Python, other",
|
| 1865 |
+
"samples": 22,
|
| 1866 |
+
"seconds": 0.11
|
| 1867 |
+
},
|
| 1868 |
+
{
|
| 1869 |
+
"function": "_compile (re/__init__.py)",
|
| 1870 |
+
"area": "Python, other",
|
| 1871 |
+
"samples": 22,
|
| 1872 |
+
"seconds": 0.11
|
| 1873 |
+
},
|
| 1874 |
+
{
|
| 1875 |
+
"function": "_parse (re/_parser.py)",
|
| 1876 |
+
"area": "Python, other",
|
| 1877 |
+
"samples": 21,
|
| 1878 |
+
"seconds": 0.105
|
| 1879 |
+
},
|
| 1880 |
+
{
|
| 1881 |
+
"function": "parse (re/_parser.py)",
|
| 1882 |
+
"area": "Python, other",
|
| 1883 |
+
"samples": 21,
|
| 1884 |
+
"seconds": 0.105
|
| 1885 |
+
},
|
| 1886 |
+
{
|
| 1887 |
+
"function": "_parse_sub (re/_parser.py)",
|
| 1888 |
+
"area": "Python, other",
|
| 1889 |
+
"samples": 21,
|
| 1890 |
+
"seconds": 0.105
|
| 1891 |
+
},
|
| 1892 |
+
{
|
| 1893 |
+
"function": "BufferedIncrementalDecoder.decode (<frozen codecs>)",
|
| 1894 |
+
"area": "Python, other",
|
| 1895 |
+
"samples": 21,
|
| 1896 |
+
"seconds": 0.105
|
| 1897 |
+
},
|
| 1898 |
+
{
|
| 1899 |
+
"function": "Tokenizer.get (re/_parser.py)",
|
| 1900 |
+
"area": "Python, other",
|
| 1901 |
+
"samples": 18,
|
| 1902 |
+
"seconds": 0.09
|
| 1903 |
+
},
|
| 1904 |
+
{
|
| 1905 |
+
"function": "_find_and_load (<frozen importlib._bootstrap>)",
|
| 1906 |
+
"area": "Python, other",
|
| 1907 |
+
"samples": 17,
|
| 1908 |
+
"seconds": 0.085
|
| 1909 |
+
},
|
| 1910 |
+
{
|
| 1911 |
+
"function": "_LoaderBasics.exec_module (<frozen importlib._bootstrap_external>)",
|
| 1912 |
+
"area": "Python, other",
|
| 1913 |
+
"samples": 17,
|
| 1914 |
+
"seconds": 0.085
|
| 1915 |
+
},
|
| 1916 |
+
{
|
| 1917 |
+
"function": "_load_unlocked (<frozen importlib._bootstrap>)",
|
| 1918 |
+
"area": "Python, other",
|
| 1919 |
+
"samples": 17,
|
| 1920 |
+
"seconds": 0.085
|
| 1921 |
+
},
|
| 1922 |
+
{
|
| 1923 |
+
"function": "_find_and_load_unlocked (<frozen importlib._bootstrap>)",
|
| 1924 |
+
"area": "Python, other",
|
| 1925 |
+
"samples": 17,
|
| 1926 |
+
"seconds": 0.085
|
| 1927 |
+
},
|
| 1928 |
+
{
|
| 1929 |
+
"function": "_gcd_import (<frozen importlib._bootstrap>)",
|
| 1930 |
+
"area": "Python, other",
|
| 1931 |
+
"samples": 17,
|
| 1932 |
+
"seconds": 0.085
|
| 1933 |
+
},
|
| 1934 |
+
{
|
| 1935 |
+
"function": "import_module (importlib/__init__.py)",
|
| 1936 |
+
"area": "Python, other",
|
| 1937 |
+
"samples": 17,
|
| 1938 |
+
"seconds": 0.085
|
| 1939 |
+
},
|
| 1940 |
+
{
|
| 1941 |
+
"function": "_call_with_frames_removed (<frozen importlib._bootstrap>)",
|
| 1942 |
+
"area": "Python, other",
|
| 1943 |
+
"samples": 17,
|
| 1944 |
+
"seconds": 0.085
|
| 1945 |
+
},
|
| 1946 |
+
{
|
| 1947 |
+
"function": "_LazyModule.__getattr__ (transformers/utils/import_utils.py)",
|
| 1948 |
+
"area": "transformers, other",
|
| 1949 |
+
"samples": 16,
|
| 1950 |
+
"seconds": 0.08
|
| 1951 |
+
},
|
| 1952 |
+
{
|
| 1953 |
+
"function": "_LazyModule._get_module (transformers/utils/import_utils.py)",
|
| 1954 |
+
"area": "transformers, other",
|
| 1955 |
+
"samples": 16,
|
| 1956 |
+
"seconds": 0.08
|
| 1957 |
+
},
|
| 1958 |
+
{
|
| 1959 |
+
"function": "<module> (transformers/models/gemma3/modeling_gemma3.py)",
|
| 1960 |
+
"area": "transformers models",
|
| 1961 |
+
"samples": 15,
|
| 1962 |
+
"seconds": 0.075
|
| 1963 |
+
},
|
| 1964 |
+
{
|
| 1965 |
+
"function": "_LazyAutoMapping.__getitem__ (transformers/models/auto/auto_factory.py)",
|
| 1966 |
+
"area": "transformers models",
|
| 1967 |
+
"samples": 15,
|
| 1968 |
+
"seconds": 0.075
|
| 1969 |
+
},
|
| 1970 |
+
{
|
| 1971 |
+
"function": "getattribute_from_module (transformers/models/auto/auto_factory.py)",
|
| 1972 |
+
"area": "transformers models",
|
| 1973 |
+
"samples": 15,
|
| 1974 |
+
"seconds": 0.075
|
| 1975 |
+
},
|
| 1976 |
+
{
|
| 1977 |
+
"function": "_get_model_class (transformers/models/auto/auto_factory.py)",
|
| 1978 |
+
"area": "transformers models",
|
| 1979 |
+
"samples": 15,
|
| 1980 |
+
"seconds": 0.075
|
| 1981 |
+
},
|
| 1982 |
+
{
|
| 1983 |
+
"function": "_LazyAutoMapping._load_attr_from_module (transformers/models/auto/auto_factory.py)",
|
| 1984 |
+
"area": "transformers models",
|
| 1985 |
+
"samples": 15,
|
| 1986 |
+
"seconds": 0.075
|
| 1987 |
+
},
|
| 1988 |
+
{
|
| 1989 |
+
"function": "TokenizersBackend.__init__ (transformers/tokenization_utils_tokenizers.py)",
|
| 1990 |
+
"area": "transformers, other",
|
| 1991 |
+
"samples": 13,
|
| 1992 |
+
"seconds": 0.065
|
| 1993 |
+
},
|
| 1994 |
+
{
|
| 1995 |
+
"function": "auto_docstring.<locals>.auto_docstring_decorator (transformers/utils/auto_docstring.py)",
|
| 1996 |
+
"area": "transformers, other",
|
| 1997 |
+
"samples": 8,
|
| 1998 |
+
"seconds": 0.04
|
| 1999 |
+
},
|
| 2000 |
+
{
|
| 2001 |
+
"function": "parse_docstring (transformers/utils/auto_docstring.py)",
|
| 2002 |
+
"area": "transformers, other",
|
| 2003 |
+
"samples": 7,
|
| 2004 |
+
"seconds": 0.035
|
| 2005 |
+
}
|
| 2006 |
+
],
|
| 2007 |
+
"wall_seconds": 1.97819287109375,
|
| 2008 |
+
"tokens": null
|
| 2009 |
+
}
|
| 2010 |
+
],
|
| 2011 |
+
"native": false,
|
| 2012 |
+
"iterations": 10
|
| 2013 |
+
}
|
memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/report.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
memory/2026-11/20261129-030001-daily-gemma3-1b-sliding/time.html
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!doctype html><html lang='en'><head><meta charset='utf-8'><meta name='viewport' content='width=device-width,initial-scale=1'><title>Time profile: google/gemma-3-1b-it</title><style>
|
| 2 |
+
:root{--bg:#fbfbfa;--panel:#fff;--text:#1d1d1f;--muted:#6b6b70;--line:#e4e4e7;--grid:#ececef;--accent:#3b6fd8;
|
| 3 |
+
--c1:#3b6fd8;--c2:#d9822b;--c3:#8a5cd1;--c4:#2a9d8f;--c5:#9a9aa1;--peak:#d1495b;--code:#f3f3f5}
|
| 4 |
+
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--bg:#141416;--panel:#1c1c1f;--text:#ececef;
|
| 5 |
+
--muted:#9c9ca3;--line:#2e2e33;--grid:#26262b;--accent:#6e9bf0;--c1:#6e9bf0;--c2:#f0a35e;--c3:#b08ef0;--c4:#4fc3b4;
|
| 6 |
+
--c5:#77777f;--peak:#f0717f;--code:#232327}}
|
| 7 |
+
:root[data-theme="dark"]{--bg:#141416;--panel:#1c1c1f;--text:#ececef;--muted:#9c9ca3;--line:#2e2e33;--grid:#26262b;
|
| 8 |
+
--accent:#6e9bf0;--c1:#6e9bf0;--c2:#f0a35e;--c3:#b08ef0;--c4:#4fc3b4;--c5:#77777f;--peak:#f0717f;--code:#232327}
|
| 9 |
+
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);
|
| 10 |
+
font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
|
| 11 |
+
.mem{max-width:1100px;margin:0 auto;padding:28px 16px 64px}
|
| 12 |
+
|
| 13 |
+
.mem h1{font-size:22px;margin:0 0 4px}.mem h2{font-size:17px;margin:36px 0 10px}
|
| 14 |
+
.mem h3{font-size:14px;margin:20px 0 8px;color:var(--muted);font-weight:600}
|
| 15 |
+
.mem .muted,.mem .note{color:var(--muted)}.mem .note{font-size:12.5px}
|
| 16 |
+
.mem code,.mem pre{font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace}
|
| 17 |
+
.mem pre{background:var(--code);padding:10px;border-radius:6px;overflow-x:auto;margin:6px 0}
|
| 18 |
+
.mem .meta{color:var(--muted);font-size:13px}.mem .meta code{color:var(--text)}
|
| 19 |
+
.mem .error{border:1px solid var(--peak);color:var(--peak);padding:8px 12px;border-radius:6px;margin:12px 0}
|
| 20 |
+
.mem .tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;margin-top:18px}
|
| 21 |
+
.mem .tile{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:10px 12px}
|
| 22 |
+
.mem .tile-label{font-size:12px;color:var(--muted)}.mem .tile-value{font-size:20px;font-weight:600;margin-top:2px}
|
| 23 |
+
.mem .tile-sub{font-size:12px;color:var(--muted)}
|
| 24 |
+
.mem .card{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:14px}
|
| 25 |
+
.mem .chart{width:100%;height:auto;display:block}.mem .grid{stroke:var(--grid)}
|
| 26 |
+
.mem .tick{fill:var(--muted);font-size:11px}.mem .area{opacity:.85}
|
| 27 |
+
.mem .line{fill:none;stroke-width:1.5;stroke-dasharray:4 3}.mem .mark{stroke:var(--muted);stroke-dasharray:2 3}
|
| 28 |
+
.mem .mark-label{fill:var(--muted);font-size:11px}.mem .peak{fill:var(--peak)}
|
| 29 |
+
.mem .legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12.5px;margin:4px 0 8px}
|
| 30 |
+
.mem .legend i{display:inline-block;width:11px;height:11px;border-radius:2px;margin-right:6px;vertical-align:-1px}
|
| 31 |
+
.mem .legend i.dash{height:0;border-top:2px dashed;background:none!important;width:14px;vertical-align:3px}
|
| 32 |
+
.mem .bar-row{display:grid;grid-template-columns:minmax(120px,260px) 1fr 130px;gap:10px;align-items:center;
|
| 33 |
+
margin:4px 0;font-size:13px}.mem .bar-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
| 34 |
+
.mem .bar-track{background:var(--grid);border-radius:3px;height:10px;overflow:hidden}
|
| 35 |
+
.mem .bar-fill{display:block;height:100%}.mem .bar-val{text-align:right;font-variant-numeric:tabular-nums}
|
| 36 |
+
.mem .bar-val small{color:var(--muted)}.mem .cols{display:grid;grid-template-columns:1fr 1fr;gap:14px}
|
| 37 |
+
@media (max-width:760px){.mem .cols{grid-template-columns:1fr}.mem .bar-row{grid-template-columns:110px 1fr 100px}}
|
| 38 |
+
.mem .table-wrap{overflow-x:auto}.mem table{border-collapse:collapse;width:100%;font-size:13px}
|
| 39 |
+
.mem th,.mem td{text-align:left;padding:6px 8px;border-bottom:1px solid var(--line);vertical-align:top;
|
| 40 |
+
white-space:normal}.mem th{color:var(--muted);font-weight:600;font-size:12px}
|
| 41 |
+
.mem .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.mem summary{cursor:pointer}
|
| 42 |
+
.mem summary code{white-space:normal;word-break:break-all}.mem a{color:var(--accent)}
|
| 43 |
+
.mem .findings{border:1px solid var(--line);border-left:3px solid var(--c2);border-radius:8px;padding:4px 14px 8px;
|
| 44 |
+
margin:16px 0;background:var(--panel)}.mem .findings.ok{border-left-color:var(--c4);padding:10px 14px}
|
| 45 |
+
.mem .findings h2{margin:8px 0 6px}.mem .findings ul{list-style:none;margin:0;padding:0}
|
| 46 |
+
.mem .findings li{display:flex;gap:10px;align-items:flex-start;padding:6px 0;border-top:1px solid var(--line)}
|
| 47 |
+
.mem .findings li:first-child{border-top:0}.mem .badge{font-size:11px;border-radius:3px;padding:1px 6px;
|
| 48 |
+
margin-top:2px;white-space:nowrap;border:1px solid var(--muted);color:var(--muted)}
|
| 49 |
+
.mem .findings li.warn .badge{border-color:var(--c2);color:var(--c2)}
|
| 50 |
+
.mem .explore{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
|
| 51 |
+
.mem .explore a{border:1px solid var(--line);border-radius:6px;padding:8px 12px;text-decoration:none;
|
| 52 |
+
background:var(--panel)}.mem .explore small{display:block;color:var(--muted);font-size:12px}
|
| 53 |
+
</style></head><body><div class='mem'><h1>Time profile: google/gemma-3-1b-it</h1><p class='meta'>batch 1 · prompt 448 tokens · 128 new tokens · sdpa · compile reduce-overhead<br>transformers <code>518453161921</code> (5.25.0.dev0) · torch 2.15.0+cu132 · CUDA 13.2 · NVIDIA A10G</p><p>Where the memory went: <a href='report.html'>memory report</a>.</p><div class='findings ok'><strong>Nothing unusual.</strong> <span class='muted'>Checked: no compilation in the measured generations.</span></div><h2>Python time</h2><p class='note'>py-spy sampled every thread of a separate run at 200 Hz from outside the process (no hooks, no GIL taken), so these durations are close to real ones, though not benchmark timings: py-spy uses a CPU. Time inside a C call (a torch op, a CUDA synchronization) is charged to the Python line that made it. Threads add up: sampled time can exceed wall time. Per token: divided by the tokens the phase generated (batch × new tokens × generations).</p><details class='card' style='margin:10px 0' open><summary><strong>generations</strong> <span class='muted'>21.57 s sampled</span></summary><div class='tiles'><div class="tile"><div class="tile-label">Sampled</div><div class="tile-value">21.57 s</div><div class="tile-sub">4,314 samples</div></div><div class="tile"><div class="tile-label">Wall time</div><div class="tile-value">23.03 s</div><div class="tile-sub">between the phase's boundaries</div></div><div class="tile"><div class="tile-label">Per token</div><div class="tile-value">17.99 ms</div><div class="tile-sub">1,280 tokens</div></div></div><h3>By area of code (innermost frame)</h3><div class="bar-row"><span class="bar-name">(benchmark tool)</span><span class="bar-track"><span class="bar-fill" style="width:52.9%;background:var(--accent)"></span></span><span class="bar-val">11.40 s <small>53%</small></span></div><div class="bar-row"><span class="bar-name">transformers generation</span><span class="bar-track"><span class="bar-fill" style="width:39.6%;background:var(--accent)"></span></span><span class="bar-val">8.55 s <small>40%</small></span></div><div class="bar-row"><span class="bar-name">transformers, other</span><span class="bar-track"><span class="bar-fill" style="width:2.5%;background:var(--accent)"></span></span><span class="bar-val">0.53 s <small>2%</small></span></div><div class="bar-row"><span class="bar-name">torch</span><span class="bar-track"><span class="bar-fill" style="width:2.4%;background:var(--accent)"></span></span><span class="bar-val">0.51 s <small>2%</small></span></div><div class="bar-row"><span class="bar-name">transformers models</span><span class="bar-track"><span class="bar-fill" style="width:1.1%;background:var(--accent)"></span></span><span class="bar-val">0.24 s <small>1%</small></span></div><div class="bar-row"><span class="bar-name">torch.compile</span><span class="bar-track"><span class="bar-fill" style="width:1.0%;background:var(--accent)"></span></span><span class="bar-val">0.20 s <small>1%</small></span></div><h3>Self: the lines the samples were in</h3><div class='table-wrap'><table><thead><tr><th class='num'>Time</th><th class='num'>Share</th><th class='num'>ms / token</th><th>Area</th><th>Line</th></tr></thead><tbody><tr><td class='num'>7.870 s</td><td class='num'>36.5%</td><td class='num'>6.148</td><td>transformers generation</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/generation/utils.py#L395' target='_blank' rel='noopener'><code>transformers/generation/utils.py:395 StopCheck.__call__</code></a></td></tr><tr><td class='num'>0.370 s</td><td class='num'>1.7%</td><td class='num'>0.289</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/nn/modules/module.py#L1798' target='_blank' rel='noopener'><code>torch/nn/modules/module.py:1798 Module._call_impl</code></a></td></tr><tr><td class='num'>0.120 s</td><td class='num'>0.6%</td><td class='num'>0.094</td><td>transformers generation</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/generation/stopping_criteria.py#L592' target='_blank' rel='noopener'><code>transformers/generation/stopping_criteria.py:592 EosTokenCriteria.__call__</code></a></td></tr><tr><td class='num'>0.105 s</td><td class='num'>0.5%</td><td class='num'>0.082</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_inductor/cudagraph_trees.py#L2137' target='_blank' rel='noopener'><code>torch/_inductor/cudagraph_trees.py:2137 CUDAGraphNode.check_invariants</code></a></td></tr><tr><td class='num'>0.090 s</td><td class='num'>0.4%</td><td class='num'>0.070</td><td>transformers models</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/models/gemma3/modeling_gemma3.py#L126' target='_blank' rel='noopener'><code>transformers/models/gemma3/modeling_gemma3.py:126 Gemma3RMSNorm._norm</code></a></td></tr><tr><td class='num'>0.080 s</td><td class='num'>0.4%</td><td class='num'>0.062</td><td>transformers generation</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/generation/utils.py#L396' target='_blank' rel='noopener'><code>transformers/generation/utils.py:396 StopCheck.__call__</code></a></td></tr><tr><td class='num'>0.075 s</td><td class='num'>0.3%</td><td class='num'>0.059</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/masking_utils.py#L528' target='_blank' rel='noopener'><code>transformers/masking_utils.py:528 sdpa_mask</code></a></td></tr><tr><td class='num'>0.075 s</td><td class='num'>0.3%</td><td class='num'>0.059</td><td>transformers generation</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/generation/utils.py#L1280' target='_blank' rel='noopener'><code>transformers/generation/utils.py:1280 GenerationMixin._update_model_kwargs_for_generation</code></a></td></tr><tr><td class='num'>0.070 s</td><td class='num'>0.3%</td><td class='num'>0.055</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/generic.py#L1075' target='_blank' rel='noopener'><code>transformers/utils/generic.py:1075 can_return_tuple.<locals>.wrapper</code></a></td></tr><tr><td class='num'>0.045 s</td><td class='num'>0.2%</td><td class='num'>0.035</td><td>transformers generation</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/generation/utils.py#L3282' target='_blank' rel='noopener'><code>transformers/generation/utils.py:3282 GenerationMixin._sample</code></a></td></tr><tr><td class='num'>0.045 s</td><td class='num'>0.2%</td><td class='num'>0.035</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/cuda/__init__.py#L1371' target='_blank' rel='noopener'><code>torch/cuda/__init__.py:1371 synchronize</code></a></td></tr><tr><td class='num'>0.040 s</td><td class='num'>0.2%</td><td class='num'>0.031</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/masking_utils.py#L530' target='_blank' rel='noopener'><code>transformers/masking_utils.py:530 sdpa_mask</code></a></td></tr><tr><td class='num'>0.040 s</td><td class='num'>0.2%</td><td class='num'>0.031</td><td>transformers generation</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/generation/utils.py#L3247' target='_blank' rel='noopener'><code>transformers/generation/utils.py:3247 GenerationMixin._sample</code></a></td></tr><tr><td class='num'>0.040 s</td><td class='num'>0.2%</td><td class='num'>0.031</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/masking_utils.py#L531' target='_blank' rel='noopener'><code>transformers/masking_utils.py:531 sdpa_mask</code></a></td></tr><tr><td class='num'>0.035 s</td><td class='num'>0.2%</td><td class='num'>0.027</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/masking_utils.py#L529' target='_blank' rel='noopener'><code>transformers/masking_utils.py:529 sdpa_mask</code></a></td></tr><tr><td class='num'>0.035 s</td><td class='num'>0.2%</td><td class='num'>0.027</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/deprecation.py#L178' target='_blank' rel='noopener'><code>transformers/utils/deprecation.py:178 deprecate_kwarg.<locals>.wrapper.<locals>.wrapped_func</code></a></td></tr><tr><td class='num'>0.035 s</td><td class='num'>0.2%</td><td class='num'>0.027</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/masking_utils.py#L388' target='_blank' rel='noopener'><code>transformers/masking_utils.py:388 _non_vmap_expansion_sdpa</code></a></td></tr><tr><td class='num'>0.035 s</td><td class='num'>0.2%</td><td class='num'>0.027</td><td>transformers generation</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/generation/utils.py#L3278' target='_blank' rel='noopener'><code>transformers/generation/utils.py:3278 GenerationMixin._sample</code></a></td></tr><tr><td class='num'>0.035 s</td><td class='num'>0.2%</td><td class='num'>0.027</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/masking_utils.py#L97' target='_blank' rel='noopener'><code>transformers/masking_utils.py:97 sliding_window_overlay.<locals>.inner_mask</code></a></td></tr><tr><td class='num'>0.035 s</td><td class='num'>0.2%</td><td class='num'>0.027</td><td>transformers generation</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/generation/utils.py#L1284' target='_blank' rel='noopener'><code>transformers/generation/utils.py:1284 GenerationMixin._update_model_kwargs_for_generation</code></a></td></tr><tr><td class='num'>0.030 s</td><td class='num'>0.1%</td><td class='num'>0.023</td><td>transformers generation</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/generation/utils.py#L3285' target='_blank' rel='noopener'><code>transformers/generation/utils.py:3285 GenerationMixin._sample</code></a></td></tr><tr><td class='num'>0.030 s</td><td class='num'>0.1%</td><td class='num'>0.023</td><td>transformers generation</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/generation/utils.py#L704' target='_blank' rel='noopener'><code>transformers/generation/utils.py:704 GenerationMixin.prepare_inputs_for_generation</code></a></td></tr><tr><td class='num'>0.025 s</td><td class='num'>0.1%</td><td class='num'>0.020</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/masking_utils.py#L78' target='_blank' rel='noopener'><code>transformers/masking_utils.py:78 causal_mask_function</code></a></td></tr><tr><td class='num'>0.025 s</td><td class='num'>0.1%</td><td class='num'>0.020</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/masking_utils.py#L54' target='_blank' rel='noopener'><code>transformers/masking_utils.py:54 and_masks.<locals>.and_mask</code></a></td></tr><tr><td class='num'>0.025 s</td><td class='num'>0.1%</td><td class='num'>0.020</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/nn/modules/linear.py#L134' target='_blank' rel='noopener'><code>torch/nn/modules/linear.py:134 Linear.forward</code></a></td></tr></tbody></table></div><h3>Inclusive: functions on the stack, and everything they called</h3><div class='table-wrap'><table><thead><tr><th class='num'>Time</th><th class='num'>Share</th><th class='num'>ms / token</th><th>Area</th><th>Function</th></tr></thead><tbody><tr><td class='num'>10.155 s</td><td class='num'>47.1%</td><td class='num'>7.934</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/utils/_contextlib.py' target='_blank' rel='noopener'><code>no_grad (torch/utils/_contextlib.py)</code></a></td></tr><tr><td class='num'>10.155 s</td><td class='num'>47.1%</td><td class='num'>7.934</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/deprecation.py' target='_blank' rel='noopener'><code>deprecate_kwarg.<locals>.wrapper.<locals>.wrapped_func (transformers/utils/deprecation.py)</code></a></td></tr><tr><td class='num'>10.155 s</td><td class='num'>47.1%</td><td class='num'>7.934</td><td>transformers generation</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/generation/utils.py' target='_blank' rel='noopener'><code>GenerationMixin.generate (transformers/generation/utils.py)</code></a></td></tr><tr><td class='num'>10.130 s</td><td class='num'>47.0%</td><td class='num'>7.914</td><td>transformers generation</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/generation/utils.py' target='_blank' rel='noopener'><code>GenerationMixin._sample (transformers/generation/utils.py)</code></a></td></tr><tr><td class='num'>7.955 s</td><td class='num'>36.9%</td><td class='num'>6.215</td><td>transformers generation</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/generation/utils.py' target='_blank' rel='noopener'><code>StopCheck.__call__ (transformers/generation/utils.py)</code></a></td></tr><tr><td class='num'>1.085 s</td><td class='num'>5.0%</td><td class='num'>0.848</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/nn/modules/module.py' target='_blank' rel='noopener'><code>Module._call_impl (torch/nn/modules/module.py)</code></a></td></tr><tr><td class='num'>1.075 s</td><td class='num'>5.0%</td><td class='num'>0.840</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/nn/modules/module.py' target='_blank' rel='noopener'><code>Module._wrapped_call_impl (torch/nn/modules/module.py)</code></a></td></tr><tr><td class='num'>0.835 s</td><td class='num'>3.9%</td><td class='num'>0.652</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/eval_frame.py' target='_blank' rel='noopener'><code>_TorchDynamoContext.__call__.<locals>.compile_wrapper (torch/_dynamo/eval_frame.py)</code></a></td></tr><tr><td class='num'>0.710 s</td><td class='num'>3.3%</td><td class='num'>0.555</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/generic.py' target='_blank' rel='noopener'><code>can_return_tuple.<locals>.wrapper (transformers/utils/generic.py)</code></a></td></tr><tr><td class='num'>0.570 s</td><td class='num'>2.6%</td><td class='num'>0.445</td><td>transformers generation</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/generation/utils.py' target='_blank' rel='noopener'><code>GenerationMixin.prepare_inputs_for_generation (transformers/generation/utils.py)</code></a></td></tr><tr><td class='num'>0.405 s</td><td class='num'>1.9%</td><td class='num'>0.316</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/masking_utils.py' target='_blank' rel='noopener'><code>create_masks_for_generate (transformers/masking_utils.py)</code></a></td></tr><tr><td class='num'>0.355 s</td><td class='num'>1.6%</td><td class='num'>0.277</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/masking_utils.py' target='_blank' rel='noopener'><code>sdpa_mask (transformers/masking_utils.py)</code></a></td></tr><tr><td class='num'>0.320 s</td><td class='num'>1.5%</td><td class='num'>0.250</td><td>transformers models</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/models/gemma3/modeling_gemma3.py' target='_blank' rel='noopener'><code>Gemma3TextModel.forward (transformers/models/gemma3/modeling_gemma3.py)</code></a></td></tr><tr><td class='num'>0.320 s</td><td class='num'>1.5%</td><td class='num'>0.250</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/output_capturing.py' target='_blank' rel='noopener'><code>capture_outputs.<locals>.wrapped_fn.<locals>.wrapper (transformers/utils/output_capturing.py)</code></a></td></tr><tr><td class='num'>0.320 s</td><td class='num'>1.5%</td><td class='num'>0.250</td><td>transformers models</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/models/gemma3/modeling_gemma3.py' target='_blank' rel='noopener'><code>Gemma3ForCausalLM.forward (transformers/models/gemma3/modeling_gemma3.py)</code></a></td></tr><tr><td class='num'>0.320 s</td><td class='num'>1.5%</td><td class='num'>0.250</td><td>transformers generation</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/generation/utils.py' target='_blank' rel='noopener'><code>GenerationMixin._prefill (transformers/generation/utils.py)</code></a></td></tr><tr><td class='num'>0.320 s</td><td class='num'>1.5%</td><td class='num'>0.250</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/generic.py' target='_blank' rel='noopener'><code>merge_with_config_defaults.<locals>.wrapper (transformers/utils/generic.py)</code></a></td></tr><tr><td class='num'>0.315 s</td><td class='num'>1.5%</td><td class='num'>0.246</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/eval_frame.py' target='_blank' rel='noopener'><code>DisableContext.__call__.<locals>._fn (torch/_dynamo/eval_frame.py)</code></a></td></tr><tr><td class='num'>0.310 s</td><td class='num'>1.4%</td><td class='num'>0.242</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_functorch/_aot_autograd/runtime_wrappers.py' target='_blank' rel='noopener'><code>_create_runtime_wrapper.<locals>.runtime_wrapper (torch/_functorch/_aot_autograd/runtime_wrappers.py)</code></a></td></tr><tr><td class='num'>0.310 s</td><td class='num'>1.4%</td><td class='num'>0.242</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_functorch/_aot_autograd/runtime_wrappers.py' target='_blank' rel='noopener'><code>SerializableCompiledFunction.__call__ (torch/_functorch/_aot_autograd/runtime_wrappers.py)</code></a></td></tr><tr><td class='num'>0.310 s</td><td class='num'>1.4%</td><td class='num'>0.242</td><td>native, other</td><td><code>_runtime_wrapper (/opt/bench/tbv2-venv/lib/python3.14/site-packages/torch/_functorch/_aot_autograd/codegen.py:codegen(runtime_wrapper_orchestration):9) ()</code></td></tr><tr><td class='num'>0.310 s</td><td class='num'>1.4%</td><td class='num'>0.242</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_functorch/aot_autograd.py' target='_blank' rel='noopener'><code>aot_module_simplified.<locals>.forward (torch/_functorch/aot_autograd.py)</code></a></td></tr><tr><td class='num'>0.310 s</td><td class='num'>1.4%</td><td class='num'>0.242</td><td>transformers models</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/models/gemma3/modeling_gemma3.py' target='_blank' rel='noopener'><code>Gemma3DecoderLayer.forward (transformers/models/gemma3/modeling_gemma3.py)</code></a></td></tr><tr><td class='num'>0.310 s</td><td class='num'>1.4%</td><td class='num'>0.242</td><td>transformers models</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/modeling_layers.py' target='_blank' rel='noopener'><code>GradientCheckpointingLayer.__init_subclass__.<locals>.forward_with_checkpointing (transformers/modeling_layers.py)</code></a></td></tr><tr><td class='num'>0.305 s</td><td class='num'>1.4%</td><td class='num'>0.238</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_inductor/output_code.py' target='_blank' rel='noopener'><code>CompiledFxGraph.__call__ (torch/_inductor/output_code.py)</code></a></td></tr></tbody></table></div></details><details class='card' style='margin:10px 0'><summary><strong>first generation</strong> <span class='muted'>14.99 s sampled</span></summary><div class='tiles'><div class="tile"><div class="tile-label">Sampled</div><div class="tile-value">14.99 s</div><div class="tile-sub">2,998 samples</div></div><div class="tile"><div class="tile-label">Wall time</div><div class="tile-value">28.18 s</div><div class="tile-sub">between the phase's boundaries</div></div><div class="tile"><div class="tile-label">Per token</div><div class="tile-value">220.18 ms</div><div class="tile-sub">128 tokens</div></div></div><h3>By area of code (innermost frame)</h3><div class="bar-row"><span class="bar-name">Python, other</span><span class="bar-track"><span class="bar-fill" style="width:43.0%;background:var(--accent)"></span></span><span class="bar-val">6.44 s <small>43%</small></span></div><div class="bar-row"><span class="bar-name">torch.compile</span><span class="bar-track"><span class="bar-fill" style="width:33.6%;background:var(--accent)"></span></span><span class="bar-val">5.04 s <small>34%</small></span></div><div class="bar-row"><span class="bar-name">(benchmark tool)</span><span class="bar-track"><span class="bar-fill" style="width:7.5%;background:var(--accent)"></span></span><span class="bar-val">1.12 s <small>8%</small></span></div><div class="bar-row"><span class="bar-name">torch</span><span class="bar-track"><span class="bar-fill" style="width:7.4%;background:var(--accent)"></span></span><span class="bar-val">1.11 s <small>7%</small></span></div><div class="bar-row"><span class="bar-name">transformers generation</span><span class="bar-track"><span class="bar-fill" style="width:6.7%;background:var(--accent)"></span></span><span class="bar-val">1.00 s <small>7%</small></span></div><div class="bar-row"><span class="bar-name">transformers models</span><span class="bar-track"><span class="bar-fill" style="width:0.9%;background:var(--accent)"></span></span><span class="bar-val">0.14 s <small>1%</small></span></div><div class="bar-row"><span class="bar-name">transformers, other</span><span class="bar-track"><span class="bar-fill" style="width:0.6%;background:var(--accent)"></span></span><span class="bar-val">0.09 s <small>1%</small></span></div><h3>Self: the lines the samples were in</h3><div class='table-wrap'><table><thead><tr><th class='num'>Time</th><th class='num'>Share</th><th class='num'>ms / token</th><th>Area</th><th>Line</th></tr></thead><tbody><tr><td class='num'>2.215 s</td><td class='num'>14.8%</td><td class='num'>17.305</td><td>Python, other</td><td><code>ast.py:46 parse</code></td></tr><tr><td class='num'>0.810 s</td><td class='num'>5.4%</td><td class='num'>6.328</td><td>transformers generation</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/generation/utils.py#L395' target='_blank' rel='noopener'><code>transformers/generation/utils.py:395 StopCheck.__call__</code></a></td></tr><tr><td class='num'>0.325 s</td><td class='num'>2.2%</td><td class='num'>2.539</td><td>Python, other</td><td><code>traceback.py:555 StackSummary.format_frame_summary</code></td></tr><tr><td class='num'>0.285 s</td><td class='num'>1.9%</td><td class='num'>2.227</td><td>Python, other</td><td><code>traceback.py:597 StackSummary.format_frame_summary</code></td></tr><tr><td class='num'>0.280 s</td><td class='num'>1.9%</td><td class='num'>2.188</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/fx/graph_module.py#L145' target='_blank' rel='noopener'><code>torch/fx/graph_module.py:145 _exec_with_source</code></a></td></tr><tr><td class='num'>0.280 s</td><td class='num'>1.9%</td><td class='num'>2.188</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/exc.py#L988' target='_blank' rel='noopener'><code>torch/_dynamo/exc.py:988 _extract_stack_with_positions</code></a></td></tr><tr><td class='num'>0.275 s</td><td class='num'>1.8%</td><td class='num'>2.148</td><td>Python, other</td><td><code>traceback.py:949 _extract_caret_anchors_from_line_segment</code></td></tr><tr><td class='num'>0.270 s</td><td class='num'>1.8%</td><td class='num'>2.109</td><td>Python, other</td><td><code>traceback.py:596 StackSummary.format_frame_summary</code></td></tr><tr><td class='num'>0.255 s</td><td class='num'>1.7%</td><td class='num'>1.992</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/symbolic_convert.py#L1858' target='_blank' rel='noopener'><code>torch/_dynamo/symbolic_convert.py:1858 InstructionTranslatorBase.step</code></a></td></tr><tr><td class='num'>0.255 s</td><td class='num'>1.7%</td><td class='num'>1.992</td><td>torch.compile</td><td><code>triton/runtime/cache.py:309 triton_key</code></td></tr><tr><td class='num'>0.210 s</td><td class='num'>1.4%</td><td class='num'>1.641</td><td>Python, other</td><td><code>traceback.py:703 StackSummary.format_frame_summary</code></td></tr><tr><td class='num'>0.190 s</td><td class='num'>1.3%</td><td class='num'>1.484</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/nn/modules/linear.py#L134' target='_blank' rel='noopener'><code>torch/nn/modules/linear.py:134 Linear.forward</code></a></td></tr><tr><td class='num'>0.170 s</td><td class='num'>1.1%</td><td class='num'>1.328</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/utils.py#L4549' target='_blank' rel='noopener'><code>torch/_dynamo/utils.py:4549 run_node</code></a></td></tr><tr><td class='num'>0.170 s</td><td class='num'>1.1%</td><td class='num'>1.328</td><td>Python, other</td><td><code>traceback.py:700 StackSummary.format_frame_summary</code></td></tr><tr><td class='num'>0.150 s</td><td class='num'>1.0%</td><td class='num'>1.172</td><td>Python, other</td><td><code>traceback.py:763 StackSummary.format</code></td></tr><tr><td class='num'>0.135 s</td><td class='num'>0.9%</td><td class='num'>1.055</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/convert_frame.py#L2258' target='_blank' rel='noopener'><code>torch/_dynamo/convert_frame.py:2258 _compile</code></a></td></tr><tr><td class='num'>0.110 s</td><td class='num'>0.7%</td><td class='num'>0.859</td><td>Python, other</td><td><code><frozen importlib._bootstrap_external>:511 _compile_bytecode</code></td></tr><tr><td class='num'>0.105 s</td><td class='num'>0.7%</td><td class='num'>0.820</td><td>Python, other</td><td><code>dataclasses.py:506 _FuncBuilder.add_fns_to_class</code></td></tr><tr><td class='num'>0.105 s</td><td class='num'>0.7%</td><td class='num'>0.820</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_inductor/runtime/compile_tasks.py#L29' target='_blank' rel='noopener'><code>torch/_inductor/runtime/compile_tasks.py:29 _reload_python_module</code></a></td></tr><tr><td class='num'>0.100 s</td><td class='num'>0.7%</td><td class='num'>0.781</td><td>Python, other</td><td><code>traceback.py:841 _extract_caret_anchors_from_line_segment</code></td></tr><tr><td class='num'>0.090 s</td><td class='num'>0.6%</td><td class='num'>0.703</td><td>Python, other</td><td><code>traceback.py:543 StackSummary.format_frame_summary</code></td></tr><tr><td class='num'>0.090 s</td><td class='num'>0.6%</td><td class='num'>0.703</td><td>Python, other</td><td><code>traceback.py:953 _extract_caret_anchors_from_line_segment</code></td></tr><tr><td class='num'>0.090 s</td><td class='num'>0.6%</td><td class='num'>0.703</td><td>Python, other</td><td><code>traceback.py:595 StackSummary.format_frame_summary</code></td></tr><tr><td class='num'>0.085 s</td><td class='num'>0.6%</td><td class='num'>0.664</td><td>Python, other</td><td><code>traceback.py:714 StackSummary._should_show_carets</code></td></tr><tr><td class='num'>0.085 s</td><td class='num'>0.6%</td><td class='num'>0.664</td><td>Python, other</td><td><code>traceback.py:691 StackSummary.format_frame_summary</code></td></tr></tbody></table></div><h3>Inclusive: functions on the stack, and everything they called</h3><div class='table-wrap'><table><thead><tr><th class='num'>Time</th><th class='num'>Share</th><th class='num'>ms / token</th><th>Area</th><th>Function</th></tr></thead><tbody><tr><td class='num'>13.865 s</td><td class='num'>92.5%</td><td class='num'>108.320</td><td>transformers generation</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/generation/utils.py' target='_blank' rel='noopener'><code>GenerationMixin.generate (transformers/generation/utils.py)</code></a></td></tr><tr><td class='num'>13.865 s</td><td class='num'>92.5%</td><td class='num'>108.320</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/deprecation.py' target='_blank' rel='noopener'><code>deprecate_kwarg.<locals>.wrapper.<locals>.wrapped_func (transformers/utils/deprecation.py)</code></a></td></tr><tr><td class='num'>13.865 s</td><td class='num'>92.5%</td><td class='num'>108.320</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/utils/_contextlib.py' target='_blank' rel='noopener'><code>no_grad (torch/utils/_contextlib.py)</code></a></td></tr><tr><td class='num'>13.760 s</td><td class='num'>91.8%</td><td class='num'>107.500</td><td>transformers generation</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/generation/utils.py' target='_blank' rel='noopener'><code>GenerationMixin._sample (transformers/generation/utils.py)</code></a></td></tr><tr><td class='num'>12.660 s</td><td class='num'>84.5%</td><td class='num'>98.906</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/nn/modules/module.py' target='_blank' rel='noopener'><code>Module._wrapped_call_impl (torch/nn/modules/module.py)</code></a></td></tr><tr><td class='num'>12.660 s</td><td class='num'>84.5%</td><td class='num'>98.906</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/nn/modules/module.py' target='_blank' rel='noopener'><code>Module._call_impl (torch/nn/modules/module.py)</code></a></td></tr><tr><td class='num'>12.305 s</td><td class='num'>82.1%</td><td class='num'>96.133</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/eval_frame.py' target='_blank' rel='noopener'><code>_TorchDynamoContext.__call__.<locals>.compile_wrapper (torch/_dynamo/eval_frame.py)</code></a></td></tr><tr><td class='num'>12.110 s</td><td class='num'>80.8%</td><td class='num'>94.609</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/convert_frame.py' target='_blank' rel='noopener'><code>_compile (torch/_dynamo/convert_frame.py)</code></a></td></tr><tr><td class='num'>12.110 s</td><td class='num'>80.8%</td><td class='num'>94.609</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/convert_frame.py' target='_blank' rel='noopener'><code>ConvertFrameAssert.__call__ (torch/_dynamo/convert_frame.py)</code></a></td></tr><tr><td class='num'>12.110 s</td><td class='num'>80.8%</td><td class='num'>94.609</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/convert_frame.py' target='_blank' rel='noopener'><code>CatchErrorsWrapper.__call__ (torch/_dynamo/convert_frame.py)</code></a></td></tr><tr><td class='num'>11.940 s</td><td class='num'>79.7%</td><td class='num'>93.281</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/convert_frame.py' target='_blank' rel='noopener'><code>_compile.<locals>._compile_inner (torch/_dynamo/convert_frame.py)</code></a></td></tr><tr><td class='num'>11.940 s</td><td class='num'>79.7%</td><td class='num'>93.281</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_utils_internal.py' target='_blank' rel='noopener'><code>compile_time_strobelight_meta.<locals>.compile_time_strobelight_meta_inner.<locals>.wrapper_function (torch/_utils_internal.py)</code></a></td></tr><tr><td class='num'>11.940 s</td><td class='num'>79.7%</td><td class='num'>93.281</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/convert_frame.py' target='_blank' rel='noopener'><code>_compile.<locals>.compile_inner (torch/_dynamo/convert_frame.py)</code></a></td></tr><tr><td class='num'>11.430 s</td><td class='num'>76.3%</td><td class='num'>89.297</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/bytecode_transformation.py' target='_blank' rel='noopener'><code>transform_code_object (torch/_dynamo/bytecode_transformation.py)</code></a></td></tr><tr><td class='num'>11.430 s</td><td class='num'>76.3%</td><td class='num'>89.297</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/convert_frame.py' target='_blank' rel='noopener'><code>compile_frame (torch/_dynamo/convert_frame.py)</code></a></td></tr><tr><td class='num'>11.315 s</td><td class='num'>75.5%</td><td class='num'>88.398</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/convert_frame.py' target='_blank' rel='noopener'><code>compile_frame.<locals>.transform (torch/_dynamo/convert_frame.py)</code></a></td></tr><tr><td class='num'>11.315 s</td><td class='num'>75.5%</td><td class='num'>88.398</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/convert_frame.py' target='_blank' rel='noopener'><code>trace_frame (torch/_dynamo/convert_frame.py)</code></a></td></tr><tr><td class='num'>11.315 s</td><td class='num'>75.5%</td><td class='num'>88.398</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/convert_frame.py' target='_blank' rel='noopener'><code>preserve_global_state.<locals>._fn (torch/_dynamo/convert_frame.py)</code></a></td></tr><tr><td class='num'>11.300 s</td><td class='num'>75.4%</td><td class='num'>88.281</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/convert_frame.py' target='_blank' rel='noopener'><code>trace_frame.<locals>.run_tracer (torch/_dynamo/convert_frame.py)</code></a></td></tr><tr><td class='num'>11.300 s</td><td class='num'>75.4%</td><td class='num'>88.281</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/symbolic_convert.py' target='_blank' rel='noopener'><code>InstructionTranslatorBase.run (torch/_dynamo/symbolic_convert.py)</code></a></td></tr><tr><td class='num'>11.295 s</td><td class='num'>75.4%</td><td class='num'>88.242</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/symbolic_convert.py' target='_blank' rel='noopener'><code>InstructionTranslatorBase.step (torch/_dynamo/symbolic_convert.py)</code></a></td></tr><tr><td class='num'>9.070 s</td><td class='num'>60.5%</td><td class='num'>70.859</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/symbolic_convert.py' target='_blank' rel='noopener'><code>break_graph_if_unsupported.<locals>.decorator.<locals>.wrapper (torch/_dynamo/symbolic_convert.py)</code></a></td></tr><tr><td class='num'>9.070 s</td><td class='num'>60.5%</td><td class='num'>70.859</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/symbolic_convert.py' target='_blank' rel='noopener'><code>InstructionTranslatorBase.call_function (torch/_dynamo/symbolic_convert.py)</code></a></td></tr><tr><td class='num'>9.055 s</td><td class='num'>60.4%</td><td class='num'>70.742</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/variables/lazy.py' target='_blank' rel='noopener'><code>_create_realize_and_forward.<locals>.realize_and_forward (torch/_dynamo/variables/lazy.py)</code></a></td></tr><tr><td class='num'>9.035 s</td><td class='num'>60.3%</td><td class='num'>70.586</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/symbolic_convert.py' target='_blank' rel='noopener'><code>InstructionTranslatorBase.inline_user_function_return (torch/_dynamo/symbolic_convert.py)</code></a></td></tr></tbody></table></div></details><details class='card' style='margin:10px 0'><summary><strong>load</strong> <span class='muted'>1.54 s sampled</span></summary><div class='tiles'><div class="tile"><div class="tile-label">Sampled</div><div class="tile-value">1.54 s</div><div class="tile-sub">309 samples</div></div><div class="tile"><div class="tile-label">Wall time</div><div class="tile-value">1.98 s</div><div class="tile-sub">between the phase's boundaries</div></div></div><h3>By area of code (innermost frame)</h3><div class="bar-row"><span class="bar-name">Python, other</span><span class="bar-track"><span class="bar-fill" style="width:53.7%;background:var(--accent)"></span></span><span class="bar-val">0.83 s <small>54%</small></span></div><div class="bar-row"><span class="bar-name">transformers models</span><span class="bar-track"><span class="bar-fill" style="width:28.5%;background:var(--accent)"></span></span><span class="bar-val">0.44 s <small>28%</small></span></div><div class="bar-row"><span class="bar-name">transformers, other</span><span class="bar-track"><span class="bar-fill" style="width:14.6%;background:var(--accent)"></span></span><span class="bar-val">0.23 s <small>15%</small></span></div><div class="bar-row"><span class="bar-name">torch</span><span class="bar-track"><span class="bar-fill" style="width:2.6%;background:var(--accent)"></span></span><span class="bar-val">0.04 s <small>3%</small></span></div><h3>Self: the lines the samples were in</h3><div class='table-wrap'><table><thead><tr><th class='num'>Time</th><th class='num'>Share</th><th class='num'>ms / token</th><th>Area</th><th>Line</th></tr></thead><tbody><tr><td class='num'>0.420 s</td><td class='num'>27.2%</td><td class='num'>–</td><td>transformers models</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/models/gemma/tokenization_gemma.py#L82' target='_blank' rel='noopener'><code>transformers/models/gemma/tokenization_gemma.py:82 GemmaTokenizer.__init__</code></a></td></tr><tr><td class='num'>0.325 s</td><td class='num'>21.0%</td><td class='num'>–</td><td>Python, other</td><td><code>json/decoder.py:361 JSONDecoder.raw_decode</code></td></tr><tr><td class='num'>0.195 s</td><td class='num'>12.6%</td><td class='num'>–</td><td>Python, other</td><td><code>json/__init__.py:298 load</code></td></tr><tr><td class='num'>0.105 s</td><td class='num'>6.8%</td><td class='num'>–</td><td>Python, other</td><td><code><frozen codecs>:325 BufferedIncrementalDecoder.decode</code></td></tr><tr><td class='num'>0.090 s</td><td class='num'>5.8%</td><td class='num'>–</td><td>Python, other</td><td><code>re/_parser.py:261 Tokenizer.get</code></td></tr><tr><td class='num'>0.065 s</td><td class='num'>4.2%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/tokenization_utils_tokenizers.py#L196' target='_blank' rel='noopener'><code>transformers/tokenization_utils_tokenizers.py:196 TokenizersBackend.convert_to_native_format</code></a></td></tr><tr><td class='num'>0.030 s</td><td class='num'>1.9%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/auto_docstring.py#L3027' target='_blank' rel='noopener'><code>transformers/utils/auto_docstring.py:3027 parse_docstring</code></a></td></tr><tr><td class='num'>0.030 s</td><td class='num'>1.9%</td><td class='num'>–</td><td>Python, other</td><td><code>copy.py:233 _reconstruct.<locals>.<genexpr></code></td></tr><tr><td class='num'>0.025 s</td><td class='num'>1.6%</td><td class='num'>–</td><td>Python, other</td><td><code>threading.py:369 Condition.wait</code></td></tr><tr><td class='num'>0.015 s</td><td class='num'>1.0%</td><td class='num'>–</td><td>Python, other</td><td><code>dataclasses.py:506 _FuncBuilder.add_fns_to_class</code></td></tr><tr><td class='num'>0.015 s</td><td class='num'>1.0%</td><td class='num'>–</td><td>Python, other</td><td><code>re/_parser.py:176 SubPattern.append</code></td></tr><tr><td class='num'>0.010 s</td><td class='num'>0.6%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/tokenization_utils_tokenizers.py#L1099' target='_blank' rel='noopener'><code>transformers/tokenization_utils_tokenizers.py:1099 TokenizersBackend._encode_plus</code></a></td></tr><tr><td class='num'>0.010 s</td><td class='num'>0.6%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/tokenization_utils_tokenizers.py#L844' target='_blank' rel='noopener'><code>transformers/tokenization_utils_tokenizers.py:844 TokenizersBackend._add_tokens</code></a></td></tr><tr><td class='num'>0.010 s</td><td class='num'>0.6%</td><td class='num'>–</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/nn/init.py#L165' target='_blank' rel='noopener'><code>torch/nn/init.py:165 _no_grad_fill_</code></a></td></tr><tr><td class='num'>0.010 s</td><td class='num'>0.6%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/core_model_loading.py#L1982' target='_blank' rel='noopener'><code>transformers/core_model_loading.py:1982 convert_and_load_state_dict_in_model</code></a></td></tr><tr><td class='num'>0.010 s</td><td class='num'>0.6%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/tokenization_utils_base.py#L2012' target='_blank' rel='noopener'><code>transformers/tokenization_utils_base.py:2012 PreTrainedTokenizerBase.convert_added_tokens</code></a></td></tr><tr><td class='num'>0.010 s</td><td class='num'>0.6%</td><td class='num'>–</td><td>transformers models</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/modeling_utils.py#L4488' target='_blank' rel='noopener'><code>transformers/modeling_utils.py:4488 PreTrainedModel.from_pretrained</code></a></td></tr><tr><td class='num'>0.005 s</td><td class='num'>0.3%</td><td class='num'>–</td><td>transformers models</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/models/gemma3/modeling_gemma3.py#L425' target='_blank' rel='noopener'><code>transformers/models/gemma3/modeling_gemma3.py:425 Gemma3PreTrainedModel._init_weights</code></a></td></tr><tr><td class='num'>0.005 s</td><td class='num'>0.3%</td><td class='num'>–</td><td>Python, other</td><td><code>typing.py:2368 get_type_hints</code></td></tr><tr><td class='num'>0.005 s</td><td class='num'>0.3%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/import_utils.py#L2600' target='_blank' rel='noopener'><code>transformers/utils/import_utils.py:2600 _LazyModule.__init__</code></a></td></tr><tr><td class='num'>0.005 s</td><td class='num'>0.3%</td><td class='num'>–</td><td>transformers models</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/integrations/accelerate.py#L446' target='_blank' rel='noopener'><code>transformers/integrations/accelerate.py:446 expand_device_map</code></a></td></tr><tr><td class='num'>0.005 s</td><td class='num'>0.3%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/import_utils.py#L2628' target='_blank' rel='noopener'><code>transformers/utils/import_utils.py:2628 _LazyModule.__init__</code></a></td></tr><tr><td class='num'>0.005 s</td><td class='num'>0.3%</td><td class='num'>–</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/nn/modules/module.py#L1995' target='_blank' rel='noopener'><code>torch/nn/modules/module.py:1995 Module.__setattr__</code></a></td></tr><tr><td class='num'>0.005 s</td><td class='num'>0.3%</td><td class='num'>–</td><td>Python, other</td><td><code>copy.py:157 deepcopy</code></td></tr><tr><td class='num'>0.005 s</td><td class='num'>0.3%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/tokenization_utils_tokenizers.py#L482' target='_blank' rel='noopener'><code>transformers/tokenization_utils_tokenizers.py:482 TokenizersBackend.__init__</code></a></td></tr></tbody></table></div><h3>Inclusive: functions on the stack, and everything they called</h3><div class='table-wrap'><table><thead><tr><th class='num'>Time</th><th class='num'>Share</th><th class='num'>ms / token</th><th>Area</th><th>Function</th></tr></thead><tbody><tr><td class='num'>1.210 s</td><td class='num'>78.3%</td><td class='num'>–</td><td>transformers models</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/models/auto/tokenization_auto.py' target='_blank' rel='noopener'><code>AutoTokenizer.from_pretrained (transformers/models/auto/tokenization_auto.py)</code></a></td></tr><tr><td class='num'>1.175 s</td><td class='num'>76.1%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/tokenization_utils_base.py' target='_blank' rel='noopener'><code>PreTrainedTokenizerBase.from_pretrained (transformers/tokenization_utils_base.py)</code></a></td></tr><tr><td class='num'>1.165 s</td><td class='num'>75.4%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/tokenization_utils_base.py' target='_blank' rel='noopener'><code>PreTrainedTokenizerBase._from_pretrained (transformers/tokenization_utils_base.py)</code></a></td></tr><tr><td class='num'>0.635 s</td><td class='num'>41.1%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/tokenization_utils_tokenizers.py' target='_blank' rel='noopener'><code>TokenizersBackend.convert_to_native_format (transformers/tokenization_utils_tokenizers.py)</code></a></td></tr><tr><td class='num'>0.620 s</td><td class='num'>40.1%</td><td class='num'>–</td><td>Python, other</td><td><code>load (json/__init__.py)</code></td></tr><tr><td class='num'>0.485 s</td><td class='num'>31.4%</td><td class='num'>–</td><td>transformers models</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/models/gemma/tokenization_gemma.py' target='_blank' rel='noopener'><code>GemmaTokenizer.__init__ (transformers/models/gemma/tokenization_gemma.py)</code></a></td></tr><tr><td class='num'>0.330 s</td><td class='num'>21.4%</td><td class='num'>–</td><td>Python, other</td><td><code>loads (json/__init__.py)</code></td></tr><tr><td class='num'>0.325 s</td><td class='num'>21.0%</td><td class='num'>–</td><td>Python, other</td><td><code>JSONDecoder.decode (json/decoder.py)</code></td></tr><tr><td class='num'>0.325 s</td><td class='num'>21.0%</td><td class='num'>–</td><td>Python, other</td><td><code>JSONDecoder.raw_decode (json/decoder.py)</code></td></tr><tr><td class='num'>0.320 s</td><td class='num'>20.7%</td><td class='num'>–</td><td>transformers models</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/models/auto/auto_factory.py' target='_blank' rel='noopener'><code>_BaseAutoModelClass.from_pretrained (transformers/models/auto/auto_factory.py)</code></a></td></tr><tr><td class='num'>0.245 s</td><td class='num'>15.9%</td><td class='num'>–</td><td>transformers models</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/modeling_utils.py' target='_blank' rel='noopener'><code>PreTrainedModel.from_pretrained (transformers/modeling_utils.py)</code></a></td></tr><tr><td class='num'>0.180 s</td><td class='num'>11.7%</td><td class='num'>–</td><td>transformers models</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/modeling_utils.py' target='_blank' rel='noopener'><code>PreTrainedModel._load_pretrained_model (transformers/modeling_utils.py)</code></a></td></tr><tr><td class='num'>0.165 s</td><td class='num'>10.7%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/core_model_loading.py' target='_blank' rel='noopener'><code>convert_and_load_state_dict_in_model (transformers/core_model_loading.py)</code></a></td></tr><tr><td class='num'>0.130 s</td><td class='num'>8.4%</td><td class='num'>–</td><td>native, other</td><td><code>__init__ (__init__)</code></td></tr><tr><td class='num'>0.130 s</td><td class='num'>8.4%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/core_model_loading.py' target='_blank' rel='noopener'><code>WeightTransform.__init__ (transformers/core_model_loading.py)</code></a></td></tr><tr><td class='num'>0.110 s</td><td class='num'>7.1%</td><td class='num'>–</td><td>Python, other</td><td><code>compile (re/__init__.py)</code></td></tr><tr><td class='num'>0.110 s</td><td class='num'>7.1%</td><td class='num'>–</td><td>Python, other</td><td><code>compile (re/_compiler.py)</code></td></tr><tr><td class='num'>0.110 s</td><td class='num'>7.1%</td><td class='num'>–</td><td>Python, other</td><td><code>_compile (re/__init__.py)</code></td></tr><tr><td class='num'>0.105 s</td><td class='num'>6.8%</td><td class='num'>–</td><td>Python, other</td><td><code>_parse (re/_parser.py)</code></td></tr><tr><td class='num'>0.105 s</td><td class='num'>6.8%</td><td class='num'>–</td><td>Python, other</td><td><code>parse (re/_parser.py)</code></td></tr><tr><td class='num'>0.105 s</td><td class='num'>6.8%</td><td class='num'>–</td><td>Python, other</td><td><code>_parse_sub (re/_parser.py)</code></td></tr><tr><td class='num'>0.105 s</td><td class='num'>6.8%</td><td class='num'>–</td><td>Python, other</td><td><code>BufferedIncrementalDecoder.decode (<frozen codecs>)</code></td></tr><tr><td class='num'>0.090 s</td><td class='num'>5.8%</td><td class='num'>–</td><td>Python, other</td><td><code>Tokenizer.get (re/_parser.py)</code></td></tr><tr><td class='num'>0.085 s</td><td class='num'>5.5%</td><td class='num'>–</td><td>Python, other</td><td><code>_find_and_load (<frozen importlib._bootstrap>)</code></td></tr><tr><td class='num'>0.085 s</td><td class='num'>5.5%</td><td class='num'>–</td><td>Python, other</td><td><code>_LoaderBasics.exec_module (<frozen importlib._bootstrap_external>)</code></td></tr></tbody></table></div></details><details class='card' style='margin:10px 0'><summary><strong>other</strong> <span class='muted'>5.54 s sampled</span></summary><div class='tiles'><div class="tile"><div class="tile-label">Sampled</div><div class="tile-value">5.54 s</div><div class="tile-sub">1,108 samples</div></div></div><h3>By area of code (innermost frame)</h3><div class="bar-row"><span class="bar-name">Python, other</span><span class="bar-track"><span class="bar-fill" style="width:52.0%;background:var(--accent)"></span></span><span class="bar-val">2.88 s <small>52%</small></span></div><div class="bar-row"><span class="bar-name">torch</span><span class="bar-track"><span class="bar-fill" style="width:17.8%;background:var(--accent)"></span></span><span class="bar-val">0.98 s <small>18%</small></span></div><div class="bar-row"><span class="bar-name">transformers, other</span><span class="bar-track"><span class="bar-fill" style="width:14.4%;background:var(--accent)"></span></span><span class="bar-val">0.80 s <small>14%</small></span></div><div class="bar-row"><span class="bar-name">torch.compile</span><span class="bar-track"><span class="bar-fill" style="width:12.5%;background:var(--accent)"></span></span><span class="bar-val">0.69 s <small>13%</small></span></div><div class="bar-row"><span class="bar-name">transformers models</span><span class="bar-track"><span class="bar-fill" style="width:1.6%;background:var(--accent)"></span></span><span class="bar-val">0.09 s <small>2%</small></span></div><div class="bar-row"><span class="bar-name">(benchmark tool)</span><span class="bar-track"><span class="bar-fill" style="width:1.3%;background:var(--accent)"></span></span><span class="bar-val">0.07 s <small>1%</small></span></div><h3>Self: the lines the samples were in</h3><div class='table-wrap'><table><thead><tr><th class='num'>Time</th><th class='num'>Share</th><th class='num'>ms / token</th><th>Area</th><th>Line</th></tr></thead><tbody><tr><td class='num'>0.420 s</td><td class='num'>7.6%</td><td class='num'>–</td><td>Python, other</td><td><code><frozen importlib._bootstrap_external>:511 _compile_bytecode</code></td></tr><tr><td class='num'>0.315 s</td><td class='num'>5.7%</td><td class='num'>–</td><td>Python, other</td><td><code><frozen importlib._bootstrap>:491 _call_with_frames_removed</code></td></tr><tr><td class='num'>0.235 s</td><td class='num'>4.2%</td><td class='num'>–</td><td>Python, other</td><td><code>dataclasses.py:506 _FuncBuilder.add_fns_to_class</code></td></tr><tr><td class='num'>0.225 s</td><td class='num'>4.1%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/core_model_loading.py#L1466' target='_blank' rel='noopener'><code>transformers/core_model_loading.py:1466 _materialize_copy</code></a></td></tr><tr><td class='num'>0.145 s</td><td class='num'>2.6%</td><td class='num'>–</td><td>Python, other</td><td><code>ast.py:46 parse</code></td></tr><tr><td class='num'>0.135 s</td><td class='num'>2.4%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/import_utils.py#L3148' target='_blank' rel='noopener'><code>transformers/utils/import_utils.py:3148 fetch__all__</code></a></td></tr><tr><td class='num'>0.125 s</td><td class='num'>2.3%</td><td class='num'>–</td><td>Python, other</td><td><code>textwrap.py:444 dedent</code></td></tr><tr><td class='num'>0.120 s</td><td class='num'>2.2%</td><td class='num'>–</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/cuda/__init__.py#L1371' target='_blank' rel='noopener'><code>torch/cuda/__init__.py:1371 synchronize</code></a></td></tr><tr><td class='num'>0.095 s</td><td class='num'>1.7%</td><td class='num'>–</td><td>Python, other</td><td><code>ctypes/__init__.py:475 CDLL._load_library</code></td></tr><tr><td class='num'>0.080 s</td><td class='num'>1.4%</td><td class='num'>–</td><td>Python, other</td><td><code><frozen posixpath>:457 realpath</code></td></tr><tr><td class='num'>0.070 s</td><td class='num'>1.3%</td><td class='num'>–</td><td>Python, other</td><td><code>textwrap.py:441 dedent</code></td></tr><tr><td class='num'>0.060 s</td><td class='num'>1.1%</td><td class='num'>–</td><td>Python, other</td><td><code>functools.py:593 lru_cache.<locals>.decorating_function</code></td></tr><tr><td class='num'>0.055 s</td><td class='num'>1.0%</td><td class='num'>–</td><td>Python, other</td><td><code><frozen importlib._bootstrap_external>:951 FileLoader.get_data</code></td></tr><tr><td class='num'>0.055 s</td><td class='num'>1.0%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/import_utils.py#L3262' target='_blank' rel='noopener'><code>transformers/utils/import_utils.py:3262 create_import_structure_from_path</code></a></td></tr><tr><td class='num'>0.050 s</td><td class='num'>0.9%</td><td class='num'>–</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/cuda/__init__.py#L241' target='_blank' rel='noopener'><code>torch/cuda/__init__.py:241 is_available</code></a></td></tr><tr><td class='num'>0.045 s</td><td class='num'>0.8%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/import_utils.py#L3149' target='_blank' rel='noopener'><code>transformers/utils/import_utils.py:3149 fetch__all__</code></a></td></tr><tr><td class='num'>0.040 s</td><td class='num'>0.7%</td><td class='num'>–</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/library.py#L508' target='_blank' rel='noopener'><code>torch/library.py:508 Library.impl</code></a></td></tr><tr><td class='num'>0.040 s</td><td class='num'>0.7%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/core_model_loading.py#L1464' target='_blank' rel='noopener'><code>transformers/core_model_loading.py:1464 _materialize_copy</code></a></td></tr><tr><td class='num'>0.035 s</td><td class='num'>0.6%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/import_utils.py#L3261' target='_blank' rel='noopener'><code>transformers/utils/import_utils.py:3261 create_import_structure_from_path</code></a></td></tr><tr><td class='num'>0.035 s</td><td class='num'>0.6%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/import_utils.py#L3126' target='_blank' rel='noopener'><code>transformers/utils/import_utils.py:3126 <lambda></code></a></td></tr><tr><td class='num'>0.035 s</td><td class='num'>0.6%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/import_utils.py#L3150' target='_blank' rel='noopener'><code>transformers/utils/import_utils.py:3150 fetch__all__</code></a></td></tr><tr><td class='num'>0.030 s</td><td class='num'>0.5%</td><td class='num'>–</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_subclasses/fake_tensor.py#L752' target='_blank' rel='noopener'><code>torch/_subclasses/fake_tensor.py:752 in_kernel_invocation_manager</code></a></td></tr><tr><td class='num'>0.030 s</td><td class='num'>0.5%</td><td class='num'>–</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_subclasses/fake_tensor.py#L1038' target='_blank' rel='noopener'><code>torch/_subclasses/fake_tensor.py:1038 FakeTensor.__new__</code></a></td></tr><tr><td class='num'>0.030 s</td><td class='num'>0.5%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/import_utils.py#L3363' target='_blank' rel='noopener'><code>transformers/utils/import_utils.py:3363 create_import_structure_from_path</code></a></td></tr><tr><td class='num'>0.030 s</td><td class='num'>0.5%</td><td class='num'>–</td><td>Python, other</td><td><code>textwrap.py:440 dedent</code></td></tr></tbody></table></div><h3>Inclusive: functions on the stack, and everything they called</h3><div class='table-wrap'><table><thead><tr><th class='num'>Time</th><th class='num'>Share</th><th class='num'>ms / token</th><th>Area</th><th>Function</th></tr></thead><tbody><tr><td class='num'>2.710 s</td><td class='num'>48.9%</td><td class='num'>–</td><td>Python, other</td><td><code>_load_unlocked (<frozen importlib._bootstrap>)</code></td></tr><tr><td class='num'>2.690 s</td><td class='num'>48.6%</td><td class='num'>–</td><td>Python, other</td><td><code>_LoaderBasics.exec_module (<frozen importlib._bootstrap_external>)</code></td></tr><tr><td class='num'>2.690 s</td><td class='num'>48.6%</td><td class='num'>–</td><td>Python, other</td><td><code>_find_and_load_unlocked (<frozen importlib._bootstrap>)</code></td></tr><tr><td class='num'>2.685 s</td><td class='num'>48.5%</td><td class='num'>–</td><td>Python, other</td><td><code>_find_and_load (<frozen importlib._bootstrap>)</code></td></tr><tr><td class='num'>2.685 s</td><td class='num'>48.5%</td><td class='num'>–</td><td>Python, other</td><td><code>_call_with_frames_removed (<frozen importlib._bootstrap>)</code></td></tr><tr><td class='num'>1.835 s</td><td class='num'>33.1%</td><td class='num'>–</td><td>Python, other</td><td><code>_handle_fromlist (<frozen importlib._bootstrap>)</code></td></tr><tr><td class='num'>1.180 s</td><td class='num'>21.3%</td><td class='num'>–</td><td>Python, other</td><td><code>import_module (importlib/__init__.py)</code></td></tr><tr><td class='num'>1.180 s</td><td class='num'>21.3%</td><td class='num'>–</td><td>Python, other</td><td><code>_gcd_import (<frozen importlib._bootstrap>)</code></td></tr><tr><td class='num'>1.065 s</td><td class='num'>19.2%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/import_utils.py' target='_blank' rel='noopener'><code>_LazyModule._get_module (transformers/utils/import_utils.py)</code></a></td></tr><tr><td class='num'>1.065 s</td><td class='num'>19.2%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/import_utils.py' target='_blank' rel='noopener'><code>_LazyModule.__getattr__ (transformers/utils/import_utils.py)</code></a></td></tr><tr><td class='num'>0.885 s</td><td class='num'>16.0%</td><td class='num'>–</td><td>torch</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/__init__.py' target='_blank' rel='noopener'><code><module> (torch/__init__.py)</code></a></td></tr><tr><td class='num'>0.780 s</td><td class='num'>14.1%</td><td class='num'>–</td><td>transformers generation</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/generation/utils.py' target='_blank' rel='noopener'><code><module> (transformers/generation/utils.py)</code></a></td></tr><tr><td class='num'>0.465 s</td><td class='num'>8.4%</td><td class='num'>–</td><td>Python, other</td><td><code>SourceLoader.get_code (<frozen importlib._bootstrap_external>)</code></td></tr><tr><td class='num'>0.460 s</td><td class='num'>8.3%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/import_utils.py' target='_blank' rel='noopener'><code>define_import_structure (transformers/utils/import_utils.py)</code></a></td></tr><tr><td class='num'>0.450 s</td><td class='num'>8.1%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/utils/import_utils.py' target='_blank' rel='noopener'><code>create_import_structure_from_path (transformers/utils/import_utils.py)</code></a></td></tr><tr><td class='num'>0.425 s</td><td class='num'>7.7%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/masking_utils.py' target='_blank' rel='noopener'><code><module> (transformers/masking_utils.py)</code></a></td></tr><tr><td class='num'>0.420 s</td><td class='num'>7.6%</td><td class='num'>–</td><td>Python, other</td><td><code>_compile_bytecode (<frozen importlib._bootstrap_external>)</code></td></tr><tr><td class='num'>0.405 s</td><td class='num'>7.3%</td><td class='num'>–</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/__init__.py' target='_blank' rel='noopener'><code><module> (torch/_dynamo/__init__.py)</code></a></td></tr><tr><td class='num'>0.385 s</td><td class='num'>6.9%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/__init__.py' target='_blank' rel='noopener'><code><module> (transformers/__init__.py)</code></a></td></tr><tr><td class='num'>0.360 s</td><td class='num'>6.5%</td><td class='num'>–</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/convert_frame.py' target='_blank' rel='noopener'><code><module> (torch/_dynamo/convert_frame.py)</code></a></td></tr><tr><td class='num'>0.360 s</td><td class='num'>6.5%</td><td class='num'>–</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/aot_compile.py' target='_blank' rel='noopener'><code><module> (torch/_dynamo/aot_compile.py)</code></a></td></tr><tr><td class='num'>0.350 s</td><td class='num'>6.3%</td><td class='num'>–</td><td>torch.compile</td><td><a href='https://github.com/pytorch/pytorch/blob/v2.15.0/torch/_dynamo/symbolic_convert.py' target='_blank' rel='noopener'><code><module> (torch/_dynamo/symbolic_convert.py)</code></a></td></tr><tr><td class='num'>0.330 s</td><td class='num'>6.0%</td><td class='num'>–</td><td>transformers, other</td><td><a href='https://github.com/huggingface/transformers/blob/518453161921c2e908a64913949dbaaafba64e3e/src/transformers/distributed/fsdp.py' target='_blank' rel='noopener'><code><module> (transformers/distributed/fsdp.py)</code></a></td></tr><tr><td class='num'>0.325 s</td><td class='num'>5.9%</td><td class='num'>–</td><td>Python, other</td><td><code>_process_class (dataclasses.py)</code></td></tr><tr><td class='num'>0.325 s</td><td class='num'>5.9%</td><td class='num'>–</td><td>Python, other</td><td><code>dataclass.<locals>.wrap (dataclasses.py)</code></td></tr></tbody></table></div></details><p>All stacks: <a href='python.folded'>python.folded</a> (folded stacks: open in <a href='https://www.speedscope.app'>speedscope.app</a>).</p></div></body></html>
|