{
 "returncode": 0,
 "stdout": "submission.py:classify at 1.90% error: 15 timed calls, each in a fresh process\n  review flag: embedded data? 1 high-entropy literal(s), 19,775 characters\n  review flag: decodes data: imports base64, lzma\n  review flag: 20,428 bytes, close to the 20,480-byte limit\n  NVIDIA A100-SXM4-80GB, torch 2.12.0+cu130, sandbox on\n  call  1/15: 7,034.298 ms, scorer's clock 7,037.074 ms\n  call  2/15: 7,033.833 ms, scorer's clock 7,036.530 ms\n  call  3/15: 7,040.067 ms, scorer's clock 7,043.046 ms\n  call  4/15: 7,035.165 ms, scorer's clock 7,040.617 ms\n  call  5/15: 7,033.840 ms, scorer's clock 7,037.322 ms\n  call  6/15: 7,036.415 ms, scorer's clock 7,041.289 ms\n  call  7/15: 7,033.744 ms, scorer's clock 7,037.826 ms\n  call  8/15: 7,028.319 ms, scorer's clock 7,031.193 ms\n  call  9/15: 7,033.515 ms, scorer's clock 7,037.341 ms\n  call 10/15: 7,035.053 ms, scorer's clock 7,039.065 ms\n  call 11/15: 7,039.887 ms, scorer's clock 7,042.428 ms\n  call 12/15: 7,028.921 ms, scorer's clock 7,032.749 ms\n  call 13/15: 7,034.017 ms, scorer's clock 7,037.367 ms\n  call 14/15: 7,033.516 ms, scorer's clock 7,037.076 ms\n  call 15/15: 7,037.197 ms, scorer's clock 7,042.629 ms\nMNIST 98.21% (108,031/110,000), 7034.231 ms/call; hold-out (fashion) 88.20%, 7035.312 ms/call; score 7035.312 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 68.4 W with the method frozen; telemetry reference 17.9 TFLOP/s at 8.25 J/TFLOP above idle (a healthy NVIDIA A100-SXM4-80GB reads 6-11)\n  the round trip alone: 13.6 mJ per call over 3,232 empty calls, subtracted\n  the method: 3 calls in 21.2 s, MNIST 98.29%, 7,035.113 ms per call, 324.9 W on average\nenergy 1808671.981 mJ per call above idle\n",
 "stderr": "dates=8 winner=0 id=6 tile=20 split=1 us=55.8080\nLT tuned m=4096 n=16 k=512 at=0 bt=1 E=4 candidates=6 winner=5 id=21 tile=5 split=1 us=17.4080\nLT tuned m=512 n=16 k=4096 at=1 bt=1 E=4 candidates=4 winner=3 id=31 tile=15 split=1 us=22.5280\nLT tuned m=4096 n=512 k=16 at=0 bt=0 E=4 candidates=4 winner=0 id=5 tile=24 split=1 us=22.8693\nLT tuned m=512 n=512 k=4096 at=1 bt=1 E=4 candidates=5 winner=3 id=31 tile=18 split=1 us=85.8453\nLT tuned m=4096 n=512 k=512 at=0 bt=1 E=4 candidates=8 winner=0 id=6 tile=20 split=1 us=55.4667\nLT tuned m=512 n=128 k=4096 at=1 bt=1 E=4 candidates=5 winner=4 id=31 tile=15 split=1 us=24.3200\nLT tuned m=20000 n=512 k=128 at=0 bt=0 E=4 candidates=8 winner=0 id=6 tile=20 split=1 us=111.3600\nLT tuned m=20000 n=512 k=512 at=0 bt=0 E=4 candidates=8 winner=0 id=6 tile=20 split=1 us=236.1174\nLT tuned m=20000 n=16 k=512 at=0 bt=1 E=4 candidates=8 winner=0 id=6 tile=17 split=1 us=59.4773\n[1/3] /usr/local/cuda/bin/nvcc -MD -MF centered_halfnorm_small_members.cuda.o.d -DTORCH_EXTENSION_NAME=sutro_centered_halfnorm_small_members_bn_stagepack -DTORCH_API_INCLUDE_EXTENSION_H -isystem /usr/local/lib/python3.13/site-packages/torch/include -isystem /usr/local/lib/python3.13/site-packages/torch/include/torch/csrc/api/include -isystem /usr/local/cuda/include -isystem /usr/local/include/python3.13 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_80,code=sm_80 --compiler-options '-fPIC' -O3 -lineinfo --ptxas-options=-v -std=c++20 -c /tmp/sutro-bn-stage-582fe8613daf6be1-65534/kernels/centered_halfnorm_small_members.cu -o centered_halfnorm_small_members.cuda.o \nptxas info    : 0 bytes gmem\nptxas info    : Compiling entry function '_Z9transformILi8EEvPK13__nv_bfloat16S2_PKfPS0_i' for 'sm_80'\nptxas info    : Function properties for _Z9transformILi8EEvPK13__nv_bfloat16S2_PKfPS0_i\n    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads\nptxas info    : Used 50 registers, used 1 barriers, 68 bytes smem, 388 bytes cmem[0]\nptxas info    : Compile time = 24.804 ms\nptxas info    : Compiling entry function '_Z9transformILi4EEvPK13__nv_bfloat16S2_PKfPS0_i' for 'sm_80'\nptxas info    : Function properties for _Z9transformILi4EEvPK13__nv_bfloat16S2_PKfPS0_i\n    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads\nptxas info    : Used 32 registers, used 1 barriers, 36 bytes smem, 388 bytes cmem[0]\nptxas info    : Compile time = 14.657 ms\nptxas info    : Compiling entry function '_Z9transformILi2EEvPK13__nv_bfloat16S2_PKfPS0_i' for 'sm_80'\nptxas info    : Function properties for _Z9transformILi2EEvPK13__nv_bfloat16S2_PKfPS0_i\n    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads\nptxas info    : Used 32 registers, used 1 barriers, 20 bytes smem, 388 bytes cmem[0]\nptxas info    : Compile time = 14.530 ms\nptxas info    : Compiling entry function '_Z9transformILi1EEvPK13__nv_bfloat16S2_PKfPS0_i' for 'sm_80'\nptxas info    : Function properties for _Z9transformILi1EEvPK13__nv_bfloat16S2_PKfPS0_i\n    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads\nptxas info    : Used 32 registers, used 1 barriers, 12 bytes smem, 388 bytes cmem[0]\nptxas info    : Compile time = 13.421 ms\nptxas info    : Compiling entry function '_Z11finish_meanPKfPfiii' for 'sm_80'\nptxas info    : Function properties for _Z11finish_meanPKfPfiii\n    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads\nptxas info    : Used 32 registers, used 0 barriers, 380 bytes cmem[0]\nptxas info    : Compile time = 9.696 ms\nptxas info    : Compiling entry function '_Z12partial_meanPK13__nv_bfloat16S1_Pfiiii' for 'sm_80'\nptxas info    : Function properties for _Z12partial_meanPK13__nv_bfloat16S1_Pfiiii\n    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads\nptxas info    : Used 32 registers, used 1 barriers, 1024 bytes smem, 392 bytes cmem[0]\nptxas info    : Compile time = 7.652 ms\n[2/3] c++ -MMD -MF centered_halfnorm_small_members_bindings.o.d -DTORCH_EXTENSION_NAME=sutro_centered_halfnorm_small_members_bn_stagepack -DTORCH_API_INCLUDE_EXTENSION_H -isystem /usr/local/lib/python3.13/site-packages/torch/include -isystem /usr/local/lib/python3.13/site-packages/torch/include/torch/csrc/api/include -isystem /usr/local/cuda/include -isystem /usr/local/include/python3.13 -fPIC -std=c++20 -O0 -g0 -c /tmp/sutro-bn-stage-582fe8613daf6be1-65534/kernels/centered_halfnorm_small_members_bindings.cpp -o centered_halfnorm_small_members_bindings.o \n[3/3] c++ centered_halfnorm_small_members_bindings.o centered_halfnorm_small_members.cuda.o -shared -L/usr/local/lib/python3.13/site-packages/torch/lib -lc10 -lc10_cuda -ltorch_cpu -ltorch_cuda -ltorch -ltorch_python -L/usr/local/cuda/lib64 -lcudart -o sutro_centered_halfnorm_small_members_bn_stagepack.so\nLT tuned m=10 n=128 k=20000 at=1 bt=1 E=1 candidates=7 winner=0 id=23 tile=11 split=48 us=19.1147\nLT tuned m=4096 n=512 k=128 at=0 bt=0 E=4 candidates=8 winner=4 id=6 tile=18 split=1 us=33.0240\nLT tuned m=4096 n=512 k=512 at=0 bt=0 E=4 candidates=8 winner=0 id=6 tile=20 split=1 us=55.8080\nLT tuned m=4096 n=16 k=512 at=0 bt=1 E=4 candidates=6 winner=1 id=21 tile=5 split=1 us=17.5787\nLT tuned m=512 n=16 k=4096 at=1 bt=1 E=4 candidates=4 winner=2 id=31 tile=15 split=1 us=22.6133\nLT tuned m=4096 n=512 k=16 at=0 bt=0 E=4 candidates=4 winner=0 id=5 tile=24 split=1 us=22.7840\nLT tuned m=512 n=512 k=4096 at=1 bt=1 E=4 candidates=5 winner=3 id=31 tile=18 split=1 us=86.1013\nLT tuned m=4096 n=512 k=512 at=0 bt=1 E=4 candidates=8 winner=0 id=6 tile=20 split=1 us=55.7227\nLT tuned m=512 n=128 k=4096 at=1 bt=1 E=4 candidates=5 winner=0 id=31 tile=15 split=1 us=24.5760\nLT tuned m=20000 n=512 k=128 at=0 bt=0 E=4 candidates=8 winner=0 id=6 tile=20 split=1 us=111.1040\nLT tuned m=20000 n=512 k=512 at=0 bt=0 E=4 candidates=8 winner=0 id=6 tile=20 split=1 us=235.8613\nLT tuned m=20000 n=16 k=512 at=0 bt=1 E=4 candidates=8 winner=0 id=6 tile=17 split=1 us=59.2213\n",
 "record": {
  "version": "mnist-a100/1.2.0 (protections of sutro-mnist-medium/3.0.0, tightened; energy column)",
  "file": "submission.py",
  "function": "classify",
  "source_sha256": "86a1a749f5b12c34be86c2e5025487827bda6b8b20f55fac72bb2911dcaa9066",
  "band_bp": 190,
  "sandboxed": true,
  "holdout": "fashion",
  "device": "NVIDIA A100-SXM4-80GB",
  "torch": "2.12.0+cu130",
  "calls": [
   {
    "dataset": "mnist",
    "ms": 7034.29833984375,
    "parent_ms": 7038.980695999996,
    "correct": 9829,
    "total": 10000,
    "overhead_ms": 1.9066454994309971
   },
   {
    "dataset": "fashion",
    "ms": 7033.83251953125,
    "parent_ms": 7038.3853240000035,
    "correct": 8764,
    "total": 10000,
    "overhead_ms": 1.855465499345712
   },
   {
    "dataset": "mnist",
    "ms": 7040.0673828125,
    "parent_ms": 7045.241145000005,
    "correct": 9820,
    "total": 10000,
    "overhead_ms": 2.1947239991543483
   },
   {
    "dataset": "fashion",
    "ms": 7035.16455078125,
    "parent_ms": 7042.3234140000095,
    "correct": 8837,
    "total": 10000,
    "overhead_ms": 1.7061574983536048
   },
   {
    "dataset": "mnist",
    "ms": 7033.83984375,
    "parent_ms": 7039.246526999988,
    "correct": 9834,
    "total": 10000,
    "overhead_ms": 1.9245170010335642
   },
   {
    "dataset": "mnist",
    "ms": 7036.4150390625,
    "parent_ms": 7042.867541000021,
    "correct": 9830,
    "total": 10000,
    "overhead_ms": 1.5788574991884161
   },
   {
    "dataset": "mnist",
    "ms": 7033.744140625,
    "parent_ms": 7039.947976999997,
    "correct": 9793,
    "total": 10000,
    "overhead_ms": 2.1221730009513067
   },
   {
    "dataset": "mnist",
    "ms": 7028.3193359375,
    "parent_ms": 7033.417284999985,
    "correct": 9811,
    "total": 10000,
    "overhead_ms": 2.224364500484853
   },
   {
    "dataset": "mnist",
    "ms": 7033.51513671875,
    "parent_ms": 7039.13964000003,
    "correct": 9805,
    "total": 10000,
    "overhead_ms": 1.7984829999056728
   },
   {
    "dataset": "fashion",
    "ms": 7035.05322265625,
    "parent_ms": 7041.4160530000345,
    "correct": 8856,
    "total": 10000,
    "overhead_ms": 2.3506550001743562
   },
   {
    "dataset": "mnist",
    "ms": 7039.88720703125,
    "parent_ms": 7045.024593999983,
    "correct": 9820,
    "total": 10000,
    "overhead_ms": 2.5968644984154707
   },
   {
    "dataset": "mnist",
    "ms": 7028.92138671875,
    "parent_ms": 7035.021152000013,
    "correct": 9837,
    "total": 10000,
    "overhead_ms": 2.2721904993018143
   },
   {
    "dataset": "mnist",
    "ms": 7034.0166015625,
    "parent_ms": 7039.574037999955,
    "correct": 9829,
    "total": 10000,
    "overhead_ms": 2.2069344981223367
   },
   {
    "dataset": "mnist",
    "ms": 7033.51611328125,
    "parent_ms": 7039.0795619999835,
    "correct": 9823,
    "total": 10000,
    "overhead_ms": 2.003887499774919
   },
   {
    "dataset": "fashion",
    "ms": 7037.197265625,
    "parent_ms": 7044.461112000022,
    "correct": 8821,
    "total": 10000,
    "overhead_ms": 1.8323259997214336
   }
  ],
  "problems": [],
  "summary": "MNIST 98.21% (108,031/110,000), 7034.231 ms/call; hold-out (fashion) 88.20%, 7035.312 ms/call",
  "ranked_ms": 7035.3118896484375,
  "energy": {
   "mj_per_call": 1808671.9805177986,
   "problems": [],
   "net_mj_before_control": 1808685.5786962865,
   "control_mj_per_call": 13.598178488059201,
   "control_calls": 3232,
   "gross_mj_per_call": 2291496.6666666665,
   "idle_w": 68.44612656931639,
   "active_w": 324.8559836087599,
   "calls": 3,
   "seconds": 21.161654231000057,
   "ms_median": 7035.11328125,
   "timed_mnist_ms_median": 7033.83984375,
   "correct": 29488,
   "total": 30000,
   "reference": {
    "tflops_per_s": 17.86722852593464,
    "j_per_tflop": 8.245945165093639,
    "exact": true,
    "band": [
     [
      6.0,
      11.0
     ],
     [
      15.0,
      23.0
     ]
    ]
   },
   "device": {
    "name": "NVIDIA A100-SXM4-80GB",
    "uuid": "GPU-3ecd118c-fa68-1963-5a2c-82319bd478d7",
    "vbios": "92.00.9E.00.02",
    "driver": "580.95.05",
    "power_limit_w": 500.0
   },
   "windows": [
    {
     "name": "idle 1",
     "seconds": 5.005547568999987,
     "joules": 341.064,
     "utilization_max": 0,
     "contexts": 1
    },
    {
     "name": "reference",
     "seconds": 5.292258944999958,
     "joules": 1140.141,
     "matmuls": 688,
     "dim": 4096,
     "exact": true
    },
    {
     "name": "idle 2",
     "seconds": 5.003773127000045,
     "joules": 340.605,
     "utilization_max": 0,
     "contexts": 1
    },
    {
     "name": "control",
     "seconds": 5.003978373999985,
     "joules": 385.212,
     "calls": 3232
    },
    {
     "name": "idle 3",
     "seconds": 5.004689613999972,
     "joules": 341.955,
     "utilization_max": 0,
     "contexts": 1
    },
    {
     "name": "method",
     "seconds": 21.161654231000057,
     "joules": 6874.49,
     "calls": 3,
     "ms": [
      7073.21533203125,
      7035.01611328125,
      7035.11328125
     ],
     "correct": [
      9820,
      9835,
      9833
     ]
    },
    {
     "name": "idle 4",
     "seconds": 5.004248611000094,
     "joules": 343.118,
     "utilization_max": 0,
     "contexts": 1
    }
   ]
  }
 }
}
