{
 "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.476 ms, scorer's clock 75.682 ms\n  call  2/15: 75.614 ms, scorer's clock 77.748 ms\n  call  3/15: 75.426 ms, scorer's clock 77.136 ms\n  call  4/15: 75.428 ms, scorer's clock 77.506 ms\n  call  5/15: 75.739 ms, scorer's clock 77.526 ms\n  call  6/15: 75.455 ms, scorer's clock 77.370 ms\n  call  7/15: 75.657 ms, scorer's clock 77.555 ms\n  call  8/15: 75.537 ms, scorer's clock 77.270 ms\n  call  9/15: 75.519 ms, scorer's clock 77.097 ms\n  call 10/15: 75.292 ms, scorer's clock 77.302 ms\n  call 11/15: 75.661 ms, scorer's clock 77.651 ms\n  call 12/15: 75.689 ms, scorer's clock 77.264 ms\n  call 13/15: 75.507 ms, scorer's clock 77.583 ms\n  call 14/15: 75.708 ms, scorer's clock 77.861 ms\n  call 15/15: 75.720 ms, scorer's clock 77.655 ms\nMNIST 97.77% (107,545/110,000), 77.010 ms/call; hold-out (fashion) 88.31%, 76.481 ms/call (floored by the scorer's clock); score 77.010 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 74.0 W with the method frozen; telemetry reference 18.4 TFLOP/s at 7.61 J/TFLOP above idle (a healthy NVIDIA A100 80GB PCIe reads 6-11)\n  the round trip alone: 21.5 mJ per call over 3,814 empty calls, subtracted\n  the method: 251 calls in 20.0 s, MNIST 97.69%, 75.450 ms per call, 217.1 W on average\nenergy 11388.267 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": "fashion",
    "ms": 75.47596740722656,
    "parent_ms": 78.040902999998,
    "correct": 8864,
    "total": 10000,
    "overhead_ms": 2.3592759993865933
   },
   {
    "dataset": "fashion",
    "ms": 75.61420440673828,
    "parent_ms": 80.09993399999615,
    "correct": 8806,
    "total": 10000,
    "overhead_ms": 2.3520314998636564
   },
   {
    "dataset": "fashion",
    "ms": 75.42578887939453,
    "parent_ms": 79.37726600000161,
    "correct": 8817,
    "total": 10000,
    "overhead_ms": 2.2414959997323933
   },
   {
    "dataset": "mnist",
    "ms": 75.42784118652344,
    "parent_ms": 79.70078399999636,
    "correct": 9783,
    "total": 10000,
    "overhead_ms": 2.195181999259887
   },
   {
    "dataset": "mnist",
    "ms": 75.7391357421875,
    "parent_ms": 79.8187910000081,
    "correct": 9765,
    "total": 10000,
    "overhead_ms": 2.292728499814473
   },
   {
    "dataset": "mnist",
    "ms": 75.45549011230469,
    "parent_ms": 79.65491900000643,
    "correct": 9785,
    "total": 10000,
    "overhead_ms": 2.28477849969795
   },
   {
    "dataset": "mnist",
    "ms": 75.65721893310547,
    "parent_ms": 79.74698900000021,
    "correct": 9790,
    "total": 10000,
    "overhead_ms": 2.192067999738981
   },
   {
    "dataset": "fashion",
    "ms": 75.53740692138672,
    "parent_ms": 79.49968499998761,
    "correct": 8839,
    "total": 10000,
    "overhead_ms": 2.229367499392424
   },
   {
    "dataset": "mnist",
    "ms": 75.51897430419922,
    "parent_ms": 79.43292099997734,
    "correct": 9789,
    "total": 10000,
    "overhead_ms": 2.33593849938876
   },
   {
    "dataset": "mnist",
    "ms": 75.2916488647461,
    "parent_ms": 79.45492300001433,
    "correct": 9759,
    "total": 10000,
    "overhead_ms": 2.1532195007619066
   },
   {
    "dataset": "mnist",
    "ms": 75.66130828857422,
    "parent_ms": 80.06831699998429,
    "correct": 9768,
    "total": 10000,
    "overhead_ms": 2.4172274995017915
   },
   {
    "dataset": "mnist",
    "ms": 75.68895721435547,
    "parent_ms": 79.89983600000983,
    "correct": 9756,
    "total": 10000,
    "overhead_ms": 2.63571899895544
   },
   {
    "dataset": "mnist",
    "ms": 75.5066909790039,
    "parent_ms": 79.83902399999465,
    "correct": 9781,
    "total": 10000,
    "overhead_ms": 2.255786500681211
   },
   {
    "dataset": "mnist",
    "ms": 75.70841979980469,
    "parent_ms": 80.07124799999588,
    "correct": 9777,
    "total": 10000,
    "overhead_ms": 2.2107159993316827
   },
   {
    "dataset": "mnist",
    "ms": 75.71968078613281,
    "parent_ms": 79.78598599999032,
    "correct": 9792,
    "total": 10000,
    "overhead_ms": 2.130836500254304
   }
  ],
  "problems": [],
  "summary": "MNIST 97.77% (107,545/110,000), 77.010 ms/call; hold-out (fashion) 88.31%, 76.481 ms/call (floored by the scorer's clock)",
  "ranked_ms": 77.01024187923062,
  "energy": {
   "mj_per_call": 11388.266687125215,
   "problems": [],
   "net_mj_before_control": 11409.790256642915,
   "control_mj_per_call": 21.523569517699112,
   "control_calls": 3814,
   "gross_mj_per_call": 17308.95219123506,
   "idle_w": 73.98035183593264,
   "active_w": 217.06852383726599,
   "calls": 251,
   "seconds": 20.014633735000018,
   "ms_median": 75.45037078857422,
   "timed_mnist_ms_median": 75.65721893310547,
   "correct": 2452074,
   "total": 2510000,
   "reference": {
    "tflops_per_s": 18.418673274890335,
    "j_per_tflop": 7.61311921148384,
    "exact": true,
    "band": [
     [
      6.0,
      11.0
     ],
     [
      15.0,
      23.0
     ]
    ]
   },
   "device": {
    "name": "NVIDIA A100 80GB PCIe",
    "uuid": "GPU-35be0890-8de2-6d97-e2a2-e1edcd06b878",
    "vbios": "92.00.A0.00.05",
    "driver": "580.95.05",
    "power_limit_w": 300.0
   },
   "windows": [
    {
     "name": "idle 1",
     "seconds": 5.004452256999997,
     "joules": 364.793,
     "utilization_max": 0,
     "contexts": 1
    },
    {
     "name": "reference",
     "seconds": 5.133811680000008,
     "joules": 1092.083,
     "matmuls": 688,
     "dim": 4096,
     "exact": true
    },
    {
     "name": "idle 2",
     "seconds": 5.003936151000005,
     "joules": 360.816,
     "utilization_max": 0,
     "contexts": 1
    },
    {
     "name": "control",
     "seconds": 5.0042447350000145,
     "joules": 446.543,
     "calls": 3814
    },
    {
     "name": "idle 3",
     "seconds": 5.003089602999978,
     "joules": 367.981,
     "utilization_max": 0,
     "contexts": 1
    },
    {
     "name": "method",
     "seconds": 20.014633735000018,
     "joules": 4344.547,
     "calls": 251,
     "ms": [
      75.33158111572266,
      75.25682830810547,
      75.52409362792969,
      75.42476654052734,
      75.43193817138672,
      75.47392272949219,
      75.46470642089844,
      75.50259399414062,
      75.46470642089844,
      75.42374420166016,
      75.40633392333984,
      75.48722839355469,
      75.46470642089844,
      75.43193817138672,
      75.46163177490234,
      75.504638671875,
      75.41657257080078,
      75.47187042236328,
      75.41964721679688,
      75.48210906982422,
      75.4882583618164,
      75.42681884765625,
      75.4155502319336,
      75.45855712890625,
      75.46163177490234,
      75.40019226074219,
      75.44525146484375,
      75.42066955566406,
      75.35513305664062,
      75.50157165527344,
      75.43910217285156,
      75.46060943603516,
      75.43603515625,
      75.44012451171875,
      75.40223693847656,
      75.44525146484375,
      75.49644470214844,
      75.4708480834961,
      75.42476654052734,
      75.5199966430664,
      75.49542236328125,
      75.4698257446289,
      75.40223693847656,
      75.51795196533203,
      75.50566101074219,
      75.49849700927734,
      75.48006439208984,
      75.40735626220703,
      75.43807983398438,
      75.49440002441406,
      75.5199966430664,
      75.49440002441406,
      75.4493408203125,
      75.51078033447266,
      75.42169952392578,
      75.42169952392578,
      75.49030303955078,
      75.45037078857422,
      75.43705749511719,
      75.43705749511719,
      75.38278198242188,
      75.430908203125,
      75.47801971435547,
      75.45037078857422,
      75.49849700927734,
      75.39097595214844,
      75.38278198242188,
      75.430908203125,
      75.46675109863281,
      75.45549011230469,
      75.49644470214844,
      75.45037078857422,
      75.41657257080078,
      75.45343780517578,
      75.44319915771484,
      75.44012451171875,
      75.45958709716797,
      75.47698974609375,
      75.38790130615234,
      75.43705749511719,
      75.45651245117188,
      75.44627380371094,
      75.51181030273438,
      75.48108673095703,
      75.40223693847656,
      75.4882583618164,
      75.45958709716797,
      75.45037078857422,
      75.42169952392578,
      75.49747467041016,
      75.42374420166016,
      75.46163177490234,
      75.48108673095703,
      75.45753479003906,
      75.42681884765625,
      75.48210906982422,
      75.4329605102539,
      75.43705749511719,
      75.430908203125,
      75.43910217285156,
      75.49849700927734,
      75.46675109863281,
      75.4524154663086,
      75.43910217285156,
      75.45037078857422,
      75.42578887939453,
      75.42476654052734,
      75.4892807006836,
      75.46572875976562,
      75.43807983398438,
      75.4677734375,
      75.42578887939453,
      75.40633392333984,
      75.4677734375,
      75.3807373046875,
      75.4544677734375,
      75.47187042236328,
      75.46163177490234,
      75.39814758300781,
      75.42066955566406,
      75.42681884765625,
      75.47698974609375,
      75.39814758300781,
      75.46163177490234,
      75.47596740722656,
      75.46572875976562,
      75.45549011230469,
      75.43193817138672,
      75.35820770263672,
      75.4524154663086,
      75.43705749511719,
      75.46367645263672,
      75.44422149658203,
      75.39199829101562,
      75.44012451171875,
      75.49849700927734,
      75.47494506835938,
      75.46265411376953,
      75.4513931274414,
      75.45343780517578,
      75.44525146484375,
      75.40223693847656,
      75.41350555419922,
      75.4524154663086,
      75.44012451171875,
      75.40019226074219,
      75.47187042236328,
      75.3960952758789,
      75.41145324707031,
      75.44729614257812,
      75.49337768554688,
      75.4176025390625,
      75.40940856933594,
      75.41964721679688,
      75.47596740722656,
      75.4708480834961,
      75.44217681884766,
      75.399169921875,
      75.4155502319336,
      75.49644470214844,
      75.40019226074219,
      75.46060943603516,
      75.44831848144531,
      75.4339828491211,
      75.47698974609375,
      75.49235534667969,
      75.47289276123047,
      75.44831848144531,
      75.40019226074219,
      75.49542236328125,
      75.41145324707031,
      75.44217681884766,
      75.49644470214844,
      75.48722839355469,
      75.37971496582031,
      75.38278198242188,
      75.51897430419922,
      75.43603515625,
      75.40633392333984,
      75.49747467041016,
      75.45037078857422,
      75.5077133178711,
      75.40940856933594,
      75.40326690673828,
      75.44217681884766,
      75.4708480834961,
      75.47494506835938,
      75.40326690673828,
      75.41248321533203,
      75.44115447998047,
      75.48210906982422,
      75.40121459960938,
      75.42578887939453,
      75.43193817138672,
      75.4892807006836,
      75.42681884765625,
      75.38995361328125,
      75.48006439208984,
      75.42066955566406,
      75.48722839355469,
      75.45651245117188,
      75.51078033447266,
      75.42374420166016,
      75.39097595214844,
      75.46470642089844,
      75.4329605102539,
      75.50054168701172,
      75.48722839355469,
      75.45651245117188,
      75.46675109863281,
      75.43807983398438,
      75.47801971435547,
      75.44627380371094,
      75.40735626220703,
      75.51181030273438,
      75.51078033447266,
      75.49849700927734,
      75.5261459350586,
      75.44115447998047,
      75.44012451171875,
      75.40838623046875,
      75.36742401123047,
      75.38995361328125,
      75.36742401123047,
      75.43807983398438,
      75.50566101074219,
      75.42886352539062,
      75.42476654052734,
      75.44525146484375,
      75.36742401123047,
      75.47904205322266,
      75.47698974609375,
      75.43807983398438,
      75.4882583618164,
      75.45549011230469,
      75.38790130615234,
      75.46367645263672,
      75.51897430419922,
      75.50054168701172,
      75.4892807006836,
      75.4176025390625,
      75.48006439208984,
      75.49235534667969,
      75.48006439208984,
      75.54150390625,
      75.48722839355469,
      75.45855712890625,
      75.4698257446289,
      75.40940856933594,
      75.43705749511719,
      75.39814758300781
     ],
     "correct": [
      9770,
      9787,
      9790,
      9757,
      9769,
      9769,
      9794,
      9745,
      9761,
      9773,
      9739,
      9756,
      9753,
      9772,
      9764,
      9772,
      9755,
      9768,
      9762,
      9778,
      9780,
      9788,
      9772,
      9778,
      9769,
      9795,
      9776,
      9750,
      9796,
      9772,
      9773,
      9763,
      9765,
      9795,
      9784,
      9762,
      9774,
      9764,
      9784,
      9744,
      9747,
      9773,
      9748,
      9746,
      9761,
      9775,
      9767,
      9770,
      9748,
      9771,
      9765,
      9771,
      9773,
      9792,
      9763,
      9773,
      9768,
      9788,
      9783,
      9750,
      9808,
      9762,
      9765,
      9758,
      9776,
      9784,
      9779,
      9755,
      9772,
      9771,
      9788,
      9745,
      9752,
      9773,
      9744,
      9756,
      9762,
      9775,
      9769,
      9766,
      9748,
      9768,
      9767,
      9760,
      9774,
      9794,
      9769,
      9772,
      9766,
      9798,
      9783,
      9742,
      9793,
      9771,
      9766,
      9753,
      9767,
      9788,
      9783,
      9761,
      9778,
      9766,
      9788,
      9750,
      9757,
      9775,
      9754,
      9757,
      9759,
      9774,
      9766,
      9764,
      9747,
      9777,
      9761,
      9770,
      9781,
      9791,
      9778,
      9765,
      9762,
      9801,
      9780,
      9749,
      9798,
      9763,
      9767,
      9764,
      9764,
      9791,
      9789,
      9752,
      9765,
      9770,
      9787,
      9748,
      9754,
      9780,
      9735,
      9749,
      9753,
      9775,
      9770,
      9774,
      9749,
      9770,
      9773,
      9773,
      9773,
      9794,
      9779,
      9771,
      9775,
      9798,
      9776,
      9745,
      9795,
      9768,
      9767,
      9767,
      9767,
      9791,
      9787,
      9752,
      9779,
      9766,
      9792,
      9748,
      9761,
      9770,
      9747,
      9749,
      9757,
      9775,
      9766,
      9772,
      9749,
      9768,
      9765,
      9768,
      9774,
      9792,
      9766,
      9768,
      9767,
      9790,
      9774,
      9752,
      9795,
      9760,
      9764,
      9759,
      9766,
      9795,
      9785,
      9763,
      9783,
      9763,
      9785,
      9746,
      9757,
      9770,
      9746,
      9748,
      9760,
      9771,
      9776,
      9775,
      9747,
      9771,
      9782,
      9762,
      9775,
      9790,
      9764,
      9772,
      9765,
      9792,
      9772,
      9756,
      9789,
      9768,
      9767,
      9757,
      9772,
      9793,
      9778,
      9746,
      9769,
      9769,
      9782,
      9739,
      9762,
      9773,
      9748,
      9757,
      9761,
      9771,
      9761,
      9765,
      9755,
      9775,
      9766,
      9767,
      9778,
      9789,
      9770,
      9771,
      9772,
      9799,
      9774
     ]
    },
    {
     "name": "idle 4",
     "seconds": 5.003403295000055,
     "joules": 372.303,
     "utilization_max": 0,
     "contexts": 1
    }
   ]
  }
 }
}
