Skip to content

engine N7: unify opt-in weight-arena page choices and load reporting #20

Open

Description

@n0rpan

Parent #17; owner O389; source specification: oxstack/oxa#35 comment oxstack/oxa#35 (comment). DeepSeek-on-Go helper task, independently scoped. Tracking milestone v0.2.2, label after-0.2.1; no v0.2.1 implementation. This filing authorizes no implementation, defaults change, device access or measurement. Recheck current main and coordinate owned files before starting. Source inspection used main 69a81515ad3ce39dbf048112fd0cfad476f4b73f; no compilation or runtime claim.

Files and contract

engine/crates/model/src/weights.rs: Backing::{File,Anon}, LoadOptions::thp_collapse, LoadInfo and mapping/load paths; engine/crates/oxe-cli/src/bin/oxe.rs already exposes --weights file|anon, --thp-collapse. This is weight backing, distinct from V-cache #14 and oxstack/ox-llm#882; do not edit their policy or admission budgets.

Smallest scope

Expose the existing file/no-collapse, file/collapse and anonymous-THP experiment choices through one documented selection, retaining current file/no-collapse default and compatibility of existing flags or rejecting conflicts clearly. Report requested backing/advice separately from observed huge-page coverage and unavailable observation. A successful madvise is not proof of huge-page allocation. Preserve cache identity/checksums, permissions, atomic publication and source mapping lifetimes; no cache migration or cleanup. Use existing libc/serde reporting.

Hosted acceptance

Tiny synthetic arena/cache fixtures exercise valid/conflicting options, unchanged default, file and anonymous contents and checksum/refusal paths. Assert byte/state identity independent of page choice. Fixture smaps/report parsing distinguishes requested/observed/unknown with byte units. Never require host THP policy or actual huge-page allocation for a pass.

Release gate

Tracking v0.2.2; implementation/owner A/B proposed v0.2.3. Model/memory owner source review and identity gates required. Later pre-registered owner row records decode, RSS, load time and headroom; no default flip from unmeasured expectations and no changes to #14/#882.

Acceptance runs in GitHub-hosted CI only, isolated HOME/XDG, synthetic/model-free fixtures and loopback mocks; no keys, provider calls, downloads or installed changes. Keep existing scanners, security checks, numerical flags, memory admission and required CI policy intact. One small PR with exact head and terminal CI receipts; no author merge. Hardware validation is a separate owner-authorized batch; helpers never access the laptop. Engine/kernel/model/scheduler hard changes require orchestrator source review and pre-registered identity/threshold gates.

Activity

  1. n0rpan commented on Nov 19, 2026

    @n0rpan
    ContributorAuthor

    Triage 2026-11-19: this issue is now tracked in #28 (Cluster: Engine performance and hardware, priority P2), planned PR 2: "Hardware report and selectors". It will be fixed there together with its related issues, not one by one.

  2. transferred this issue fromon Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions