{
  "passed": true,
  "finished_at_utc": "2026-09-14T23:58:33.129788+00:00",
  "gpu": "NVIDIA A100-SXM4-40GB",
  "torch_version": "2.5.1+cu124",
  "workspace": ":16:8",
  "numerical_validation": {
    "passed": true,
    "device": "NVIDIA A100-SXM4-40GB",
    "checks": 212,
    "maximum_abs_error": 1.9073486328125e-06,
    "tolerance": {
      "atol": 2e-05,
      "rtol": 0.003
    },
    "cases": [
      {
        "depth": 1,
        "config": {
          "depth": 1,
          "alpha": 0.5,
          "seed": 781,
          "epochs": 2,
          "learning_rate": 0.1,
          "batch_size": 8,
          "momentum": 0.9,
          "weight_decay": 0.0
        },
        "passed": true,
        "epochs": 2,
        "batch_sizes": [
          8,
          8,
          3
        ],
        "complete_replay_byte_repeatable": true,
        "predictions_match_independent_eager": true,
        "saved_core_activation_storages": 1,
        "saved_core_activation_bytes": 984,
        "saved_parameter_references": 2
      },
      {
        "depth": 2,
        "config": {
          "depth": 2,
          "alpha": 0.5,
          "seed": 781,
          "epochs": 2,
          "learning_rate": 0.1,
          "batch_size": 8,
          "momentum": 0.9,
          "weight_decay": 0.0
        },
        "passed": true,
        "epochs": 2,
        "batch_sizes": [
          8,
          8,
          3
        ],
        "complete_replay_byte_repeatable": true,
        "predictions_match_independent_eager": true,
        "saved_core_activation_storages": 1,
        "saved_core_activation_bytes": 984,
        "saved_parameter_references": 4
      }
    ],
    "scope": "Both depths; every gradient, parameter update and momentum state versus independent ordinary eager autograd/SGD, complete captured scores and exact replay-reset checks. Test uses only generated synthetic data.",
    "cache_runtime": {
      "cublas_workspace_config": ":16:8",
      "configured_before_cuda_initialization": true,
      "frozen_learner_sha256": "c395a8b7bc2951e3fdab5c5f5edf5ad2d5357de4e9170e52b988f4312e7169c5",
      "wrapper_sha256": "98fedf67ef167aa76eba7cb5669e1c404e0734b58b855e80ba04bd932c30c40f",
      "scope": "Library workspace configuration only; original architecture, seeds, normalization, permutations, optimizer and training procedure."
    }
  },
  "api_cli_smoke": {
    "passed": true,
    "train_examples": 19,
    "query_examples": 7,
    "batch_sizes": [
      8,
      8,
      3
    ],
    "predictions_equal": true,
    "final_parameters_equal": true,
    "final_velocity_equal": true,
    "scores_equal": true,
    "repeated_api_replay_byte_equal": true,
    "query_label_archive_rejected": true,
    "late_cuda_initialization_rejected": true,
    "config": {
      "alpha": 0.5,
      "batch_size": 8,
      "momentum": 0.9,
      "weight_decay": 0.0,
      "seed": 11,
      "depth": 2,
      "epochs": 2,
      "learning_rate": 0.1
    },
    "metadata": {
      "config": {
        "depth": 2,
        "alpha": 0.5,
        "seed": 11,
        "epochs": 2,
        "learning_rate": 0.1,
        "batch_size": 8,
        "momentum": 0.9,
        "weight_decay": 0.0
      },
      "parameter_count": 7554,
      "train_count": 19,
      "test_count": 7,
      "fresh_initialization_per_run": true,
      "checkpoint_loaded": false,
      "normalization": "4*x-0.5 then append one zero coordinate",
      "initialization": "branch normal(0,0.05/sqrt(41)); standard torch Linear head; seed-only",
      "optimizer": "SGD momentum; zero initial velocity; gradient mean cross entropy",
      "shuffle": "independent PCG64 permutation each epoch, seed-only",
      "augmentation": "none",
      "input_hashes": {
        "train_images": "6f7857a5ab4f5906449dc5e0a77169cdd278ec6467f7c719c0674bf30fe92320",
        "train_labels": "35864d3ab5f96c46765a769b204fea92d262c22ff03400891a966d6856cc439b",
        "test_images": "9aded67e5b6dd91ed2f719a5e21567e9490b73149d222748786b82adbb763814"
      },
      "epoch_permutation_sha256": [
        "b239ea133199776c85c1b5d0d50d72c764c25ab003d72d4eb8fc1b02f30e1760",
        "6a3ed395ba80879cb44f13e214a3a0fd4addb0dd340eb9057e4944bba5490aad"
      ],
      "initial_parameter_sha256": {
        "weights.0": "194490b683f6426b65457a6725f0646768f8d46a361d9b125cfc768ab614f8fb",
        "weights.1": "bcbcbf732d68415f6c7c393c31343810467d8a86951e70237f6c36712785dd02",
        "weights.2": "60acda6b3f2f888c9f70f9c2d0ebb53e66d3deb3e1ba760160b87d76f0a92b98",
        "weights.3": "16f24aea0689177ce23b7d09de49339a0fa0a0ba75753a10a85ed850a7083cc8",
        "head.weight": "39bc6f6f4720618f6da778924cc306b6f5a0865d4042c58771d4c93cb573b512",
        "head.bias": "5ce9e9fee433d39fa1edf54bebdd7bf9e6686a86a38b65c7862577d8faf1379d"
      },
      "final_parameter_sha256": {
        "weights.0": "5af7ad8626c3526f336a4858fdd491f95fb313962eb5d5adc97d95a053190a98",
        "weights.1": "1dd5de76ebd502455588adabb0e7d826e748003534faf788b4ab615456ba3997",
        "weights.2": "6e20eb168fba5e6bcd0dd67df513f10cad7e274f4baa562a375533bd7ae0c04f",
        "weights.3": "bddfa861b3107118ec3405b592f38221e70d9e2b237251e9b022f6cb54403b24",
        "head.weight": "da5aa66e9d69fd49c27c4bce015bb3c154069c2bb23da316828de6e5543bb7bd",
        "head.bias": "56a2175b2e7858df286ced613fe83b810f38ee43243d8adb89689dab413bc313"
      },
      "final_velocity_sha256": {
        "weights.0": "78eb643f40786bb2fc2c821977fe8f245f223be1d34c12272e8d73f5f2a5a835",
        "weights.1": "c4e84e746e14b71df62a2f0161cfd4911acbd4eeaf76b4b492ce93076ecdf67c",
        "weights.2": "564cbfad9913364383ac715268a08f8df07b01b19820fc43203fccab89bb55e9",
        "weights.3": "878697677ba2acfec7482a48c7cde0236b8a1c7f1743f951a50c805f515d7a02",
        "head.weight": "6ce16a5df76abf757bcfb08a08fbe6c8905eebe482281aa732496709053d7c43",
        "head.bias": "9055e3a8111319e8faaef3b6a613260894349187ba089f2ee496f03c8b9d6ba5"
      },
      "state_vector_sha256": "40643d8c3f735fd42b7bf281994cf8097cc34a89dc6f24716136c732fa42bdf7",
      "predictions_sha256": "d26d5950aa69714ade2a42d92aaa14bec670b97d127a78663f389f4566f8d4e6",
      "scores_sha256": "bc3f71c10ae0befa2263a490f668e32ba4b955bbd337d61ad2337a386b8905ba",
      "preparation_seconds": 0.46710023300000003,
      "run_count": 1,
      "validation": {
        "passed": true,
        "device": "cpu",
        "checks": [
          {
            "dtype": "torch.float64",
            "depth": 1,
            "passed": true,
            "forward_bitwise_equal": true,
            "maximum_gradient_abs_error": 1.3877787807814457e-17,
            "inverse_max_abs_error": 2.220446049250313e-16,
            "saved_activation_storages": 1,
            "saved_activation_bytes": 1968,
            "saved_parameter_references": 2
          },
          {
            "dtype": "torch.float64",
            "depth": 2,
            "passed": true,
            "forward_bitwise_equal": true,
            "maximum_gradient_abs_error": 1.3877787807814457e-17,
            "inverse_max_abs_error": 4.440892098500626e-16,
            "saved_activation_storages": 1,
            "saved_activation_bytes": 1968,
            "saved_parameter_references": 4
          },
          {
            "dtype": "torch.float32",
            "depth": 1,
            "passed": true,
            "forward_bitwise_equal": true,
            "maximum_gradient_abs_error": 0.0,
            "inverse_max_abs_error": 2.9802322387695312e-08,
            "saved_activation_storages": 1,
            "saved_activation_bytes": 984,
            "saved_parameter_references": 2
          },
          {
            "dtype": "torch.float32",
            "depth": 2,
            "passed": true,
            "forward_bitwise_equal": true,
            "maximum_gradient_abs_error": 1.4901161193847656e-08,
            "inverse_max_abs_error": 2.384185791015625e-07,
            "saved_activation_storages": 1,
            "saved_activation_bytes": 984,
            "saved_parameter_references": 4
          }
        ],
        "scope": "Identical weights; ordinary autograd versus custom reconstruction for inputs and every parameter. First-order differentiation only."
      },
      "reversible_core": true,
      "retained_core_states": 1,
      "core_saved_bytes_per_example": 328,
      "head_reversible": false,
      "input_lift_injective": true,
      "timing_scope": "run resets weights/gradients/momentum, normalizes raw train and query pixels, copies resident epoch permutations, trains and predicts. Excludes setup, CPU permutation generation, allocation, transfer, capture and diagnostics.",
      "cache_runtime": {
        "cublas_workspace_config": ":16:8",
        "configured_before_cuda_initialization": true,
        "frozen_learner_sha256": "c395a8b7bc2951e3fdab5c5f5edf5ad2d5357de4e9170e52b988f4312e7169c5",
        "wrapper_sha256": "98fedf67ef167aa76eba7cb5669e1c404e0734b58b855e80ba04bd932c30c40f",
        "scope": "Library workspace configuration only; original architecture, seeds, normalization, permutations, optimizer and training procedure."
      }
    }
  },
  "source_sha256": {
    "learner.py": "c395a8b7bc2951e3fdab5c5f5edf5ad2d5357de4e9170e52b988f4312e7169c5",
    "cache_runtime.py": "98fedf67ef167aa76eba7cb5669e1c404e0734b58b855e80ba04bd932c30c40f"
  },
  "runner_sha256": "4e288e723a0c9b8e2015d7bf337290de9a221fa0f59f98d5184d78a32465386f",
  "execution": {
    "app_id": "ap-kjVIow6HkClfG1hTlMYsQk",
    "max_gpu_workers": 1,
    "worker_finished": true,
    "lifecycle": "Ephemeral Modal run; CLI exit stops this validation app.",
    "shutdown_verified_at_utc": "2026-09-14T23:58:58.197032+00:00",
    "all_validation_apps_stopped_zero_tasks": true,
    "app_listing_records": [
      {
        "app_id": "ap-kjVIow6HkClfG1hTlMYsQk",
        "description": "sutro-rev88-cache-runtime-validation-20260914",
        "state": "stopped",
        "tasks": "0",
        "created_at": "2026-09-14 16:58:12-07:00",
        "stopped_at": "2026-09-14 16:58:34-07:00"
      },
      {
        "app_id": "ap-jPIWKFdqvAhMvzSA42FoE0",
        "description": "sutro-rev88-cache-runtime-validation-20260914",
        "state": "stopped",
        "tasks": "0",
        "created_at": "2026-09-14 16:57:28-07:00",
        "stopped_at": "2026-09-14 16:57:55-07:00"
      }
    ],
    "prior_attempt": {
      "app_id": "ap-jPIWKFdqvAhMvzSA42FoE0",
      "status": "GPU checks returned but local result deserialization failed; runner torch version field converted to plain string before rerun"
    },
    "concurrency": "At most one worker in either validation app; attempts ran sequentially. No profiling app was modified or stopped."
  }
}
