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
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
The previous Apps imports retain explicit compatibility exports. New optimization
plans fingerprint the canonical implementation; existing frozen sessions must use
their original pinned runtime for `status` and `recover`. See
[release-boundary recovery](docs/optimization-workflow-unification.md#release-boundary-recovery).
[release-boundary recovery](docs/guides/optimization-workflow-unification.md#release-boundary-recovery).
- The host bindings move from `inferrsi.infra` to the new `inferrsi.apps.host`
package (Refs #498, slice 3a). There is no forwarding module or alias, and the
import gate fails any import of an old path.
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ select its backend (`cpu`, `cuda`, `rocm`, `ascend`, or `mlx`).

**🤖 Use a coding agent.** Install the plugin and ask it to check the target
checkout, workload, and quality criteria before starting an experiment.
[Codex](docs/codex-plugin.md#install-from-the-release-zip) · [DeepSeek Harness](docs/dsh-plugin.md) · [WorkSwarm](docs/workswarm-plugin.md#download-and-install)
[Codex](docs/guides/plugins/codex-plugin.md#install-from-the-release-zip) · [DeepSeek Harness](docs/guides/plugins/dsh-plugin.md) · [WorkSwarm](docs/guides/plugins/workswarm-plugin.md#download-and-install)

**🧪 Run your first experiment.** [Try a packaged benchmark](docs/optimization-benchmarks.md#start-the-complete-workflow) · [Bring your own workload](docs/quickstart.md#real-remote-experiment)
**🧪 Run your first experiment.** [Try a packaged benchmark](docs/benchmarks/optimization-benchmarks.md#start-the-complete-workflow) · [Bring your own workload](docs/quickstart.md#real-remote-experiment)

<a id="architecture"></a>

Expand All @@ -57,15 +57,15 @@ change. A fresh process retests the best candidate at the end of the campaign.
knowledge on and off to measure whether access to the library helps the agent.
Reviewed PRs add findings to the library for agents to consult in later
campaigns.
[Knowledge comparison](docs/benchmark-comparison.md)
[Knowledge comparison](docs/benchmarks/benchmark-comparison.md)

- **Knowledge** supplies source-linked skills, prior measurements, and implementation notes for the agent to consult.
- **Harness** freezes the experiment inputs and gates, runs the rounds, and records the verdict and evidence.
- **Benchmark** supplies packaged tasks, measurements, and acceptance rules. Project campaigns supply their own workload and checks.

**Apps** assembles these capabilities into the CLI, client integrations, and
result views.
[Module responsibilities](docs/architecture.md#module-responsibilities-and-dependencies) · [Workflow diagram](docs/optimization-workflow-unification.md#时序图) · [Architecture decision #362](https://github.com/InferMatrixLab/InferRSI/issues/362#issuecomment-6722325612) · [Apps migration #371](https://github.com/InferMatrixLab/InferRSI/issues/371)
[Module responsibilities](docs/architecture.md#module-responsibilities-and-dependencies) · [Workflow diagram](docs/guides/optimization-workflow-unification.md#时序图) · [Architecture decision #362](https://github.com/InferMatrixLab/InferRSI/issues/362#issuecomment-6722325612) · [Apps migration #371](https://github.com/InferMatrixLab/InferRSI/issues/371)

**Review a run in the dashboard.** Compare baseline and candidate profiles and
trace each experiment back to its evidence. From the recorded run directory,
Expand Down Expand Up @@ -122,7 +122,7 @@ listed baseline. The evidence column gives the scope and validation status.
| **MiniMax-H3 Ref2VA** | **−76.3%**<br>Baseline: In-run dense control · 701.95 s | 5 s video, 50-step denoising time · 4× Ascend 950PR | **🔥 4.22×** in five retained A/B slots. ⚠️ Historical; performance and quality inconclusive. [Archive record](https://github.com/InferMatrixLab/InferRSI/issues/520) · [Recipe benchmark](https://github.com/vllm-project/vllm-omni/pull/9955#:~:text=in%2Drun%20dense%20median) |
| **MiniMax-H3-Image** | **−60.16%**<br>Baseline: Original layer offload · 36.62 s | Warm HTTP latency · 2× RTX 3090 | One paired comparison; ✅ 9 pixel-identical outputs. [Upstream results](https://github.com/vllm-project/vllm-omni/pull/10243#:~:text=One%20paired%20deployment%20comparison) |
| **MiniMax-H3-Image** | **−35.9% / −36.1%**<br>Baseline: Same-layout SP4 control · 16.89 / 4.18 s | HTTP generation latency at 4736×3552 / 1024×1024 · 4× Ascend 910B1 | ✅ 30 / 30 numerical checks passed. Latency targets unmet. [Benchmark](https://github.com/InferMatrixLab/InferRSI/pull/394) |
| **Qwen-Image-2.1-Turbo** | **−30.60%**<br>Baseline: Pinned control · 384.16 ms | Warm HTTP latency · 4× B300 | ✅ 44 pixel-identical outputs. [InferRSI results](docs/qwen-image-2.1-turbo-b300.md) |
| **Qwen-Image-2.1-Turbo** | **−30.60%**<br>Baseline: Pinned control · 384.16 ms | Warm HTTP latency · 4× B300 | ✅ 44 pixel-identical outputs. [InferRSI results](docs/field-notes/qwen-image-2.1-turbo-b300.md) |
| **Qwen-Image-2.1-Turbo** | **−22.20%**<br>Baseline: Upstream parent · 2,921.23 ms | Warm offline generation latency · 1× Ascend 910B1 | ⚠️ Upstream reference; 18 pixel-identical outputs. Teardown inconclusive. [Upstream results](https://github.com/vllm-project/vllm-omni/pull/8729#:~:text=Final%2Dmerge%20performance%20and%20image%20comparison) |

<a id="speech-and-multimodal-serving"></a>
Expand Down Expand Up @@ -154,7 +154,7 @@ request per engine and measure audio frames per second and median time to first
| **Drama 3** | **+58% / −31%**<br>Baseline: vLLM-Omni · 195.89 frames/s / 47.29 ms | Audio throughput / time to first audio · 1× B300 | Three-run medians; overall target unmet. [Same-card benchmark](https://github.com/InferMatrixLab/drama-3-single-b300-engine/blob/58a1882a4d941f8d21bfce6be37d3d5e7c9fde80/docs/current-results.md) |
| **h3-metal** | **−59%**<br>Baseline: h3.c · 73.3 s | Warm video generation latency · Apple M5 Max | Both engines used the original MiniMax-H3 at 20 steps. [Author benchmark](https://github.com/zuiho-kai/h3-metal/blob/53b7fa5d88e2497ab427ab9c7155535f7e6e6817/README.md#performance) |

[Run your first experiment](#quickstart) · [Benchmark details and historical records](docs/optimization-results.md) · [vLLM-Omni model optimization roadmap](https://github.com/InferMatrixLab/InferRSI/issues/416)
[Run your first experiment](#quickstart) · [Benchmark details and historical records](docs/benchmarks/optimization-results.md) · [vLLM-Omni model optimization roadmap](https://github.com/InferMatrixLab/InferRSI/issues/416)

<a id="docs"></a>

Expand All @@ -165,8 +165,8 @@ request per engine and measure audio frames per second and median time to first
Browse the [documentation index](docs/README.md) for setup, workflows, benchmarks,
knowledge, architecture and field notes.

- [CLI and Python operations](docs/operations.md) · [YAML task file](docs/task-input.md) · [Result delivery](docs/result-delivery.md)
- [Skill library](src/inferrsi/knowledge/data/skill_library/README.md) · [CANNbot](docs/external-channels.md#setting-one-up) · [MindIE](docs/codex-plugin.md#enable-and-revoke)
- [CLI and Python operations](docs/operations.md) · [YAML task file](docs/guides/task-input.md) · [Result delivery](docs/guides/result-delivery.md)
- [Skill library](src/inferrsi/knowledge/data/skill_library/README.md) · [CANNbot](docs/guides/knowledge/external-channels.md#setting-one-up) · [MindIE](docs/guides/plugins/codex-plugin.md#enable-and-revoke)
- [Architecture](docs/architecture.md) · [Standalone engine template](docs/template/README.md) · [Changelog](CHANGELOG.md)

<a id="contributing"></a>
Expand Down
67 changes: 8 additions & 59 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,61 +1,10 @@
# InferRSI documentation

Start with [Quickstart](quickstart.md) for a first run or the
[operation guide](operations.md) to find a CLI command or Python entry point.

## Install and connect an agent

- [Codex](codex-plugin.md), [DeepSeek Harness](dsh-plugin.md) and [WorkSwarm](workswarm-plugin.md) plugin guides
- [Release channels and installation](releases.md), [release notes](release-notes/) and [changelog](../CHANGELOG.md)

## Run an optimization and review its results

- [YAML task input](task-input.md) and the [shared RSI optimization workflow](optimization-workflow-unification.md)
- [Ordinary project campaigns with service reuse](service-reuse-campaigns.md) and [packaged task optimization](optimization-benchmarks.md)
- [Fresh native Agent sessions](native-agent-sessions.md) and [offline goal checkpoints](goal-checkpoints.md)
- [Dashboard](dashboard.md), [experiment curves and evidence events](dashboard/dashboard-experiments.md) and [external optimization records](dashboard/dashboard-external-records.md)
- Dashboard examples for [profile review](examples/dashboard-profile-review.html) and [experiment curves](examples/dashboard-experiments.html)
- [Result delivery](result-delivery.md), [campaign summary charts](campaign-summary-chart.md) and [evidence archiving](evidence-archiving.md)

## Benchmarks and results

- [Engineering task library](benchmarks/engineering-benchmarks.md) and [benchmark metrics](benchmarks/benchmark-metrics.md)
- Task protocols for [MoE forward](benchmarks/moe-forward-benchmark.md), [Qwen-Image denoising](benchmarks/qwen21-denoise-benchmark.md) and [Qwen3-TTS](benchmarks/tts-benchmark.md)
- [Measure the effect of knowledge on optimization](benchmark-comparison.md) and [browse recorded optimization results](optimization-results.md)
- [Offline Flare evidence adapter](flare-qualification.md)

## Find, use and contribute knowledge

- [Knowledge layout and retrieval](knowledge-layout.md), [skill library](../src/inferrsi/knowledge/data/skill_library/README.md) and [knowledge base contract](knowledge-base.md)
- [Normalized reads and Collect](knowledge-operations.md), [retrieval traces](knowledge-retrieval-trace.md) and [external channels](external-channels.md)
- [Contribution workflow](knowledge-contribution-workflow.md), [admission policy](knowledge-model-policy.md) and [authorized candidate store](knowledge-store.md)
- [Reference Matrix](reference-matrix.md), [SearchSpace Matrix](searchspace-matrix.md) and [generated skill coverage](skill-coverage.md)

## Evaluate skills and harness changes

- [Bounded evaluation](skill-evaluation.md), [configured comparisons](skill-eval-comparison.md), [local engineering evidence](local-skill-evaluation.md) and [PR evaluation and feedback](skill-eval-pr.md)
- Spend and admission controls for [the cumulative budget](skill-evaluation/skill-eval-budget-core.md), [daily admission](skill-evaluation/skill-eval-daily-admission.md), [full-context runs](skill-evaluation/skill-eval-full-context.md), [Yibuapi preflight](skill-evaluation/skill-eval-yibuapi-preflight.md) and [incident quarantine](skill-evaluation/skill-eval-quarantine.md)
- Cloud artifact workflow for [generation only](skill-evaluation/skill-eval-generation-only.md), [reviewer-host qualification](skill-evaluation/skill-eval-reviewer-qualification.md) and [isolated replay](skill-evaluation/skill-eval-cloud-replay.md)
- [Offline harness improvement MVP](harness-improvement.md) and its [example summary](examples/harness-improvement/summary.json)

## Architecture and development

- [Module boundaries and architecture anchors](architecture.md), [module layout and migration](module-layout.md) and [versioned contracts, schemas and fixtures](contracts/)
- Module READMEs for [Apps](../src/inferrsi/apps/README.md), [Benchmark](../src/inferrsi/benchmark/README.md), [Harness](../src/inferrsi/harness/README.md) and [Knowledge](../src/inferrsi/knowledge/README.md)
- [Where module READMEs and designs belong](module-layout.md#module-documentation)
- [Saved-request evaluation CLI](apps-evaluate-cli.md) and [Apps output publication](apps-output.md)
- [Contributor guide](contributing.md), [human–agent collaboration](agent-collaboration.md) and [privacy and security](privacy-security.md)
- [Standalone engine template](template/)
- Migration inventories for [Apps modules](apps-module-migrations.json), [legacy knowledge](legacy-knowledge-manifest.json) and [skills](skill-layout-migration.csv)

## Field notes and historical records

- [Apple silicon playbook](field-notes/apple-silicon-playbook.md), [h3-metal lessons](field-notes/h3-metal-apple-silicon-lessons.md) and [exploratory Inkling 2 Mini runs](field-notes/inkling2-mini-apple-silicon.md)
- [Exploratory scheduling and KV lessons](field-notes/scheduling-rsi-lessons.md) and [retired synthetic CPU KV qualification](kv-reclamation-qualification.md)
- Qwen-Image-2.1-Turbo walkthroughs on [Ascend 910B1](qwen-image-2.1-turbo-ascend.md) and [B300](qwen-image-2.1-turbo-b300.md)
- [Drama-3 on Ascend 910B1](drama3-ascend-910b1.md) and [NPU readiness notes](drama3-npu-readiness.md)
- Skill evaluation records for [the historical generation pilot](skill-evaluation/skill-eval-historical-job.md) and [the Issue #215 deployment](skill-evaluation/skill-eval-deployment-215.md)
- [Source audits and reproductions](reviews/) and [campaign evidence](../evidence/)

Add general entry points to this index. Keep task-specific guides with their
topic and link to the owning procedure for shared commands or policy.
Open the entry for the task at hand and follow its links when you need a procedure or evidence.

- **First run or installation.** Start with the [quickstart](quickstart.md). Choose a [Codex](guides/plugins/codex-plugin.md), [DeepSeek Harness](guides/plugins/dsh-plugin.md) or [WorkSwarm](guides/plugins/workswarm-plugin.md) plugin. See [releases](release-notes/) for versions and channels.
- **Run an optimization.** The [operation guide](operations.md) maps commands to Python entry points. Use the [task input guide](guides/task-input.md) to define a workload, the [workflow](guides/optimization-workflow-unification.md) to run it and the [dashboard](dashboard.md) to inspect results. [Task guides](guides/)
- **Choose a benchmark or check a claim.** Start with [engineering benchmarks](benchmarks/engineering-benchmarks.md) or [recorded results](benchmarks/optimization-results.md). For skill changes, use [skill evaluation](skill-evaluation/) or the [PR evidence handoff](skill-eval-pr.md).
- **Find or contribute knowledge.** Start with [Find and Collect](knowledge-operations.md) or the [contribution guide](guides/knowledge/knowledge-contribution-workflow.md). The [Knowledge module](../src/inferrsi/knowledge/README.md) links to the library and its contracts.
- **Change the repository.** Read the [contributor guide](contributing.md) and [collaboration rules](agent-collaboration.md). [Architecture](architecture.md) records shared boundaries. [Module layout](module-layout.md#module-documentation) links to the four module READMEs. [Versioned contracts](contracts/) and the [engine template](template/) support implementation.
- **Trace a result.** [Field notes](field-notes/) describe specific workloads. [Source audits](reviews/) and [campaign evidence](../evidence/) retain their scope and provenance. Check the [privacy and security guide](privacy-security.md) before sharing artifacts.
26 changes: 13 additions & 13 deletions docs/apps-module-migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"publish_result"
],
"consumers": [
"docs/apps-output.md",
"docs/guides/apps-output.md",
"docs/architecture.md",
"docs/module-layout.md",
"docs/operations.md",
Expand Down Expand Up @@ -58,7 +58,7 @@
"AssessmentArtifacts"
],
"consumers": [
"docs/apps-output.md",
"docs/guides/apps-output.md",
"docs/architecture.md",
"docs/module-layout.md",
"docs/operations.md",
Expand Down Expand Up @@ -94,7 +94,7 @@
"validate_result"
],
"consumers": [
"docs/apps-output.md",
"docs/guides/apps-output.md",
"docs/architecture.md",
"docs/module-layout.md",
"docs/operations.md",
Expand All @@ -119,7 +119,7 @@
"ensure_evidence_layout"
],
"consumers": [
"docs/apps-output.md",
"docs/guides/apps-output.md",
"docs/architecture.md",
"docs/contracts/current-design.md",
"docs/module-layout.md",
Expand All @@ -145,7 +145,7 @@
"to_evidence"
],
"consumers": [
"docs/apps-output.md",
"docs/guides/apps-output.md",
"docs/architecture.md",
"docs/module-layout.md",
"docs/operations.md",
Expand Down Expand Up @@ -173,7 +173,7 @@
"ContextProvider"
],
"consumers": [
"docs/apps-output.md",
"docs/guides/apps-output.md",
"docs/architecture.md",
"docs/module-layout.md",
"docs/operations.md",
Expand All @@ -191,7 +191,7 @@
"CandidateProvider"
],
"consumers": [
"docs/apps-output.md",
"docs/guides/apps-output.md",
"docs/architecture.md",
"docs/module-layout.md",
"docs/operations.md",
Expand All @@ -212,10 +212,10 @@
],
"consumers": [
"docs/architecture.md",
"docs/knowledge-retrieval-trace.md",
"docs/guides/knowledge/knowledge-retrieval-trace.md",
"docs/module-layout.md",
"docs/operations.md",
"docs/optimization-workflow-unification.md",
"docs/guides/optimization-workflow-unification.md",
"src/inferrsi/apps/cli/__init__.py",
"src/inferrsi/apps/views/capture_delivery.py",
"src/inferrsi/apps/views/optimization_story.py",
Expand Down Expand Up @@ -266,7 +266,7 @@
],
"consumers": [
"docs/contracts/function-owners.md",
"docs/harness-improvement.md",
"docs/guides/harness-improvement.md",
"docs/module-layout.md",
"src/inferrsi/apps/workflows/search_benchmarks.py",
"tests/check_installed.py",
Expand All @@ -286,7 +286,7 @@
"consumers": [
"docs/contracts/function-owners.md",
"docs/module-layout.md",
"docs/skill-evaluation.md",
"docs/skill-evaluation/README.md",
"tests/check_installed.py",
"tests/apps/test_anthropic_agent.py",
"tests/apps/test_apps_module_migrations.py",
Expand All @@ -307,7 +307,7 @@
],
"consumers": [
"docs/contracts/function-owners.md",
"docs/local-skill-evaluation.md",
"docs/skill-evaluation/local-skill-evaluation.md",
"docs/module-layout.md",
"src/inferrsi/apps/workflows/skill_evaluation.py",
"tests/check_installed.py",
Expand Down Expand Up @@ -423,7 +423,7 @@
"exports": [],
"consumers": [
"docs/architecture.md",
"docs/external-channels.md",
"docs/guides/knowledge/external-channels.md",
"docs/module-layout.md",
"tests/check_installed.py",
"tests/apps/test_apps_module_migrations.py"
Expand Down
Loading
Loading