{
  "status": "source_inventory_verified_not_runtime_byte_counter",
  "sources": [
    {
      "path": "/data/zhoutaichang/feature/Lingbot_world_realtime/runs/async_vae_usp4_spatial4_20260908/measured/D_r0/async_vae_spatial_worker.py",
      "sha256": "c0d863bdd20ae55596048b327f612cd70d33568e6e7077781b6de3d4bb4556e8"
    },
    {
      "path": "/data/zhoutaichang/feature/Lingbot_world_realtime/runs/async_vae_usp4_spatial4_20260908/measured/D_r0/async_vae_spatial_lingbot.py",
      "sha256": "3f527395e30fa5db12eb4bc42e234906cbed5a2cf38ca646ac840d9ed8ba28b4"
    }
  ],
  "rows": [
    {
      "stage": "GPU decode output",
      "producer": "four-rank spatial VAE decode/gather",
      "consumer": "rank0 quantization",
      "dtype_layout": "float32 BCTHW",
      "measurement": "source plus saved model/operator evidence; full float capture currently queued"
    },
    {
      "stage": "GPU quantization",
      "producer": "rank0 add/multiply/round/clamp/cast",
      "consumer": "CPU copy",
      "dtype_layout": "uint8 BCTHW",
      "measurement": "existing uint8 path, no channel permutation in this expression"
    },
    {
      "stage": "D2H",
      "producer": "uint8 CUDA tensor .cpu()",
      "consumer": "worker CPU tensor",
      "dtype_layout": "uint8 BCTHW",
      "measurement": "CPU-ready timestamp follows synchronous .cpu(); logical bytes are not profiler-measured traffic"
    },
    {
      "stage": "hash preparation",
      "producer": "cpu.numpy().tobytes()",
      "consumer": "SHA256",
      "dtype_layout": "Python byte string",
      "measurement": "source includes byte-string construction after ready timestamp; no measured allocation count attributed here"
    },
    {
      "stage": "worker-to-parent IPC",
      "producer": "conn.send metadata dict",
      "consumer": "collect_decode/receive",
      "dtype_layout": "chunk index, shape, timestamps, SHA256, status and memory statistics",
      "measurement": "decoded pixel tensor is not included in this response"
    },
    {
      "stage": "encoding/client delivery",
      "producer": null,
      "consumer": null,
      "dtype_layout": null,
      "measurement": "not executed in frozen Case D; media payload IPC, encoding and client-ready boundary remain unmeasured"
    }
  ],
  "logical_sizes": [
    {
      "height": 480,
      "width": 832,
      "frames": 9,
      "elements": 10782720,
      "float32_bytes": 43130880,
      "uint8_bytes": 10782720
    },
    {
      "height": 480,
      "width": 832,
      "frames": 12,
      "elements": 14376960,
      "float32_bytes": 57507840,
      "uint8_bytes": 14376960
    },
    {
      "height": 704,
      "width": 1280,
      "frames": 9,
      "elements": 24330240,
      "float32_bytes": 97320960,
      "uint8_bytes": 24330240
    },
    {
      "height": 704,
      "width": 1280,
      "frames": 12,
      "elements": 32440320,
      "float32_bytes": 129761280,
      "uint8_bytes": 32440320
    }
  ],
  "scope": "Source contract and nominal tensor sizes. Does not establish measured CPU allocations, PCIe traffic, pixel IPC delivery, encoder throughput, or end-to-end service SLA."
}
