{
 "returncode": 0,
 "stdout": "hybrid-d4-steps250-20261019.py:hybrid_d4 at 2.30% error: 15 timed calls, each in a fresh process\n  review flag: 20,458 bytes, close to the 20,480-byte limit\n  NVIDIA A100 80GB PCIe, torch 2.12.0+cu130, sandbox on\n  call  1/15: 75.356 ms, scorer's clock 77.563 ms\n  call  2/15: 75.364 ms, scorer's clock 77.217 ms\n  call  3/15: 75.439 ms, scorer's clock 77.455 ms\n  call  4/15: 75.392 ms, scorer's clock 77.407 ms\n  call  5/15: 75.265 ms, scorer's clock 77.106 ms\n  call  6/15: 75.152 ms, scorer's clock 77.436 ms\n  call  7/15: 75.344 ms, scorer's clock 77.037 ms\n  call  8/15: 75.329 ms, scorer's clock 77.227 ms\n  call  9/15: 75.389 ms, scorer's clock 77.186 ms\n  call 10/15: 75.360 ms, scorer's clock 77.183 ms\n  call 11/15: 75.338 ms, scorer's clock 77.145 ms\n  call 12/15: 75.367 ms, scorer's clock 77.129 ms\n  call 13/15: 75.422 ms, scorer's clock 77.627 ms\n  call 14/15: 75.400 ms, scorer's clock 77.090 ms\n  call 15/15: 75.411 ms, scorer's clock 77.437 ms\nMNIST 97.84% (107,623/110,000), 76.823 ms/call; hold-out (fashion) 88.68%, 76.762 ms/call (floored by the scorer's clock); score 76.823 ms\nenergy: one more fresh process runs the method back to back on fresh MNIST draws for 20 s, between idle windows in which it is frozen\n  NVIDIA A100 80GB PCIe: idle 76.8 W with the method frozen; telemetry reference 18.3 TFLOP/s at 7.47 J/TFLOP above idle (a healthy NVIDIA A100 80GB PCIe reads 6-11)\n  the round trip alone: 21.9 mJ per call over 3,490 empty calls, subtracted\n  the method: 252 calls in 20.0 s, MNIST 97.87%, 75.408 ms per call, 221.3 W on average\nenergy 11464.573 mJ per call above idle\n",
 "stderr": "/usr/local/lib/python3.13/site-packages/torch/_dynamo/guards.py:1317: RuntimeWarning: Guards may run slower on Python 3.13.0. Consider upgrading to Python 3.13.1+.\n  warnings.warn(\n/usr/local/lib/python3.13/site-packages/torch/_dynamo/guards.py:1317: RuntimeWarning: Guards may run slower on Python 3.13.0. Consider upgrading to Python 3.13.1+.\n  warnings.warn(\n/usr/local/lib/python3.13/site-packages/torch/_dynamo/guards.py:1317: RuntimeWarning: Guards may run slower on Python 3.13.0. Consider upgrading to Python 3.13.1+.\n  warnings.warn(\n/usr/local/lib/python3.13/site-packages/torch/_dynamo/guards.py:1317: RuntimeWarning: Guards may run slower on Python 3.13.0. Consider upgrading to Python 3.13.1+.\n  warnings.warn(\n/usr/local/lib/python3.13/site-packages/torch/_dynamo/guards.py:1317: RuntimeWarning: Guards may run slower on Python 3.13.0. Consider upgrading to Python 3.13.1+.\n  warnings.warn(\n/usr/local/lib/python3.13/site-packages/torch/_dynamo/guards.py:1317: RuntimeWarning: Guards may run slower on Python 3.13.0. Consider upgrading to Python 3.13.1+.\n  warnings.warn(\n/usr/local/lib/python3.13/site-packages/torch/_dynamo/guards.py:1317: RuntimeWarning: Guards may run slower on Python 3.13.0. Consider upgrading to Python 3.13.1+.\n  warnings.warn(\n/usr/local/lib/python3.13/site-packages/torch/_dynamo/guards.py:1317: RuntimeWarning: Guards may run slower on Python 3.13.0. Consider upgrading to Python 3.13.1+.\n  warnings.warn(\n/usr/local/lib/python3.13/site-packages/torch/_dynamo/guards.py:1317: RuntimeWarning: Guards may run slower on Python 3.13.0. Consider upgrading to Python 3.13.1+.\n  warnings.warn(\n/usr/local/lib/python3.13/site-packages/torch/_dynamo/guards.py:1317: RuntimeWarning: Guards may run slower on Python 3.13.0. Consider upgrading to Python 3.13.1+.\n  warnings.warn(\n/usr/local/lib/python3.13/site-packages/torch/_dynamo/guards.py:1317: RuntimeWarning: Guards may run slower on Python 3.13.0. Consider upgrading to Python 3.13.1+.\n  warnings.warn(\n/usr/local/lib/python3.13/site-packages/torch/_dynamo/guards.py:1317: RuntimeWarning: Guards may run slower on Python 3.13.0. Consider upgrading to Python 3.13.1+.\n  warnings.warn(\n/usr/local/lib/python3.13/site-packages/torch/_dynamo/guards.py:1317: RuntimeWarning: Guards may run slower on Python 3.13.0. Consider upgrading to Python 3.13.1+.\n  warnings.warn(\n/usr/local/lib/python3.13/site-packages/torch/_dynamo/guards.py:1317: RuntimeWarning: Guards may run slower on Python 3.13.0. Consider upgrading to Python 3.13.1+.\n  warnings.warn(\n/usr/local/lib/python3.13/site-packages/torch/_dynamo/guards.py:1317: RuntimeWarning: Guards may run slower on Python 3.13.0. Consider upgrading to Python 3.13.1+.\n  warnings.warn(\n/usr/local/lib/python3.13/site-packages/torch/_dynamo/guards.py:1317: RuntimeWarning: Guards may run slower on Python 3.13.0. Consider upgrading to Python 3.13.1+.\n  warnings.warn(\n",
 "record": {
  "version": "mnist-a100/1.2.0 (protections of sutro-mnist-medium/3.0.0, tightened; energy column)",
  "file": "hybrid-d4-steps250-20261019.py",
  "function": "hybrid_d4",
  "source_sha256": "ec90dfb48793017577eaeac212b7357ff19bfef950dfb884025921b53198e608",
  "band_bp": 230,
  "sandboxed": true,
  "holdout": "fashion",
  "device": "NVIDIA A100 80GB PCIe",
  "torch": "2.12.0+cu130",
  "calls": [
   {
    "dataset": "mnist",
    "ms": 75.35616302490234,
    "parent_ms": 79.68729699999955,
    "correct": 9787,
    "total": 10000,
    "overhead_ms": 2.124352998563939
   },
   {
    "dataset": "mnist",
    "ms": 75.36434936523438,
    "parent_ms": 79.50646799999816,
    "correct": 9786,
    "total": 10000,
    "overhead_ms": 2.2891850001651335
   },
   {
    "dataset": "mnist",
    "ms": 75.43910217285156,
    "parent_ms": 79.57819399999977,
    "correct": 9791,
    "total": 10000,
    "overhead_ms": 2.1229920002536176
   },
   {
    "dataset": "mnist",
    "ms": 75.39199829101562,
    "parent_ms": 79.56719900000309,
    "correct": 9794,
    "total": 10000,
    "overhead_ms": 2.1601729999061376
   },
   {
    "dataset": "fashion",
    "ms": 75.26502227783203,
    "parent_ms": 79.18182700001353,
    "correct": 8879,
    "total": 10000,
    "overhead_ms": 2.0755145001226367
   },
   {
    "dataset": "fashion",
    "ms": 75.15238189697266,
    "parent_ms": 79.4607060000061,
    "correct": 8834,
    "total": 10000,
    "overhead_ms": 2.024349001156736
   },
   {
    "dataset": "mnist",
    "ms": 75.3438720703125,
    "parent_ms": 79.29432199999553,
    "correct": 9779,
    "total": 10000,
    "overhead_ms": 2.2572265004262704
   },
   {
    "dataset": "fashion",
    "ms": 75.3285140991211,
    "parent_ms": 79.30515999998988,
    "correct": 8893,
    "total": 10000,
    "overhead_ms": 2.077822999432726
   },
   {
    "dataset": "mnist",
    "ms": 75.38893127441406,
    "parent_ms": 79.27023499999564,
    "correct": 9808,
    "total": 10000,
    "overhead_ms": 2.0846924994778533
   },
   {
    "dataset": "fashion",
    "ms": 75.3602523803711,
    "parent_ms": 79.31007600001294,
    "correct": 8865,
    "total": 10000,
    "overhead_ms": 2.126902999924482
   },
   {
    "dataset": "mnist",
    "ms": 75.33773040771484,
    "parent_ms": 79.32483000001866,
    "correct": 9779,
    "total": 10000,
    "overhead_ms": 2.1794584992069304
   },
   {
    "dataset": "mnist",
    "ms": 75.36742401123047,
    "parent_ms": 79.2935989999819,
    "correct": 9758,
    "total": 10000,
    "overhead_ms": 2.1648820014567036
   },
   {
    "dataset": "mnist",
    "ms": 75.42169952392578,
    "parent_ms": 79.70887999999832,
    "correct": 9773,
    "total": 10000,
    "overhead_ms": 2.081712000038806
   },
   {
    "dataset": "mnist",
    "ms": 75.40019226074219,
    "parent_ms": 79.16820600001984,
    "correct": 9793,
    "total": 10000,
    "overhead_ms": 2.077747499381303
   },
   {
    "dataset": "mnist",
    "ms": 75.41145324707031,
    "parent_ms": 79.65858299999695,
    "correct": 9775,
    "total": 10000,
    "overhead_ms": 2.2211474993944194
   }
  ],
  "problems": [],
  "summary": "MNIST 97.84% (107,623/110,000), 76.823 ms/call; hold-out (fashion) 88.68%, 76.762 ms/call (floored by the scorer's clock)",
  "ranked_ms": 76.82255717486267,
  "energy": {
   "mj_per_call": 11464.572860110355,
   "problems": [],
   "net_mj_before_control": 11486.463135445798,
   "control_mj_per_call": 21.890275335443594,
   "control_calls": 3490,
   "gross_mj_per_call": 17596.3373015873,
   "idle_w": 76.82420740009515,
   "active_w": 221.2524562012175,
   "calls": 252,
   "seconds": 20.041707451000036,
   "ms_median": 75.40838623046875,
   "timed_mnist_ms_median": 75.38893127441406,
   "correct": 2466392,
   "total": 2520000,
   "reference": {
    "tflops_per_s": 18.272653919876067,
    "j_per_tflop": 7.466700929138684,
    "exact": true,
    "band": [
     [
      6.0,
      11.0
     ],
     [
      15.0,
      23.0
     ]
    ]
   },
   "device": {
    "name": "NVIDIA A100 80GB PCIe",
    "uuid": "GPU-7e35ee3c-3004-93d7-370c-a1c98ac24daf",
    "vbios": "92.00.A0.00.05",
    "driver": "580.95.05",
    "power_limit_w": 300.0
   },
   "windows": [
    {
     "name": "idle 1",
     "seconds": 5.003993952000002,
     "joules": 377.715,
     "utilization_max": 0,
     "contexts": 1
    },
    {
     "name": "reference",
     "seconds": 5.235009213000012,
     "joules": 1108.043,
     "matmuls": 696,
     "dim": 4096,
     "exact": true
    },
    {
     "name": "idle 2",
     "seconds": 5.003963608999982,
     "joules": 375.121,
     "utilization_max": 0,
     "contexts": 1
    },
    {
     "name": "control",
     "seconds": 5.005254503000003,
     "joules": 451.314,
     "calls": 3490
    },
    {
     "name": "idle 3",
     "seconds": 5.007003373000032,
     "joules": 374.747,
     "utilization_max": 0,
     "contexts": 1
    },
    {
     "name": "method",
     "seconds": 20.041707451000036,
     "joules": 4434.277,
     "calls": 252,
     "ms": [
      75.49235534667969,
      75.5251235961914,
      75.42169952392578,
      75.4677734375,
      75.5199966430664,
      75.3807373046875,
      75.42374420166016,
      75.42988586425781,
      75.46470642089844,
      75.42681884765625,
      75.43603515625,
      75.43193817138672,
      75.4524154663086,
      75.3776626586914,
      75.35104370117188,
      75.3786849975586,
      75.34284973144531,
      75.45343780517578,
      75.40531158447266,
      75.48006439208984,
      75.41350555419922,
      75.49747467041016,
      75.37459564208984,
      75.46572875976562,
      75.45855712890625,
      75.4155502319336,
      75.51897430419922,
      75.44525146484375,
      75.38893127441406,
      75.4493408203125,
      75.44627380371094,
      75.45549011230469,
      75.48210906982422,
      75.4155502319336,
      75.45651245117188,
      75.4155502319336,
      75.430908203125,
      75.4677734375,
      75.46265411376953,
      75.42066955566406,
      75.42272186279297,
      75.40838623046875,
      75.48416137695312,
      75.32953643798828,
      75.43910217285156,
      75.48210906982422,
      75.44831848144531,
      75.37152099609375,
      75.45855712890625,
      75.42886352539062,
      75.4176025390625,
      75.41964721679688,
      75.43500518798828,
      75.46367645263672,
      75.44217681884766,
      75.43705749511719,
      75.44422149658203,
      75.45753479003906,
      75.4677734375,
      75.42272186279297,
      75.40633392333984,
      75.42886352539062,
      75.48722839355469,
      75.44115447998047,
      75.45651245117188,
      75.40531158447266,
      75.49132537841797,
      75.53330993652344,
      75.46060943603516,
      75.47596740722656,
      75.46163177490234,
      75.4698257446289,
      75.48313903808594,
      75.39814758300781,
      75.41964721679688,
      75.42988586425781,
      75.42476654052734,
      75.39507293701172,
      75.42272186279297,
      75.41964721679688,
      75.43603515625,
      75.43705749511719,
      75.41964721679688,
      75.3960952758789,
      75.42374420166016,
      75.42066955566406,
      75.42784118652344,
      75.43807983398438,
      75.44012451171875,
      75.4544677734375,
      75.42578887939453,
      75.41248321533203,
      75.42886352539062,
      75.39814758300781,
      75.48416137695312,
      75.46060943603516,
      75.42272186279297,
      75.41964721679688,
      75.46265411376953,
      75.45037078857422,
      75.45343780517578,
      75.4329605102539,
      75.43910217285156,
      75.44012451171875,
      75.40223693847656,
      75.43500518798828,
      75.38585662841797,
      75.47596740722656,
      75.3807373046875,
      75.30496215820312,
      75.35718536376953,
      75.33567810058594,
      75.38585662841797,
      75.40428924560547,
      75.34796905517578,
      75.40428924560547,
      75.41043090820312,
      75.41657257080078,
      75.42988586425781,
      75.35411071777344,
      75.399169921875,
      75.3960952758789,
      75.39097595214844,
      75.38893127441406,
      75.29267120361328,
      75.32441711425781,
      75.33567810058594,
      75.4145278930664,
      75.37254333496094,
      75.3776626586914,
      75.3786849975586,
      75.45037078857422,
      75.43910217285156,
      75.41862487792969,
      75.36332702636719,
      75.33363342285156,
      75.41964721679688,
      75.40838623046875,
      75.37664031982422,
      75.40940856933594,
      75.38278198242188,
      75.38893127441406,
      75.32441711425781,
      75.32646179199219,
      75.39507293701172,
      75.37664031982422,
      75.42169952392578,
      75.33465576171875,
      75.38483428955078,
      75.35206604003906,
      75.34284973144531,
      75.35308837890625,
      75.35104370117188,
      75.38483428955078,
      75.34796905517578,
      75.3438720703125,
      75.38790130615234,
      75.31724548339844,
      75.38995361328125,
      75.3438720703125,
      75.3602523803711,
      75.3592300415039,
      75.34899139404297,
      75.37152099609375,
      75.3786849975586,
      75.31520080566406,
      75.34489440917969,
      75.3971176147461,
      75.35104370117188,
      75.43705749511719,
      75.40326690673828,
      75.3653793334961,
      75.37971496582031,
      75.3653793334961,
      75.43193817138672,
      75.43193817138672,
      75.4145278930664,
      75.37459564208984,
      75.42988586425781,
      75.36640167236328,
      75.40121459960938,
      75.41657257080078,
      75.35308837890625,
      75.4493408203125,
      75.31314849853516,
      75.4145278930664,
      75.36844635009766,
      75.3438720703125,
      75.35820770263672,
      75.3623046875,
      75.32953643798828,
      75.40633392333984,
      75.35820770263672,
      75.35104370117188,
      75.399169921875,
      75.38278198242188,
      75.41350555419922,
      75.34899139404297,
      75.43807983398438,
      75.46060943603516,
      75.46470642089844,
      75.31417846679688,
      75.4677734375,
      75.41248321533203,
      75.35206604003906,
      75.4145278930664,
      75.44115447998047,
      75.37459564208984,
      75.40428924560547,
      75.399169921875,
      75.40633392333984,
      75.39199829101562,
      75.42476654052734,
      75.38175964355469,
      75.38278198242188,
      75.34284973144531,
      75.399169921875,
      75.35411071777344,
      75.38278198242188,
      75.38380432128906,
      75.33261108398438,
      75.42476654052734,
      75.40121459960938,
      75.41145324707031,
      75.35308837890625,
      75.39302062988281,
      75.40121459960938,
      75.45855712890625,
      75.36742401123047,
      75.3653793334961,
      75.34796905517578,
      75.39097595214844,
      75.40838623046875,
      75.40633392333984,
      75.4176025390625,
      75.45037078857422,
      75.36332702636719,
      75.3623046875,
      75.35206604003906,
      75.41248321533203,
      75.4493408203125,
      75.4176025390625,
      75.33670043945312,
      75.34182739257812,
      75.38585662841797,
      75.40735626220703,
      75.3786849975586,
      75.34591674804688,
      75.33055877685547,
      75.35206604003906,
      75.36128234863281,
      75.36946868896484
     ],
     "correct": [
      9792,
      9782,
      9799,
      9785,
      9811,
      9790,
      9782,
      9783,
      9788,
      9779,
      9791,
      9773,
      9784,
      9805,
      9786,
      9796,
      9779,
      9786,
      9785,
      9788,
      9784,
      9761,
      9786,
      9801,
      9787,
      9790,
      9796,
      9790,
      9782,
      9813,
      9782,
      9764,
      9802,
      9786,
      9798,
      9786,
      9810,
      9787,
      9781,
      9776,
      9781,
      9782,
      9777,
      9769,
      9776,
      9801,
      9794,
      9775,
      9774,
      9776,
      9784,
      9783,
      9782,
      9768,
      9783,
      9809,
      9784,
      9802,
      9798,
      9785,
      9791,
      9808,
      9782,
      9769,
      9803,
      9789,
      9783,
      9794,
      9803,
      9798,
      9774,
      9784,
      9792,
      9778,
      9783,
      9768,
      9776,
      9791,
      9788,
      9790,
      9780,
      9779,
      9778,
      9791,
      9778,
      9763,
      9789,
      9801,
      9784,
      9807,
      9793,
      9799,
      9791,
      9811,
      9780,
      9768,
      9798,
      9786,
      9794,
      9793,
      9802,
      9793,
      9779,
      9776,
      9784,
      9781,
      9781,
      9770,
      9777,
      9799,
      9788,
      9780,
      9783,
      9785,
      9772,
      9790,
      9789,
      9762,
      9784,
      9800,
      9786,
      9805,
      9788,
      9790,
      9791,
      9809,
      9784,
      9773,
      9797,
      9788,
      9795,
      9798,
      9796,
      9792,
      9776,
      9774,
      9787,
      9783,
      9782,
      9764,
      9776,
      9809,
      9791,
      9784,
      9776,
      9783,
      9770,
      9787,
      9790,
      9765,
      9786,
      9803,
      9791,
      9799,
      9804,
      9788,
      9788,
      9816,
      9783,
      9766,
      9802,
      9780,
      9800,
      9799,
      9802,
      9798,
      9788,
      9780,
      9778,
      9791,
      9785,
      9762,
      9789,
      9801,
      9785,
      9789,
      9776,
      9784,
      9784,
      9788,
      9785,
      9762,
      9797,
      9802,
      9784,
      9803,
      9804,
      9789,
      9802,
      9814,
      9790,
      9768,
      9805,
      9779,
      9801,
      9790,
      9806,
      9794,
      9784,
      9773,
      9783,
      9782,
      9771,
      9772,
      9784,
      9803,
      9794,
      9781,
      9780,
      9776,
      9775,
      9793,
      9790,
      9755,
      9788,
      9807,
      9784,
      9799,
      9791,
      9790,
      9793,
      9811,
      9791,
      9766,
      9800,
      9780,
      9791,
      9784,
      9807,
      9799,
      9776,
      9783,
      9779,
      9787,
      9780,
      9771,
      9772,
      9803,
      9795,
      9780,
      9774,
      9791,
      9772,
      9786,
      9785,
      9767,
      9793,
      9804,
      9789,
      9793,
      9803,
      9792
     ]
    },
    {
     "name": "idle 4",
     "seconds": 5.003765826000006,
     "joules": 394.316,
     "utilization_max": 0,
     "contexts": 1
    }
   ]
  }
 }
}
