{
 "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.857 ms, scorer's clock 61.135 ms\n  call  2/15: 60.720 ms, scorer's clock 59.996 ms\n  call  3/15: 60.695 ms, scorer's clock 60.893 ms\n  call  4/15: 60.700 ms, scorer's clock 60.814 ms\n  call  5/15: 60.733 ms, scorer's clock 60.390 ms\n  call  6/15: 60.844 ms, scorer's clock 59.977 ms\n  call  7/15: 60.928 ms, scorer's clock 63.341 ms\n  call  8/15: 60.836 ms, scorer's clock 61.114 ms\n  call  9/15: 60.850 ms, scorer's clock 61.441 ms\n  call 10/15: 60.761 ms, scorer's clock 61.121 ms\n  call 11/15: 60.781 ms, scorer's clock 60.937 ms\n  call 12/15: 60.634 ms, scorer's clock 62.930 ms\n  call 13/15: 60.780 ms, scorer's clock 61.284 ms\n  call 14/15: 60.725 ms, scorer's clock 63.011 ms\n  call 15/15: 60.653 ms, scorer's clock 60.797 ms\nMNIST 95.00% (104,502/110,000), 60.797 ms/call; hold-out (kmnist) 91.62%, 61.280 ms/call (floored by the scorer's clock); score 61.280 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.3 TFLOP/s at 8.23 J/TFLOP above idle (a healthy NVIDIA A100-SXM4-80GB reads 6-11)\n  the round trip alone: 11.2 mJ per call over 1,867 empty calls, subtracted\n  the method: 356 calls in 20.1 s, MNIST 94.99%, 49.887 ms per call, 99.4 W on average\nenergy 2131.405 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": "kmnist",
  "device": "NVIDIA A100-SXM4-80GB",
  "torch": "2.12.0+cu130",
  "calls": [
   {
    "dataset": "mnist",
    "ms": 60.85734558105469,
    "parent_ms": 64.75226400000089,
    "correct": 9473,
    "total": 10000,
    "overhead_ms": 3.6171299989524854
   },
   {
    "dataset": "kmnist",
    "ms": 60.72012710571289,
    "parent_ms": 64.06628799999936,
    "correct": 9142,
    "total": 10000,
    "overhead_ms": 4.070166997392519
   },
   {
    "dataset": "mnist",
    "ms": 60.69452667236328,
    "parent_ms": 64.60400399999955,
    "correct": 9490,
    "total": 10000,
    "overhead_ms": 3.711076000078009
   },
   {
    "dataset": "mnist",
    "ms": 60.699649810791016,
    "parent_ms": 64.60528100000218,
    "correct": 9508,
    "total": 10000,
    "overhead_ms": 3.7912299989522182
   },
   {
    "dataset": "mnist",
    "ms": 60.73344039916992,
    "parent_ms": 64.14718700000321,
    "correct": 9484,
    "total": 10000,
    "overhead_ms": 3.7573984986071025
   },
   {
    "dataset": "mnist",
    "ms": 60.844032287597656,
    "parent_ms": 64.76820099999969,
    "correct": 9534,
    "total": 10000,
    "overhead_ms": 4.791193500858242
   },
   {
    "dataset": "mnist",
    "ms": 60.928001403808594,
    "parent_ms": 67.09431400000199,
    "correct": 9498,
    "total": 10000,
    "overhead_ms": 3.7531834999049636
   },
   {
    "dataset": "mnist",
    "ms": 60.835838317871094,
    "parent_ms": 65.33616400000142,
    "correct": 9501,
    "total": 10000,
    "overhead_ms": 4.221973000253229
   },
   {
    "dataset": "mnist",
    "ms": 60.85017776489258,
    "parent_ms": 65.04099800000063,
    "correct": 9493,
    "total": 10000,
    "overhead_ms": 3.5995429980868323
   },
   {
    "dataset": "mnist",
    "ms": 60.76108932495117,
    "parent_ms": 64.43973400000402,
    "correct": 9478,
    "total": 10000,
    "overhead_ms": 3.318332999120628
   },
   {
    "dataset": "mnist",
    "ms": 60.78054428100586,
    "parent_ms": 64.73174799999981,
    "correct": 9507,
    "total": 10000,
    "overhead_ms": 3.794713497569205
   },
   {
    "dataset": "kmnist",
    "ms": 60.63411331176758,
    "parent_ms": 66.6742380000045,
    "correct": 9180,
    "total": 10000,
    "overhead_ms": 3.7444144995640727
   },
   {
    "dataset": "mnist",
    "ms": 60.779518127441406,
    "parent_ms": 65.30184400000394,
    "correct": 9536,
    "total": 10000,
    "overhead_ms": 4.01744349730609
   },
   {
    "dataset": "kmnist",
    "ms": 60.72524642944336,
    "parent_ms": 66.5677269999918,
    "correct": 9185,
    "total": 10000,
    "overhead_ms": 3.5567684991295323
   },
   {
    "dataset": "kmnist",
    "ms": 60.65254211425781,
    "parent_ms": 64.94141500000694,
    "correct": 9141,
    "total": 10000,
    "overhead_ms": 4.144106497562575
   }
  ],
  "problems": [],
  "summary": "MNIST 95.00% (104,502/110,000), 60.797 ms/call; hold-out (kmnist) 91.62%, 61.280 ms/call (floored by the scorer's clock)",
  "ranked_ms": 61.280137840387,
  "energy": {
   "mj_per_call": 2131.4053467988415,
   "problems": [],
   "net_mj_before_control": 2142.5959290291853,
   "control_mj_per_call": 11.190582230343908,
   "control_calls": 1867,
   "gross_mj_per_call": 5599.244382022472,
   "idle_w": 61.35728329365121,
   "active_w": 99.38946018089767,
   "calls": 356,
   "seconds": 20.055758391000012,
   "ms_median": 49.88672065734863,
   "timed_mnist_ms_median": 60.78054428100586,
   "correct": 3381747,
   "total": 3560000,
   "reference": {
    "tflops_per_s": 18.270105462692378,
    "j_per_tflop": 8.234692405128524,
    "exact": true,
    "band": [
     [
      6.0,
      11.0
     ],
     [
      15.0,
      23.0
     ]
    ]
   },
   "device": {
    "name": "NVIDIA A100-SXM4-80GB",
    "uuid": "GPU-c81e76d3-2040-eef2-fe77-dc38243b7cd4",
    "vbios": "92.00.45.00.0E",
    "driver": "580.95.05",
    "power_limit_w": 400.0
   },
   "windows": [
    {
     "name": "idle 1",
     "seconds": 5.004553660000013,
     "joules": 299.027,
     "utilization_max": 0,
     "contexts": 1
    },
    {
     "name": "reference",
     "seconds": 5.175558519999996,
     "joules": 1092.628,
     "matmuls": 688,
     "dim": 4096,
     "exact": true
    },
    {
     "name": "idle 2",
     "seconds": 5.003723655000002,
     "joules": 308.118,
     "utilization_max": 0,
     "contexts": 1
    },
    {
     "name": "control",
     "seconds": 5.003615676999999,
     "joules": 328.506,
     "calls": 1867
    },
    {
     "name": "idle 3",
     "seconds": 5.003680602000003,
     "joules": 307.119,
     "utilization_max": 0,
     "contexts": 1
    },
    {
     "name": "method",
     "seconds": 20.055758391000012,
     "joules": 1993.331,
     "calls": 356,
     "ms": [
      60.67609786987305,
      60.56038284301758,
      49.7336311340332,
      49.951744079589844,
      49.902591705322266,
      49.87801742553711,
      49.89952087402344,
      49.753089904785156,
      49.86675262451172,
      49.79404830932617,
      49.84729766845703,
      49.76844787597656,
      49.82579040527344,
      49.704959869384766,
      49.82988739013672,
      49.872894287109375,
      49.889278411865234,
      49.774593353271484,
      49.85036849975586,
      49.78790283203125,
      49.78073501586914,
      49.74284744262695,
      49.83193588256836,
      49.79302215576172,
      49.6732177734375,
      49.874942779541016,
      49.85753631591797,
      49.675262451171875,
      49.74079895019531,
      49.7889289855957,
      49.82374572753906,
      49.79916763305664,
      50.088958740234375,
      50.1135368347168,
      49.9312629699707,
      49.84012985229492,
      49.86163330078125,
      49.942527770996094,
      49.930240631103516,
      49.909759521484375,
      49.783809661865234,
      49.80223846435547,
      49.99987030029297,
      49.72748947143555,
      49.88313674926758,
      49.76230239868164,
      49.941505432128906,
      49.81043243408203,
      49.898494720458984,
      49.856510162353516,
      50.00601577758789,
      49.870849609375,
      49.941505432128906,
      49.924095153808594,
      49.92716979980469,
      49.9128303527832,
      49.86163330078125,
      49.84729766845703,
      49.83500671386719,
      49.856510162353516,
      49.86982345581055,
      49.87801742553711,
      49.86470413208008,
      49.905662536621094,
      49.89030456542969,
      49.876991271972656,
      49.84627151489258,
      49.84627151489258,
      49.874942779541016,
      49.876991271972656,
      49.932289123535156,
      49.85036849975586,
      49.83603286743164,
      49.865726470947266,
      49.84012985229492,
      49.8073616027832,
      49.83091354370117,
      49.880062103271484,
      49.82681655883789,
      49.82476806640625,
      49.80633544921875,
      49.82988739013672,
      49.911808013916016,
      50.00294494628906,
      49.790977478027344,
      49.81657409667969,
      49.95993423461914,
      49.902591705322266,
      49.82169723510742,
      49.82271957397461,
      49.88825607299805,
      49.84729766845703,
      49.82067108154297,
      49.85446548461914,
      49.8606071472168,
      49.76844787597656,
      49.87392044067383,
      50.00396728515625,
      49.893375396728516,
      49.80531311035156,
      49.8790397644043,
      49.85139083862305,
      49.8790397644043,
      49.90156936645508,
      49.83603286743164,
      49.78585433959961,
      49.77151870727539,
      50.0049934387207,
      50.05516815185547,
      49.83705520629883,
      49.97734451293945,
      50.04902267456055,
      49.963008880615234,
      49.83808135986328,
      49.98758316040039,
      50.43916702270508,
      49.8606071472168,
      49.78995132446289,
      49.833984375,
      49.82476806640625,
      49.81964874267578,
      49.951744079589844,
      49.86265563964844,
      49.774593353271484,
      50.181121826171875,
      49.86982345581055,
      49.889278411865234,
      49.82476806640625,
      50.286590576171875,
      49.935359954833984,
      49.921024322509766,
      49.891326904296875,
      49.89030456542969,
      49.904640197753906,
      49.9681282043457,
      49.941505432128906,
      49.90361785888672,
      49.9865608215332,
      49.79302215576172,
      49.86368179321289,
      49.8073616027832,
      49.84627151489258,
      49.974273681640625,
      50.05107116699219,
      49.94355010986328,
      49.86163330078125,
      49.942527770996094,
      49.889278411865234,
      49.891326904296875,
      49.84729766845703,
      49.82067108154297,
      49.92921447753906,
      49.85139083862305,
      49.88518524169922,
      49.926143646240234,
      49.77356719970703,
      49.942527770996094,
      49.83705520629883,
      49.81657409667969,
      49.833984375,
      49.926143646240234,
      49.8524169921875,
      49.79814529418945,
      49.76435089111328,
      49.758209228515625,
      49.797119140625,
      49.960960388183594,
      49.86675262451172,
      49.86675262451172,
      49.78995132446289,
      49.913856506347656,
      49.82374572753906,
      49.882110595703125,
      49.82067108154297,
      49.913856506347656,
      49.83500671386719,
      49.76947021484375,
      49.754112243652344,
      49.776641845703125,
      49.83500671386719,
      49.90361785888672,
      49.870849609375,
      49.77561569213867,
      49.82783889770508,
      49.90873718261719,
      49.86163330078125,
      49.83295822143555,
      49.8606071472168,
      49.83091354370117,
      49.8524169921875,
      49.950721740722656,
      49.896446228027344,
      49.82579040527344,
      49.82476806640625,
      49.891326904296875,
      49.88108825683594,
      49.80121612548828,
      49.79814529418945,
      50.10636901855469,
      50.02649688720703,
      49.90873718261719,
      49.955841064453125,
      50.07360076904297,
      49.91795349121094,
      49.858558654785156,
      49.957889556884766,
      49.97529602050781,
      49.87801742553711,
      49.94047927856445,
      50.01932907104492,
      50.01011276245117,
      49.80223846435547,
      49.924095153808594,
      49.880062103271484,
      50.02854537963867,
      49.96198272705078,
      49.88108825683594,
      49.942527770996094,
      49.99270248413086,
      49.91078567504883,
      49.96403121948242,
      49.94764709472656,
      50.06950378417969,
      49.8524169921875,
      49.90361785888672,
      49.776641845703125,
      49.953792572021484,
      49.98348617553711,
      49.84627151489258,
      49.90361785888672,
      50.01420974731445,
      50.02547073364258,
      49.79609680175781,
      49.909759521484375,
      49.776641845703125,
      49.97324752807617,
      49.99577713012695,
      49.98451232910156,
      50.074623107910156,
      49.75923156738281,
      49.88108825683594,
      49.96607971191406,
      50.01216125488281,
      49.81145477294922,
      49.979393005371094,
      49.942527770996094,
      49.867774963378906,
      49.91795349121094,
      49.97734451293945,
      50.0049934387207,
      49.8155517578125,
      49.997825622558594,
      49.99372863769531,
      50.05209732055664,
      49.913856506347656,
      49.77356719970703,
      49.924095153808594,
      50.08076858520508,
      49.997825622558594,
      49.774593353271484,
      50.081790924072266,
      49.94047927856445,
      49.88518524169922,
      49.79507064819336,
      49.99168014526367,
      50.140159606933594,
      50.04595184326172,
      49.94047927856445,
      49.85958480834961,
      50.06643295288086,
      49.974273681640625,
      49.889278411865234,
      49.83808135986328,
      49.8606071472168,
      50.01113510131836,
      50.050048828125,
      49.89440155029297,
      49.85343933105469,
      50.10636901855469,
      49.95891189575195,
      49.87596893310547,
      49.83295822143555,
      50.11967849731445,
      49.904640197753906,
      49.89440155029297,
      49.909759521484375,
      49.85343933105469,
      50.139137268066406,
      50.086910247802734,
      50.01113510131836,
      50.03878402709961,
      50.09715270996094,
      49.965057373046875,
      49.856510162353516,
      49.98963165283203,
      49.970176696777344,
      49.976318359375,
      49.9681282043457,
      49.970176696777344,
      49.9128303527832,
      49.85343933105469,
      49.990657806396484,
      50.03571319580078,
      49.872894287109375,
      49.87801742553711,
      50.04288101196289,
      50.125823974609375,
      50.081790924072266,
      49.849342346191406,
      49.790977478027344,
      49.963008880615234,
      50.09715270996094,
      49.8606071472168,
      49.81043243408203,
      49.932289123535156,
      49.965057373046875,
      49.997825622558594,
      49.85753631591797,
      49.82271957397461,
      49.92921447753906,
      49.84627151489258,
      50.1104621887207,
      49.937408447265625,
      49.93843078613281,
      49.849342346191406,
      49.89235305786133,
      50.07155227661133,
      50.00089645385742,
      49.955841064453125,
      49.81452941894531,
      49.85446548461914,
      49.83808135986328,
      49.74591827392578,
      49.82067108154297,
      49.772544860839844,
      50.01625442504883,
      49.916927337646484,
      49.77766418457031,
      49.82886505126953,
      49.87801742553711,
      50.351104736328125,
      49.99372863769531,
      49.83705520629883,
      49.94047927856445,
      49.86880111694336,
      49.90361785888672,
      50.03673553466797,
      50.04492950439453,
      49.891326904296875,
      50.21798324584961,
      49.926143646240234,
      50.03878402709961,
      49.972225189208984,
      50.21286392211914,
      49.91999816894531,
      50.03878402709961
     ],
     "correct": [
      9474,
      9509,
      9498,
      9491,
      9511,
      9468,
      9450,
      9538,
      9506,
      9488,
      9476,
      9494,
      9508,
      9522,
      9515,
      9490,
      9487,
      9509,
      9499,
      9509,
      9519,
      9491,
      9499,
      9489,
      9475,
      9484,
      9494,
      9521,
      9503,
      9510,
      9491,
      9489,
      9479,
      9493,
      9487,
      9504,
      9522,
      9477,
      9487,
      9527,
      9525,
      9478,
      9480,
      9503,
      9501,
      9497,
      9504,
      9490,
      9485,
      9506,
      9518,
      9480,
      9548,
      9516,
      9511,
      9519,
      9486,
      9524,
      9497,
      9529,
      9496,
      9513,
      9502,
      9489,
      9482,
      9494,
      9505,
      9499,
      9522,
      9470,
      9469,
      9546,
      9527,
      9489,
      9460,
      9490,
      9495,
      9509,
      9499,
      9507,
      9484,
      9506,
      9512,
      9493,
      9526,
      9513,
      9490,
      9509,
      9470,
      9492,
      9493,
      9501,
      9489,
      9491,
      9507,
      9513,
      9488,
      9502,
      9487,
      9530,
      9525,
      9483,
      9477,
      9529,
      9535,
      9509,
      9465,
      9487,
      9515,
      9498,
      9498,
      9496,
      9515,
      9521,
      9496,
      9484,
      9540,
      9500,
      9500,
      9497,
      9498,
      9502,
      9477,
      9475,
      9505,
      9524,
      9496,
      9494,
      9487,
      9482,
      9504,
      9494,
      9512,
      9471,
      9450,
      9516,
      9525,
      9482,
      9466,
      9482,
      9515,
      9503,
      9512,
      9491,
      9490,
      9495,
      9486,
      9490,
      9528,
      9501,
      9488,
      9495,
      9501,
      9504,
      9492,
      9509,
      9505,
      9504,
      9502,
      9500,
      9493,
      9500,
      9494,
      9512,
      9504,
      9481,
      9467,
      9537,
      9506,
      9469,
      9455,
      9475,
      9492,
      9531,
      9491,
      9482,
      9507,
      9523,
      9516,
      9486,
      9522,
      9499,
      9491,
      9497,
      9472,
      9498,
      9500,
      9489,
      9479,
      9509,
      9511,
      9508,
      9485,
      9488,
      9498,
      9503,
      9515,
      9480,
      9472,
      9548,
      9515,
      9466,
      9470,
      9502,
      9511,
      9528,
      9506,
      9491,
      9501,
      9527,
      9511,
      9497,
      9512,
      9506,
      9498,
      9528,
      9491,
      9509,
      9469,
      9512,
      9505,
      9522,
      9495,
      9469,
      9474,
      9494,
      9497,
      9490,
      9514,
      9497,
      9457,
      9533,
      9535,
      9491,
      9449,
      9482,
      9505,
      9509,
      9511,
      9508,
      9503,
      9518,
      9509,
      9496,
      9539,
      9503,
      9506,
      9516,
      9494,
      9511,
      9488,
      9539,
      9475,
      9530,
      9504,
      9498,
      9494,
      9515,
      9489,
      9482,
      9500,
      9487,
      9467,
      9534,
      9533,
      9482,
      9467,
      9482,
      9503,
      9498,
      9513,
      9491,
      9482,
      9506,
      9504,
      9493,
      9523,
      9501,
      9486,
      9518,
      9487,
      9537,
      9487,
      9498,
      9501,
      9525,
      9505,
      9495,
      9478,
      9488,
      9507,
      9488,
      9510,
      9504,
      9469,
      9529,
      9506,
      9489,
      9461,
      9489,
      9506,
      9479,
      9490,
      9496,
      9507,
      9514,
      9495,
      9501,
      9518,
      9507,
      9497,
      9503,
      9468,
      9512,
      9493,
      9501,
      9492,
      9530,
      9500,
      9515,
      9484,
      9505,
      9488,
      9499,
      9497,
      9485,
      9458,
      9517,
      9534,
      9491,
      9490,
      9487,
      9499,
      9487,
      9530,
      9497,
      9489,
      9526,
      9498,
      9478,
      9541,
      9505,
      9517,
      9520,
      9464,
      9484,
      9491,
      9509,
      9494,
      9503,
      9488,
      9484,
      9493,
      9499,
      9511,
      9515
     ]
    },
    {
     "name": "idle 4",
     "seconds": 5.003607294000005,
     "joules": 306.901,
     "utilization_max": 0,
     "contexts": 1
    }
   ]
  }
 }
}
