Remove the deprecated DeepSeek V4 Flash preview and legacy MTP #81
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
DeepSeek V4 Flash 0731 plus DSpark is the only supported Flash path. Remove the deprecated preview checkpoint and every code path that exists only for that checkpoint or its legacy MTP support, without weakening the 0731, DSpark, Pro, or GLM paths.
Removal inventory
Model catalog and configuration
ModelChoice::DeepSeekV4Flash; keepDeepSeekV4Flash0731as the sole Flash choice and default.FLASH,FLASH_MTP, and previewFLASH_DSPARKartifacts, their hashes, URLs, managed artifact IDs, download/verify/progress branches, and catalog rows.supports_legacy_mtp, the legacy support-artifact selection arguments, and preview-only compatibility checks.deepseek-v4-flashtodeepseek-v4-flash-0731, then persists only the 0731 ID. Do not leave the preview selectable merely for compatibility.preferences.selected_modelvalue and CHECK constraint with a forward migration if that table is still live; do not rewrite already-shipped migration history.models/deepseek-v4-flashdirectory.Settings and UI
legacy_mtp_enabled,mtp_draft_tokens, andmtp_marginfrom persisted preferences, drafts, validation, engine settings, and summaries; these fields are only used by the deprecated legacy-MTP path.Engine and validation
SupportKind::LegacyMtp, legacy-MTP GGUF validation/binding,LegacyMtpWeights,LegacyMtp, draft/evaluation/verification branches, runtime state switching, checkpoint serialization/restoration, and speculative stats mode 1.API, metrics, scripts, and tests
deepseek-chatanddeepseek-reasoneraliases toDeepSeekV4Flash0731.deepseek-v4-flashwithdeepseek-v4-flash-0731, including endpoint continuation/parity/reasoning/speculative scripts.legacy_mtp_runs_a_target_owned_greedy_cycleand the legacy half ofssd_streaming_supports_legacy_mtp_and_dsparkfrom the execution-parity manifest.Acceptance criteria
deepseek-v4-flashmigrate cleanly to 0731 instead of failing startup.rgfinds noDeepSeekV4Flashpreview arm,LegacyMtp,legacy_mtp,FLASH_MTP, preview artifact filename/hash, or deprecated-preview label outside the explicit migration compatibility test/data.AGENTS.md.Implemented in
0fa15bband pushed to main.Removed the deprecated DeepSeek V4 Flash preview catalog entry, managed artifacts, settings/UI, legacy MTP validation/binding/execution/checkpoint/statistics paths, native boundary fields, scripts, and fixtures. DeepSeek V4 Flash 0731 is now the sole/default Flash model; deepseek-chat and deepseek-reasoner resolve to 0731. Existing YAML selections and profile keys migrate once to the 0731 ID and are persisted without the retired legacy fields. The obsolete SQLite preferences table was already removed by shipped forward migration 20260726160000, so no invalid migration against a non-live table was added and shipped migration history remains untouched. Existing preview GGUF directories are not deleted.
Review against DS4 oracle 8db89fe confirmed that the surviving 0731 target, DSpark proposer/verifier, sampling, checkpoint, and SSD behavior is unchanged. Added an explicit SSD plus DSpark hardware parity test and kept historical metric code 1 decodable while 0731 remains code 4.
Verification: