Skip to main content

Contribute & Extend

Choose the smallest current ownership boundary that matches the change.

GoalExtension point
Add support for a checkpoint familyAdd a Model Family: add one complete families/<family>/ vertical slice.
Add behavior to an existing familyEdit that family's model.py, runtime/, and family-owned tests. There is no separate runtime-strategy registry.
Add a stable user-visible taskExtend core/runtime/include/trtmc/task.h only when no existing Task interface can express it, then implement it inside the owning family.
Add a family-only build optionKeep it inside that family when it can be derived from checkpoint identity, task, or existing request fields.
Add a truly model-agnostic build/load optionFollow Configuration Boundaries and change the narrow shared request or Task contract with broad tests.
Add complete-network platform offloadFollow Platform-Specific Runtime; keep model policy in the family and avoid a central provider/fallback system.
Bind a custom kernelUse the public TVM-FFI BYOK graph-transform and runtime binding contracts.
Add a benchmark or hardware exampleImplement an application under apps/benchmark/ or examples/ over public APIs.

Cost by kind of change

ChangeExpected ownership
Another exact checkpoint with the same family contractFamily support.py, manifests, and focused evidence.
New weight/config variantFamily builder and tests; runtime only when sections or Task behavior change.
New graph semanticsFamily-local TensorRT graph and weight mapping plus parity evidence.
New runtime state or operationFamily runtime implementation plus C++ and E2E tests.
New reusable Task contractNarrow shared header change, at least one family implementation, CLI/application coverage, and broad validation.
New shared mechanismModel-agnostic core only, with proof that it contains no topology, policy, or family behavior.

Similar implementations do not justify a cross-family abstraction. Each team must be able to implement, validate, change, and revert its family without editing or coordinating with siblings.

Contributor path

  1. Read Contributing.
  2. Follow the guide for the owning extension point.
  3. Use Validate a Model Contribution for family changes.
  4. Record exact source, checkpoint, hardware, commands, and retained evidence in the pull request.

The Architecture Overview explains the current units. Restored context documents and migration worklogs are historical records, not current contributor runbooks.