|
| 1 | +{ |
| 2 | + "measurement_date": "2026-10-25", |
| 3 | + "source": { |
| 4 | + "repository": "https://github.com/OrderLab/TrainCheck", |
| 5 | + "base_commit": "9eb4f320d3db34d372145261704b805b88e39bda", |
| 6 | + "unchanged_prerequisites": [ |
| 7 | + "deterministic inference sampling", |
| 8 | + "example reservoir cap fixes" |
| 9 | + ], |
| 10 | + "trace_pandas_sha256": { |
| 11 | + "legacy": "e1bb62eae653f95c5498dc921d991af013e8b5717398f94cfbc718812bb600ad", |
| 12 | + "context_index": "13d5d1273595f8183d0511ae288a998cb57e3ea66dc232e4bfec503739de825c", |
| 13 | + "context_and_call_index": "8e4c3589371449b78430ed5039d0159d3d0435664b218f3a96c81935be0d75d5" |
| 14 | + }, |
| 15 | + "pr_copies": { |
| 16 | + "variants": { |
| 17 | + "context_index": { |
| 18 | + "measured_source_sha256": "13d5d1273595f8183d0511ae288a998cb57e3ea66dc232e4bfec503739de825c", |
| 19 | + "pr_source_sha256": "52c296917bba877b1e87aebb54cfee1e05813e2ae32f85744d5ddfe27383d5e0", |
| 20 | + "equivalent_ast_after_normalizing_only_documented_typing_change": true |
| 21 | + }, |
| 22 | + "context_and_call_index": { |
| 23 | + "measured_source_sha256": "8e4c3589371449b78430ed5039d0159d3d0435664b218f3a96c81935be0d75d5", |
| 24 | + "pr_source_sha256": "58aebdba9955834f4d6b152527e8ba2f9166f6e62f43a098c48b115b0bbc48f5", |
| 25 | + "equivalent_ast_after_normalizing_only_documented_typing_change": true |
| 26 | + } |
| 27 | + }, |
| 28 | + "changes_from_measured_sources": [ |
| 29 | + "Both PR copies widen the inherited call-event cache annotation to include IncompleteFuncCallEvent, matching the base Trace contract, and import that existing type.", |
| 30 | + "Final PR copy adds narrow E721 suppressions to preserve intentional exact-string checks; only comments/parentheses changed in lookup logic.", |
| 31 | + "Existing explicit None-or-cache annotations are retained for the new lazy index." |
| 32 | + ], |
| 33 | + "no_frozen_source_edits": true, |
| 34 | + "local_validation_tools": { |
| 35 | + "ruff": "0.15.7", |
| 36 | + "mypy": "1.19.1", |
| 37 | + "black": "26.3.1", |
| 38 | + "isort": "6.0.1" |
| 39 | + }, |
| 40 | + "pinned_repository_hooks_need_final_worktree_verification": true |
| 41 | + } |
| 42 | + }, |
| 43 | + "saved_trace": { |
| 44 | + "events": 573494, |
| 45 | + "model_parameters": 6163712, |
| 46 | + "training_steps": 10, |
| 47 | + "archive_sha256": "62022da5a997c16ffe49aa44486a495b651c8758199f29732a216c7cf257559d", |
| 48 | + "raw_inputs_unchanged": true, |
| 49 | + "collection_pytorch": "2.16.0.dev20261012+cu130" |
| 50 | + }, |
| 51 | + "runtime": { |
| 52 | + "platform": "Linux", |
| 53 | + "python": "3.10.16", |
| 54 | + "pandas": "2.3.3", |
| 55 | + "numpy": "1.26.4", |
| 56 | + "torch": "2.2.2+cu121", |
| 57 | + "workers": 1, |
| 58 | + "native_threads": 1 |
| 59 | + }, |
| 60 | + "preparation": { |
| 61 | + "runs": { |
| 62 | + "legacy": { |
| 63 | + "context_index_seconds": 159.43910144269466, |
| 64 | + "load_seconds": 90.64373006299138, |
| 65 | + "rows": 573494, |
| 66 | + "stage_rows": { |
| 67 | + "training": 573494 |
| 68 | + }, |
| 69 | + "stage_split_seconds": 80.21087664365768, |
| 70 | + "total_seconds": 170.85460681840777, |
| 71 | + "sampled_peak_pss_bytes": 2409772032, |
| 72 | + "context_states": [ |
| 73 | + { |
| 74 | + "call": 0, |
| 75 | + "contexts": 711, |
| 76 | + "rows": 573494, |
| 77 | + "seconds": 79.72032228112221, |
| 78 | + "states_sha256": "a5ddb221a3679a50c476776b19aaa3cbc5277174775c8559eb0dcef0a28e2dd0" |
| 79 | + }, |
| 80 | + { |
| 81 | + "call": 1, |
| 82 | + "contexts": 711, |
| 83 | + "rows": 573494, |
| 84 | + "seconds": 79.71877916157246, |
| 85 | + "states_sha256": "a5ddb221a3679a50c476776b19aaa3cbc5277174775c8559eb0dcef0a28e2dd0" |
| 86 | + } |
| 87 | + ] |
| 88 | + }, |
| 89 | + "context_index": { |
| 90 | + "context_index_seconds": 0.8803581297397614, |
| 91 | + "load_seconds": 10.837436098605394, |
| 92 | + "rows": 573494, |
| 93 | + "stage_rows": { |
| 94 | + "training": 573494 |
| 95 | + }, |
| 96 | + "stage_split_seconds": 0.8764883801341057, |
| 97 | + "total_seconds": 11.713924750685692, |
| 98 | + "sampled_peak_pss_bytes": 2411297792, |
| 99 | + "context_states": [ |
| 100 | + { |
| 101 | + "call": 0, |
| 102 | + "contexts": 711, |
| 103 | + "rows": 573494, |
| 104 | + "seconds": 0.4527508243918419, |
| 105 | + "states_sha256": "a5ddb221a3679a50c476776b19aaa3cbc5277174775c8559eb0dcef0a28e2dd0" |
| 106 | + }, |
| 107 | + { |
| 108 | + "call": 1, |
| 109 | + "contexts": 711, |
| 110 | + "rows": 573494, |
| 111 | + "seconds": 0.42760730534791946, |
| 112 | + "states_sha256": "a5ddb221a3679a50c476776b19aaa3cbc5277174775c8559eb0dcef0a28e2dd0" |
| 113 | + } |
| 114 | + ] |
| 115 | + } |
| 116 | + }, |
| 117 | + "comparison": { |
| 118 | + "same_number_of_calls": true, |
| 119 | + "calls": [ |
| 120 | + { |
| 121 | + "call": 0, |
| 122 | + "rows": 573494, |
| 123 | + "contexts": 711, |
| 124 | + "equal": true |
| 125 | + }, |
| 126 | + { |
| 127 | + "call": 1, |
| 128 | + "rows": 573494, |
| 129 | + "contexts": 711, |
| 130 | + "equal": true |
| 131 | + } |
| 132 | + ], |
| 133 | + "all_equal": true |
| 134 | + }, |
| 135 | + "paired_repetitions": 1, |
| 136 | + "timing_scope": "Load/init plus stage splitting, excluding process startup; includes context-state serialization. Context-index timers exclude serialization. PSS peaks are sampled." |
| 137 | + }, |
| 138 | + "large_trace_diagnostic": { |
| 139 | + "runs": { |
| 140 | + "optimized-infer-profile": { |
| 141 | + "wall_seconds": 546.4971170388162, |
| 142 | + "exit_code": 1, |
| 143 | + "stop_reason": null, |
| 144 | + "source_unchanged": true, |
| 145 | + "traces_unchanged": true, |
| 146 | + "error": "ValueError: Too many positional arguments for function torch._prims_common.is_contiguous, expecting 1 (['a']) but got 2", |
| 147 | + "lookups": [ |
| 148 | + { |
| 149 | + "function": "get_pre_func_call_record", |
| 150 | + "primitive_calls": 6891, |
| 151 | + "calls": 6891, |
| 152 | + "self_seconds": 0.087277701, |
| 153 | + "cumulative_seconds": 187.91447304200003 |
| 154 | + }, |
| 155 | + { |
| 156 | + "function": "get_post_func_call_record", |
| 157 | + "primitive_calls": 13498, |
| 158 | + "calls": 13498, |
| 159 | + "self_seconds": 0.18074669200000001, |
| 160 | + "cumulative_seconds": 289.47232359500003 |
| 161 | + } |
| 162 | + ] |
| 163 | + }, |
| 164 | + "call-index-infer-profile": { |
| 165 | + "wall_seconds": 71.98188185319304, |
| 166 | + "exit_code": 1, |
| 167 | + "stop_reason": null, |
| 168 | + "source_unchanged": true, |
| 169 | + "traces_unchanged": true, |
| 170 | + "error": "ValueError: Too many positional arguments for function torch._prims_common.is_contiguous, expecting 1 (['a']) but got 2", |
| 171 | + "lookups": [ |
| 172 | + { |
| 173 | + "function": "get_pre_func_call_record", |
| 174 | + "primitive_calls": 6891, |
| 175 | + "calls": 6891, |
| 176 | + "self_seconds": 0.020590995, |
| 177 | + "cumulative_seconds": 1.034124108 |
| 178 | + }, |
| 179 | + { |
| 180 | + "function": "get_post_func_call_record", |
| 181 | + "primitive_calls": 13498, |
| 182 | + "calls": 13498, |
| 183 | + "self_seconds": 0.038829666000000006, |
| 184 | + "cumulative_seconds": 3.888496781 |
| 185 | + } |
| 186 | + ] |
| 187 | + } |
| 188 | + }, |
| 189 | + "same_error": true, |
| 190 | + "completed_inference": false |
| 191 | + }, |
| 192 | + "diagnostic_scope": { |
| 193 | + "completed_inference": false, |
| 194 | + "profiled": true, |
| 195 | + "disabled_relations": [ |
| 196 | + "FunctionLeadRelation", |
| 197 | + "FunctionCoverRelation" |
| 198 | + ], |
| 199 | + "same_error_is_framework_version_mismatch": true, |
| 200 | + "eligible_containment_apis_in_replay": 35, |
| 201 | + "eligible_containment_apis_in_collection_environment_log": 41, |
| 202 | + "time_to_error_is_not_completed_inference_throughput": true |
| 203 | + }, |
| 204 | + "correctness": { |
| 205 | + "differential_tests": 32, |
| 206 | + "context_randomized_traces": 80, |
| 207 | + "independent_extra_call_query_comparisons": 640, |
| 208 | + "small_replay_run_count": 9, |
| 209 | + "all_full_json_comparisons_equal": true, |
| 210 | + "comparison": "Structural JSON multisets; object-key and file-line order ignored, multiplicity and array order retained.", |
| 211 | + "runs": [ |
| 212 | + { |
| 213 | + "case": "mnist-fixed-seed42", |
| 214 | + "exit_code": 0, |
| 215 | + "workers": 1, |
| 216 | + "valid_outputs": true, |
| 217 | + "source": "base" |
| 218 | + }, |
| 219 | + { |
| 220 | + "case": "mnist-fixed-seed42", |
| 221 | + "exit_code": 0, |
| 222 | + "workers": 1, |
| 223 | + "valid_outputs": true, |
| 224 | + "source": "optimized" |
| 225 | + }, |
| 226 | + { |
| 227 | + "case": "transformer-fixed-seed42", |
| 228 | + "exit_code": 0, |
| 229 | + "workers": 1, |
| 230 | + "valid_outputs": true, |
| 231 | + "source": "optimized" |
| 232 | + }, |
| 233 | + { |
| 234 | + "case": "transformer-fixed-seed42", |
| 235 | + "exit_code": 0, |
| 236 | + "workers": 1, |
| 237 | + "valid_outputs": true, |
| 238 | + "source": "base" |
| 239 | + }, |
| 240 | + { |
| 241 | + "case": "dcgan-fixed-seed42", |
| 242 | + "exit_code": 0, |
| 243 | + "workers": 1, |
| 244 | + "valid_outputs": true, |
| 245 | + "source": "base" |
| 246 | + }, |
| 247 | + { |
| 248 | + "case": "dcgan-fixed-seed42", |
| 249 | + "exit_code": 0, |
| 250 | + "workers": 1, |
| 251 | + "valid_outputs": true, |
| 252 | + "source": "optimized" |
| 253 | + }, |
| 254 | + { |
| 255 | + "case": "mnist-fixed-seed42", |
| 256 | + "exit_code": 0, |
| 257 | + "workers": 1, |
| 258 | + "valid_outputs": true, |
| 259 | + "source": "context_and_call_index" |
| 260 | + }, |
| 261 | + { |
| 262 | + "case": "transformer-fixed-seed42", |
| 263 | + "exit_code": 0, |
| 264 | + "workers": 1, |
| 265 | + "valid_outputs": true, |
| 266 | + "source": "context_and_call_index" |
| 267 | + }, |
| 268 | + { |
| 269 | + "case": "dcgan-fixed-seed42", |
| 270 | + "exit_code": 0, |
| 271 | + "workers": 1, |
| 272 | + "valid_outputs": true, |
| 273 | + "source": "context_and_call_index" |
| 274 | + } |
| 275 | + ], |
| 276 | + "outputs_by_workload": { |
| 277 | + "mnist-fixed-seed42": { |
| 278 | + "invariants": { |
| 279 | + "canonical_multiset_sha256": "5691e461a1fba5bf5314b18a62bf72f82fc95e56f71b26eca87218e53f321e84", |
| 280 | + "distinct_records": 193, |
| 281 | + "records": 193 |
| 282 | + }, |
| 283 | + "failed_hypotheses": { |
| 284 | + "canonical_multiset_sha256": "8e39cf710d943898ca007478953584d363db135ce3cb458619e71836ae179820", |
| 285 | + "distinct_records": 21, |
| 286 | + "records": 21 |
| 287 | + } |
| 288 | + }, |
| 289 | + "transformer-fixed-seed42": { |
| 290 | + "invariants": { |
| 291 | + "canonical_multiset_sha256": "21332736553d2fe20c1fdb1e2c852597950e3b799bc399d47007a2b1f7a71b09", |
| 292 | + "distinct_records": 518, |
| 293 | + "records": 518 |
| 294 | + }, |
| 295 | + "failed_hypotheses": { |
| 296 | + "canonical_multiset_sha256": "b3424febf9358e01c3e079362e17bc68a939a933e14f1cfab954884482073bd7", |
| 297 | + "distinct_records": 10, |
| 298 | + "records": 10 |
| 299 | + } |
| 300 | + }, |
| 301 | + "dcgan-fixed-seed42": { |
| 302 | + "invariants": { |
| 303 | + "canonical_multiset_sha256": "596f82fcfb946a7fe2fe138fa9e61302bafb93465fdc529317ccf93d2da1022a", |
| 304 | + "distinct_records": 512, |
| 305 | + "records": 512 |
| 306 | + }, |
| 307 | + "failed_hypotheses": { |
| 308 | + "canonical_multiset_sha256": "dfba6a7ed565ce66163b9eb98921ad05857649e37f78075b48fdf9341b912204", |
| 309 | + "distinct_records": 86, |
| 310 | + "records": 86 |
| 311 | + } |
| 312 | + } |
| 313 | + } |
| 314 | + }, |
| 315 | + "limitations": [ |
| 316 | + "Event row order, call IDs, and event types must remain stable after initialization. Frame replacement or a length change rebuilds the call index; same-size in-place changes or reordering are unsupported.", |
| 317 | + "The large trace uses a different PyTorch version; both diagnostic variants end at the same signature error. No complete large-trace inference or online-checker overhead result is claimed." |
| 318 | + ] |
| 319 | +} |
0 commit comments