Skip to content

Integrate the DFlash7 artifact with draft-loader separation - #136

Closed
FujitsuPolycom wants to merge 3 commits into
codex/dflash-draft-load-configfrom
codex/glm53-dflash7-draft-loader-integration
Closed

Integrate the DFlash7 artifact with draft-loader separation#136
FujitsuPolycom wants to merge 3 commits into
codex/dflash-draft-load-configfrom
codex/glm53-dflash7-draft-loader-integration

Conversation

@FujitsuPolycom

Copy link
Copy Markdown
Owner

Result

Stacks the exact DFlash7 image and TP4 profile artifacts on the DFlash draft-loader patch.

The DFlash7 image preparation carries the exact patch SHA-256 and installed postimage through pins, source-context receipts, the rendered Containerfile, OCI labels, and composed-runtime verification. Image metadata identifies external DFlash7 and does not claim adaptive MTP.

Loader profiles

  • Mixed loader: global target fastsafetensors queue one plus an explicit speculative draft load configuration selecting safetensors.
  • Conservative loader: global safetensors for target and draft.

Both profiles are implemented but unqualified until an immutable image passes four-rank target and draft loading, semantic generation, draft counters, SparkCache store and restore, CUDA restore, failure recovery, concurrency, and peak-memory gates.

Compatibility

Target and draft checkpoint identities, DFlash depth seven, draft TP4, FP8 target KV, 32 sequences, 256-token blocks, page-tail publication, cache wire values, digest salts, and logical geometry are unchanged. Loader variants share model-state identity but use separate qualification roots and clear tokens.

Validation

  • 29 focused GPU-free tests passed.
  • Exact prepared context recorded and reverified one DFlash loader patch, 31 vLLM overlay files, and DFlash7 image labels.
  • Maintained suite: 1,964 passed, 9 skipped, one unrelated stacked-base README assertion failed.
  • Ruff, Python compilation, JSON parsing, Bash syntax, diff, and prose checks passed.

No image was built or published, and no service was modified.

Construct a DFlash7-labelled image from the shared 31-file vLLM Python overlay while retaining da4d7be native extensions, B12X b1d541f, and SparkCache reconstructed-page placement at 5d571018. Prepared receipts name the external DFlash7 workload and preserve exact source, native, CUDA placement, patch, and lease-contract verification.

Add TP4/DCP1 profiles for global safetensors and fastsafetensors. Both use seven DFlash tokens, draft TP4, FP8 target KV, 32 sequences, 256-token blocks, page-tail copy-on-write publication, and canonical SparkCache CUDA restore keys. Safetensors is implemented but unqualified on the composed image; fastsafetensors is research-only pending live draft-loading and peak-memory gates.

Cache compatibility: the external DFlash weights digest and page-tail publication schema select a namespace distinct from embedded MTP and snapshot-v1 entries. The two loader profiles share model identity but use separate test roots and clear tokens. No wire value, digest salt, or logical geometry changes.

Validation: 24 focused GPU-free tests passed; an exact prepared context verified 31 vLLM files and DFlash7 image labels; Ruff, Python compilation, JSON parsing, Bash syntax, git diff, and prose checks passed. A broader unchanged GLM README assertion remains failing at the stacked base.
Integrate the exact-input DFlash draft-load-config patch into the DFlash7 image pins, prepared-context receipt, rendered Containerfile, image labels, installed-source verifier, and profile resolver.

The mixed profile now uses global fastsafetensors queue one for the target and speculative_config.draft_load_config=safetensors for the external DFlash draft. The conservative profile continues to use global safetensors. Both remain implemented but unqualified until four-rank live gates pass.

Compatibility: target and draft checkpoint identities, page-tail publication schema, cache wire values, digest salts, and 256-token geometry are unchanged. The two loader profiles retain separate test roots and clear tokens while sharing the same model-state namespace.

Validation: 29 focused tests passed; an exact prepared context recorded and verified one DFlash loader patch and DFlash7 labels; maintained suite reported 1,964 passed and 9 skipped with one unrelated stacked-base README assertion failure; Ruff, Python, JSON, Bash, diff, and prose checks passed.
@FujitsuPolycom

Copy link
Copy Markdown
Owner Author

The resulting runtime, operator contract, and evidence are consolidated in retained draft stack #146#147#150. Independent page-base research remains in #149. Closing this superseded draft and deleting only its remote head branch.

@FujitsuPolycom
FujitsuPolycom deleted the codex/glm53-dflash7-draft-loader-integration branch August 31, 2026 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant