Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"schema_version": 1,
"repository": "https://github.com/InferMatrixLab/InferRSI",
"source_revision": "24314851a78367843961c9a3e049418b424fc4fc",
"source_revision": "dcf4d15c74e1187147014947a56b8852e5585e39",
"registry": {
"path": "src/inferrsi/knowledge/data/skill_library/skill-index.json",
"sha256": "d166789c9cf2cc4941671e1c281ad8a924f951805c6ee7c6314e7d307a1f644c"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -970,10 +970,11 @@
"references/papers-20261015/references/inferencebench.md": "21f47111197a0b7f8d6384ea918d139dc8318a62ca3313ce060048271f50b639",
"references/papers-20261015/references/prior-coverage.md": "35d47ac078591221fcb666219bcd824f9400fc17aafecdc0499d8336f7178238",
"references/papers-20261015/references/vidur.md": "d38602af5219f5feeb49e6cd6bf53d66098c77fad141dae676f1d8a6743cf25d",
"references/roofline-contract.md": "419ec4bcaec45ac579a133bce083d4f48779f26e664d7a86f720fa65f343b1d1",
"references/roofline-contract.md": "e3ca119fe895aa1f0911855cc7f03ebc1099be0d366f0ee75cd399d3a9da0ceb",
"references/roofline-example.json": "597cd3205df043cff3ae9d15924c77934e8d8eb300c00c4840f6bb2921f90faf",
"references/sm90-sm100-operator-sol.json": "eb71f9c350899124a17d7be26c96d1300371bc95fdc57b3bb79a48809644a497",
"references/xllm-pd-handoff.md": "66226190ab90cab2057cdd867714725a084396fa9ccaa87efab8b14ca021bd2a",
"scripts/roofline.py": "524de48a6764401695fe1444f1fa3d38f363069b0cd2fba4715a86ca4b28a5d4"
"scripts/roofline.py": "bf64167a3d004cbd4d79e4fa9ea9b853f80e7d9b44628793a07fdeeeeade8923"
}
},
"plan-activation-residency": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ conversion, normalization or hardware-name lookup.
| Each `source` | Nonempty `kind`, `locator`; nonempty `revision` or lowercase 64-hex `sha256`; caller-supplied `recorded_at` text, or `time_unknown_reason` |

Supported dtype spellings are `float64`, `float32`, `tf32`, `float16`, `bfloat16`,
`float8_e4m3fn`, `float8_e5m2`. This list does not certify hardware support.
`float8_e4m3fn`, `float8_e5m2`, `float4_e2m1fn`. This list does not certify
hardware support.
`op_class` is exactly one of `scalar`, `vector`, `matrix`. `sparsity` is an
explicit condition string such as `dense` or `2:4`; no speed multiplier follows
from it. `fma_flops` is 1 or 2, matching the supplied count/rate convention; the
Expand Down Expand Up @@ -127,3 +128,37 @@ search_plan:
This is a row-4 excerpt; preserve all other required plan fields. The helper does
not create the attachment, modify the plan or freeze/accept goals. Frozen rows,
RunSpec, validators, historical records and goal-owner authority are unchanged.

## Comparing a bound operator runtime (`operator_sol_gap`)

Call `operator_sol_gap(workload, hardware, observation)` to compare one isolated
operator runtime against the conditional floor returned by `analyze(workload, hardware)`:

- `observation` must carry exact string matches for `workload_id`, `hardware_id`,
`resource_scope` and `boundary` against `workload`, plus `runtime`:
`{value, unit: "s", source}` where `source.kind` is `measured` or `synthetic`,
and an optional nonempty `label`.
- Missing or mismatched binding fields (for example, pairing a B200 runtime with
an H200 workload) yield `analysis_status = "INSUFFICIENT_EVIDENCE"` with null
comparison metrics (`sol_utilization_ratio`, `runtime_gap_s`,
`removable_headroom_ratio`, `exceeds_conditional_floor`,
`achieved_compute_flop_per_s`, `achieved_bandwidth_byte_per_s`).
- When all workload, hardware and observation evidence is compatible, the helper
applies a single conditional-floor comparison (flag, never clamp):
`sol_utilization_ratio = conditional_runtime_floor_s / observed_runtime_s`,
`runtime_gap_s = observed_runtime_s - conditional_runtime_floor_s`,
`removable_headroom_ratio`, `achieved_compute_flop_per_s` and
`achieved_bandwidth_byte_per_s`.
- If `observed_runtime_s < conditional_runtime_floor_s`, the helper preserves
the unclamped `sol_utilization_ratio > 1`, sets
`exceeds_conditional_floor = true`, sets `removable_headroom_ratio = 0.0`, and
emits a re-audit flag naming work/traffic counts, sustained clock, cache
residency or algorithmic equivalence. No numeric gate or validator rejection
is emitted.

[sm90-sm100-operator-sol.json](sm90-sm100-operator-sol.json) provides four
analytical SM90 (H200-SXM) and SM100 (B200-SXM) fused-operator examples with
published datasheet references and synthetic observation fixtures (FP8 GEMM,
fused RMSNorm+FP8 quant, and NVFP4 `float4_e2m1fn` decode GEMV). These figures
are analytical references only—never repository-wide hardware defaults—and
establish no measured kernel or service speedup.
Loading
Loading