Skip to content

v0.77.0: feat(inventory): check saved selectors and reported memory baseline

Choose a tag to compare

@Sahil170595 Sahil170595 released this 29 Oct 03:17
3e0d3c9

Releases PR #133 individually as chimeraforge 0.77.0.

Queried inventory and saved memory arithmetic

  • inventory-check and typed async api.check_inventory retain every original ordered replica/TP/PP selector, resolve one strict bounded NVIDIA inventory observation, and compare each reported free-memory value with the saved per-GPU modeled batch-one baseline. The exact rounding interval is independent of caller Decimal settings; it bounds serialization rounding, not model error or runtime demand.
  • Complete known selector absence or baseline shortfall returns 5; unavailable, malformed, duplicate or incomplete observations return 4. Invalid source/options/selection return 1 before contact. Unsupported valid saved fidelity/basis retains all slots with unknown evidence without probing or reconstructing a model.
  • Owned native launch, bounded stdout/stderr readers and cleanup survive cancellation, including pending launch and repeated cancellation. MIG Enabled, Disabled and N/A remain raw diagnostics with identical arithmetic treatment. Every receipt keeps deployment_ready: null; no physical independence, summed capacity, allocation or runtime-peak claim is made.
  • Installed wheel and rebuilt-sdist consumers exercise complete CLI/API protocol controls and hosted CPU unavailability while preserving original plan bytes. Synthetic process fixtures qualify the contract only, not GPU execution.
  • Make the fleet-monitor final-deadline regression fixture deterministic by expiring the real shared budget after the sixth completed native metadata result. A removed-final-guard negative control fails with exit 0; production deadline behavior is unchanged. This repairs a demonstrated scheduling assumption in the old 60 ms fixture.

Monitoring runtime reliability

  • Measure fleet metrics-completion intervals with the native high-resolution monotonic performance counter, preserving the separate event-loop clocks for scheduling, observation budgets and cleanup. Valid short windows no longer collapse to zero on coarse Windows event-loop clocks.
  • Own and join serving-metadata observation tasks with native asyncio.wait, preserving categorical timeout/error results while propagating accepted cancellation before exposing a completed result. Repeated caller cancellation cannot abandon child cleanup; this addresses the demonstrated Python 3.10 wait_for completion/cancellation race.

Exact-head validation passed before the protected merge. Publishing requalifies and attests the exact merged wheel and sdist; public artifact and provenance verification is tracked separately.