{
 "returncode": 0,
 "stdout": "fast_mlp.py:fast_mlp at 5.40% error: 15 timed calls, each in a fresh process\n  NVIDIA A100-SXM4-80GB, torch 2.12.0+cu130, sandbox on\n  call  1/15: 60.606 ms, scorer's clock 61.507 ms\n  call  2/15: 60.697 ms, scorer's clock 60.841 ms\n  call  3/15: 60.714 ms, scorer's clock 61.274 ms\n  call  4/15: 60.600 ms, scorer's clock 61.160 ms\n  call  5/15: 60.555 ms, scorer's clock 60.569 ms\n  call  6/15: 60.554 ms, scorer's clock 62.101 ms\n  call  7/15: 60.872 ms, scorer's clock 60.642 ms\n  call  8/15: 60.662 ms, scorer's clock 62.899 ms\n  call  9/15: 60.513 ms, scorer's clock 61.704 ms\n  call 10/15: 60.621 ms, scorer's clock 63.665 ms\n  call 11/15: 60.558 ms, scorer's clock 62.994 ms\n  call 12/15: 60.658 ms, scorer's clock 61.918 ms\n  call 13/15: 60.670 ms, scorer's clock 64.140 ms\n  call 14/15: 60.658 ms, scorer's clock 60.786 ms\n  call 15/15: 60.701 ms, scorer's clock 63.179 ms\nMNIST 95.01% (104,513/110,000), 61.701 ms/call; hold-out (fashion) 85.75%, 61.154 ms/call (floored by the scorer's clock); score 61.701 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-SXM4-80GB: idle 61.4 W with the method frozen; telemetry reference 18.2 TFLOP/s at 7.82 J/TFLOP above idle (a healthy NVIDIA A100-SXM4-80GB reads 6-11)\n  the round trip alone: 16.3 mJ per call over 1,754 empty calls, subtracted\n  the method: 352 calls in 20.0 s, MNIST 95.05%, 49.819 ms per call, 100.0 W on average\nenergy 2185.070 mJ per call above idle\n",
 "stderr": "",
 "record": {
  "version": "mnist-a100/1.2.0 (protections of sutro-mnist-medium/3.0.0, tightened; energy column)",
  "file": "fast_mlp.py",
  "function": "fast_mlp",
  "source_sha256": "44cb0c03d4ac869e99186c584d234c8743c12565e0a3b49cf3172bd5c8a82325",
  "band_bp": 540,
  "sandboxed": true,
  "holdout": "fashion",
  "device": "NVIDIA A100-SXM4-80GB",
  "torch": "2.12.0+cu130",
  "calls": [
   {
    "dataset": "mnist",
    "ms": 60.60646438598633,
    "parent_ms": 64.88851800000006,
    "correct": 9477,
    "total": 10000,
    "overhead_ms": 3.3818889968720107
   },
   {
    "dataset": "fashion",
    "ms": 60.69657516479492,
    "parent_ms": 64.63653000000136,
    "correct": 8537,
    "total": 10000,
    "overhead_ms": 3.7957544977392317
   },
   {
    "dataset": "mnist",
    "ms": 60.713985443115234,
    "parent_ms": 64.91250799999904,
    "correct": 9486,
    "total": 10000,
    "overhead_ms": 3.6387949986046237
   },
   {
    "dataset": "mnist",
    "ms": 60.600318908691406,
    "parent_ms": 64.84976099999784,
    "correct": 9518,
    "total": 10000,
    "overhead_ms": 3.689790498605163
   },
   {
    "dataset": "mnist",
    "ms": 60.55526351928711,
    "parent_ms": 64.26074099999823,
    "correct": 9509,
    "total": 10000,
    "overhead_ms": 3.691425496872995
   },
   {
    "dataset": "mnist",
    "ms": 60.55424118041992,
    "parent_ms": 67.38399900000047,
    "correct": 9526,
    "total": 10000,
    "overhead_ms": 5.283082498170188
   },
   {
    "dataset": "mnist",
    "ms": 60.871681213378906,
    "parent_ms": 65.26229800000038,
    "correct": 9492,
    "total": 10000,
    "overhead_ms": 4.6206479986036015
   },
   {
    "dataset": "fashion",
    "ms": 60.66175842285156,
    "parent_ms": 67.1509229999998,
    "correct": 8541,
    "total": 10000,
    "overhead_ms": 4.25193499739521
   },
   {
    "dataset": "fashion",
    "ms": 60.51327896118164,
    "parent_ms": 65.32424299999917,
    "correct": 8639,
    "total": 10000,
    "overhead_ms": 3.620236999645499
   },
   {
    "dataset": "mnist",
    "ms": 60.62080001831055,
    "parent_ms": 67.34464699999876,
    "correct": 9476,
    "total": 10000,
    "overhead_ms": 3.6794009979162183
   },
   {
    "dataset": "mnist",
    "ms": 60.55833435058594,
    "parent_ms": 67.13750899999127,
    "correct": 9511,
    "total": 10000,
    "overhead_ms": 4.143980496871961
   },
   {
    "dataset": "mnist",
    "ms": 60.65766525268555,
    "parent_ms": 65.79996299998925,
    "correct": 9491,
    "total": 10000,
    "overhead_ms": 3.881871998431393
   },
   {
    "dataset": "mnist",
    "ms": 60.669952392578125,
    "parent_ms": 67.43086800000242,
    "correct": 9516,
    "total": 10000,
    "overhead_ms": 3.2904284984248875
   },
   {
    "dataset": "fashion",
    "ms": 60.65766525268555,
    "parent_ms": 64.22964700000477,
    "correct": 8582,
    "total": 10000,
    "overhead_ms": 3.443321500254001
   },
   {
    "dataset": "mnist",
    "ms": 60.7006721496582,
    "parent_ms": 66.29852099999312,
    "correct": 9511,
    "total": 10000,
    "overhead_ms": 3.1190454975696866
   }
  ],
  "problems": [],
  "summary": "MNIST 95.01% (104,513/110,000), 61.701 ms/call; hold-out (fashion) 85.75%, 61.154 ms/call (floored by the scorer's clock)",
  "ranked_ms": 61.70122073899587,
  "energy": {
   "mj_per_call": 2185.0703916690227,
   "problems": [],
   "net_mj_before_control": 2201.404215874484,
   "control_mj_per_call": 16.33382420546143,
   "control_calls": 1754,
   "gross_mj_per_call": 5696.789772727273,
   "idle_w": 61.375491688314604,
   "active_w": 100.02995882975318,
   "calls": 352,
   "seconds": 20.046694244999998,
   "ms_median": 49.81862258911133,
   "timed_mnist_ms_median": 60.62080001831055,
   "correct": 3345732,
   "total": 3520000,
   "reference": {
    "tflops_per_s": 18.17191646652768,
    "j_per_tflop": 7.8175806842698785,
    "exact": true,
    "band": [
     [
      6.0,
      11.0
     ],
     [
      15.0,
      23.0
     ]
    ]
   },
   "device": {
    "name": "NVIDIA A100-SXM4-80GB",
    "uuid": "GPU-0b9e12dd-e750-88f4-b316-8c5f6d0149ae",
    "vbios": "92.00.45.00.0E",
    "driver": "580.95.05",
    "power_limit_w": 400.0
   },
   "windows": [
    {
     "name": "idle 1",
     "seconds": 5.004361536999994,
     "joules": 309.391,
     "utilization_max": 0,
     "contexts": 1
    },
    {
     "name": "reference",
     "seconds": 5.2035238090000036,
     "joules": 1062.214,
     "matmuls": 688,
     "dim": 4096,
     "exact": true
    },
    {
     "name": "idle 2",
     "seconds": 5.004343159999991,
     "joules": 311.881,
     "utilization_max": 0,
     "contexts": 1
    },
    {
     "name": "control",
     "seconds": 5.004531421999985,
     "joules": 336.689,
     "calls": 1754
    },
    {
     "name": "idle 3",
     "seconds": 5.0037546840000005,
     "joules": 304.139,
     "utilization_max": 0,
     "contexts": 1
    },
    {
     "name": "method",
     "seconds": 20.046694244999998,
     "joules": 2005.27,
     "calls": 352,
     "ms": [
      60.699649810791016,
      60.662784576416016,
      60.679168701171875,
      56.63334274291992,
      49.93843078613281,
      49.896446228027344,
      49.867774963378906,
      49.790977478027344,
      49.90361785888672,
      49.708030700683594,
      49.87596893310547,
      49.80838394165039,
      49.85139083862305,
      49.82169723510742,
      49.858558654785156,
      49.86880111694336,
      49.78688049316406,
      49.876991271972656,
      49.79507064819336,
      49.80838394165039,
      49.87801742553711,
      49.80326461791992,
      49.90361785888672,
      49.865726470947266,
      49.8606071472168,
      49.80838394165039,
      49.82067108154297,
      49.858558654785156,
      49.87392044067383,
      49.80121612548828,
      49.797119140625,
      50.079742431640625,
      49.83603286743164,
      49.923072814941406,
      49.76230239868164,
      50.149375915527344,
      49.858558654785156,
      49.89030456542969,
      49.741825103759766,
      49.743873596191406,
      49.83808135986328,
      49.849342346191406,
      49.7786865234375,
      49.746944427490234,
      49.76639938354492,
      49.81145477294922,
      50.093055725097656,
      49.8524169921875,
      49.80428695678711,
      49.758209228515625,
      49.81452941894531,
      49.82681655883789,
      49.84729766845703,
      49.781761169433594,
      50.15961456298828,
      49.77766418457031,
      49.81452941894531,
      49.86675262451172,
      49.85343933105469,
      49.81964874267578,
      50.17497634887695,
      49.86880111694336,
      49.87801742553711,
      49.78585433959961,
      49.856510162353516,
      50.20364761352539,
      49.82169723510742,
      49.88825607299805,
      49.85139083862305,
      49.8073616027832,
      49.898494720458984,
      49.81248092651367,
      49.78790283203125,
      49.80223846435547,
      49.7704963684082,
      49.77766418457031,
      49.79916763305664,
      49.704959869384766,
      49.84832000732422,
      49.84320068359375,
      49.78278350830078,
      49.81964874267578,
      49.85446548461914,
      49.833984375,
      49.81657409667969,
      49.83500671386719,
      49.85036849975586,
      49.87801742553711,
      49.84524917602539,
      49.85753631591797,
      49.80428695678711,
      49.725440979003906,
      49.84524917602539,
      49.82271957397461,
      49.78995132446289,
      49.84627151489258,
      49.81248092651367,
      49.84422302246094,
      49.78995132446289,
      49.80838394165039,
      49.725440979003906,
      49.87801742553711,
      49.80531311035156,
      49.85753631591797,
      49.889278411865234,
      49.76128005981445,
      49.83910369873047,
      49.82169723510742,
      49.84627151489258,
      49.763328552246094,
      49.716224670410156,
      49.82169723510742,
      49.71315383911133,
      49.84627151489258,
      49.77151870727539,
      49.743873596191406,
      49.81760025024414,
      49.88825607299805,
      49.77766418457031,
      49.82169723510742,
      49.741825103759766,
      49.765377044677734,
      49.87596893310547,
      49.82783889770508,
      49.800193786621094,
      49.84115219116211,
      49.800193786621094,
      49.82169723510742,
      49.77356719970703,
      49.80121612548828,
      49.65580749511719,
      49.86675262451172,
      49.72236633300781,
      49.72953414916992,
      49.81657409667969,
      49.68960189819336,
      49.867774963378906,
      49.7367057800293,
      49.84422302246094,
      49.700862884521484,
      49.73158264160156,
      49.83705520629883,
      49.83910369873047,
      49.753089904785156,
      49.84729766845703,
      49.78688049316406,
      49.80633544921875,
      49.84729766845703,
      49.78995132446289,
      49.83091354370117,
      49.7786865234375,
      49.7889289855957,
      49.83705520629883,
      49.86163330078125,
      49.81862258911133,
      50.19443130493164,
      49.83500671386719,
      49.85958480834961,
      49.76947021484375,
      49.82988739013672,
      49.90668869018555,
      50.25996780395508,
      49.81760025024414,
      49.8524169921875,
      49.8073616027832,
      50.21286392211914,
      49.870849609375,
      49.886207580566406,
      49.85343933105469,
      49.865726470947266,
      49.82988739013672,
      49.83705520629883,
      49.8524169921875,
      49.82271957397461,
      49.89952087402344,
      49.82886505126953,
      50.1923828125,
      49.880062103271484,
      49.66400146484375,
      49.86470413208008,
      49.78995132446289,
      49.78688049316406,
      50.229248046875,
      49.7786865234375,
      49.83295822143555,
      49.73875045776367,
      49.9128303527832,
      49.84524917602539,
      49.739776611328125,
      49.73158264160156,
      49.79814529418945,
      49.74591827392578,
      49.85036849975586,
      49.82681655883789,
      49.744895935058594,
      49.82988739013672,
      49.76128005981445,
      49.84115219116211,
      49.72032165527344,
      49.82271957397461,
      49.7786865234375,
      49.82374572753906,
      49.83295822143555,
      49.737728118896484,
      49.83193588256836,
      49.758209228515625,
      49.734657287597656,
      49.82271957397461,
      49.746944427490234,
      49.82886505126953,
      50.065406799316406,
      49.833984375,
      49.81964874267578,
      49.865726470947266,
      50.21900939941406,
      49.77766418457031,
      49.82988739013672,
      49.833984375,
      50.13401412963867,
      49.81862258911133,
      49.83603286743164,
      49.80121612548828,
      49.80633544921875,
      49.8155517578125,
      50.25075149536133,
      49.84115219116211,
      49.800193786621094,
      49.82476806640625,
      50.1923828125,
      49.8421745300293,
      49.83910369873047,
      49.754112243652344,
      50.18726348876953,
      49.81862258911133,
      49.82271957397461,
      49.82374572753906,
      49.77561569213867,
      49.81964874267578,
      49.82886505126953,
      49.849342346191406,
      49.82681655883789,
      50.19852828979492,
      49.9159049987793,
      49.86880111694336,
      49.81760025024414,
      49.86880111694336,
      49.85958480834961,
      50.27123260498047,
      49.79404830932617,
      49.774593353271484,
      49.758209228515625,
      49.754112243652344,
      49.872894287109375,
      49.83603286743164,
      49.79507064819336,
      49.7889289855957,
      49.81862258911133,
      49.84320068359375,
      49.85958480834961,
      49.81145477294922,
      49.77971267700195,
      50.1657600402832,
      49.776641845703125,
      49.84320068359375,
      49.83705520629883,
      50.118656158447266,
      49.76947021484375,
      49.75513458251953,
      49.84115219116211,
      49.81145477294922,
      49.81862258911133,
      49.763328552246094,
      49.84012985229492,
      49.8073616027832,
      49.744895935058594,
      49.8524169921875,
      49.693695068359375,
      49.81657409667969,
      49.7336311340332,
      49.80326461791992,
      49.83910369873047,
      49.78073501586914,
      49.76435089111328,
      49.76844787597656,
      49.65478515625,
      49.65580749511719,
      49.682430267333984,
      49.84729766845703,
      49.82374572753906,
      49.71315383911133,
      49.7786865234375,
      49.77971267700195,
      49.73158264160156,
      49.83910369873047,
      49.68038558959961,
      49.7786865234375,
      49.83705520629883,
      49.7786865234375,
      49.80838394165039,
      49.83091354370117,
      49.7367057800293,
      49.74796676635742,
      49.85343933105469,
      49.7704963684082,
      49.748992919921875,
      49.62815856933594,
      49.84524917602539,
      49.65683364868164,
      49.60460662841797,
      49.82169723510742,
      49.717247009277344,
      49.6814079284668,
      49.79814529418945,
      49.67628860473633,
      49.80121612548828,
      49.67833709716797,
      49.65478515625,
      49.83295822143555,
      49.81248092651367,
      49.80428695678711,
      49.66195297241211,
      49.65683364868164,
      49.81760025024414,
      49.7786865234375,
      49.80940628051758,
      49.66502380371094,
      49.63737487792969,
      49.85753631591797,
      49.721343994140625,
      49.767425537109375,
      49.66707229614258,
      49.83910369873047,
      49.77151870727539,
      49.82271957397461,
      49.741825103759766,
      49.772544860839844,
      50.24358367919922,
      49.78483200073242,
      49.8073616027832,
      49.76639938354492,
      49.874942779541016,
      49.83808135986328,
      49.76639938354492,
      49.708030700683594,
      49.728511810302734,
      49.721343994140625,
      49.81657409667969,
      49.80531311035156,
      49.670143127441406,
      49.658878326416016,
      49.76435089111328,
      49.72953414916992
     ],
     "correct": [
      9502,
      9497,
      9504,
      9514,
      9488,
      9476,
      9518,
      9511,
      9491,
      9507,
      9485,
      9486,
      9499,
      9498,
      9490,
      9499,
      9490,
      9558,
      9522,
      9506,
      9524,
      9502,
      9503,
      9528,
      9500,
      9532,
      9505,
      9476,
      9515,
      9509,
      9520,
      9498,
      9471,
      9485,
      9503,
      9492,
      9488,
      9477,
      9533,
      9506,
      9499,
      9498,
      9498,
      9496,
      9503,
      9498,
      9502,
      9492,
      9490,
      9529,
      9487,
      9488,
      9537,
      9509,
      9491,
      9520,
      9475,
      9511,
      9465,
      9478,
      9520,
      9516,
      9513,
      9504,
      9477,
      9503,
      9490,
      9484,
      9477,
      9482,
      9506,
      9512,
      9511,
      9496,
      9508,
      9502,
      9520,
      9511,
      9509,
      9505,
      9495,
      9523,
      9518,
      9495,
      9517,
      9512,
      9501,
      9534,
      9476,
      9529,
      9512,
      9504,
      9529,
      9521,
      9517,
      9514,
      9468,
      9491,
      9494,
      9494,
      9465,
      9485,
      9520,
      9526,
      9517,
      9503,
      9471,
      9515,
      9526,
      9508,
      9497,
      9505,
      9494,
      9535,
      9518,
      9499,
      9524,
      9531,
      9499,
      9502,
      9477,
      9530,
      9473,
      9489,
      9526,
      9527,
      9514,
      9526,
      9481,
      9489,
      9492,
      9502,
      9467,
      9466,
      9534,
      9532,
      9487,
      9496,
      9495,
      9499,
      9519,
      9497,
      9503,
      9513,
      9504,
      9565,
      9539,
      9510,
      9542,
      9548,
      9510,
      9498,
      9495,
      9531,
      9488,
      9502,
      9497,
      9509,
      9497,
      9489,
      9490,
      9511,
      9479,
      9504,
      9480,
      9483,
      9536,
      9522,
      9518,
      9509,
      9494,
      9490,
      9526,
      9495,
      9494,
      9506,
      9488,
      9550,
      9491,
      9499,
      9531,
      9558,
      9510,
      9537,
      9482,
      9517,
      9510,
      9499,
      9517,
      9519,
      9515,
      9508,
      9490,
      9482,
      9488,
      9487,
      9505,
      9482,
      9501,
      9511,
      9506,
      9509,
      9477,
      9486,
      9526,
      9523,
      9496,
      9520,
      9505,
      9541,
      9523,
      9503,
      9540,
      9503,
      9493,
      9514,
      9477,
      9527,
      9482,
      9516,
      9522,
      9492,
      9516,
      9502,
      9471,
      9508,
      9487,
      9499,
      9459,
      9459,
      9512,
      9511,
      9526,
      9521,
      9494,
      9496,
      9506,
      9506,
      9488,
      9525,
      9487,
      9542,
      9526,
      9495,
      9512,
      9552,
      9506,
      9540,
      9483,
      9506,
      9482,
      9496,
      9512,
      9515,
      9526,
      9515,
      9485,
      9499,
      9490,
      9516,
      9480,
      9467,
      9507,
      9532,
      9498,
      9509,
      9495,
      9476,
      9532,
      9511,
      9509,
      9514,
      9491,
      9546,
      9514,
      9507,
      9518,
      9512,
      9491,
      9519,
      9473,
      9531,
      9496,
      9497,
      9506,
      9510,
      9535,
      9523,
      9487,
      9467,
      9493,
      9500,
      9488,
      9473,
      9522,
      9503,
      9504,
      9509,
      9486,
      9510,
      9529,
      9493,
      9507,
      9504,
      9497,
      9558,
      9525,
      9503,
      9501,
      9509,
      9493,
      9529,
      9478,
      9513,
      9502,
      9500,
      9499,
      9511,
      9510,
      9501,
      9487,
      9475,
      9513,
      9495,
      9459,
      9470,
      9517,
      9508,
      9506,
      9537,
      9491,
      9487,
      9538,
      9503,
      9480,
      9521,
      9474,
      9546,
      9501,
      9501,
      9531,
      9532,
      9495,
      9534,
      9487,
      9536,
      9500,
      9494,
      9524,
      9520,
      9512,
      9527
     ]
    },
    {
     "name": "idle 4",
     "seconds": 5.005887884999993,
     "joules": 310.209,
     "utilization_max": 0,
     "contexts": 1
    }
   ]
  }
 }
}
