diff --git a/changelog.d/nemotron-super-native-checkpoints.md b/changelog.d/nemotron-super-native-checkpoints.md new file mode 100644 index 0000000000..dcd9b0aa0e --- /dev/null +++ b/changelog.d/nemotron-super-native-checkpoints.md @@ -0,0 +1,6 @@ +### Nemotron Super's prompt cache now restores exactly + +- Nemotron Super's prompt cache now restores exactly: an answer from a cached prompt is the answer the same prompt gets without the cache. Super now saves its prompt checkpoints at native precision. Before, they used the provider-wide `balanced` default, which stores older attention rows at 4 bits. +- Measured on the production weights on an M5 Ultra, with 3 reasoning prompts of about 8,600 tokens restored from an 8,192-token checkpoint: `balanced` checkpoints changed all 3 answers, and native checkpoints matched the uncached answers bit for bit in all 3, tokens and logprobs alike. +- Checkpoints are larger. At 8,192 tokens one is about 249 MB instead of 204 MB, so about 15 % more is written per prompt; at 30,720 tokens it is about 457 MB instead of 285 MB. The SSD cache keeps its shared disk budget, so it holds fewer Super checkpoints. +- Super's own per-model setting or the process switch still selects another precision. A global setting, even an explicit `k4v4`, `k8v4` or `k8v8`, no longer applies to Super. Existing Super checkpoints stop matching and age out within their 30-minute lifetime. diff --git a/docs/architecture/inference.md b/docs/architecture/inference.md index 001cf9cb3e..c5873cf46a 100644 --- a/docs/architecture/inference.md +++ b/docs/architecture/inference.md @@ -1,6 +1,6 @@ # Provider inference engine -> Last updated: 2026-11-09 +> Last updated: 2026-11-11 How a chat-completion request is served inside the `darkbloom` provider process: one in-process engine (`mlx-swift-lm` @@ -1252,10 +1252,17 @@ Without a bank (the default) the builder keeps them in an `SSDHybridCheckpointStore` (`NemotronSuperLocalPrefixCache.durableIdentity`): the SDK's complete codec writes each chunk checkpoint's KV, conv/SSM state and the assistant's prompt history encrypted under the provider's cache root, at -the slot's effective checkpoint precision (`engine_v2_kv_checkpoint_quantization`, -`balanced` by default): older attention rows are coded, while the conv/SSM -state and the assistant's history stay exact -([checkpoint precision](kv-cache-quantization.md#native-execution-with-quantized-checkpoints)). The +Super's checkpoint precision (`NemotronSuperLocalPrefixCache.checkpointPrecision`). +That is native unless Super's own `engine_v2_kv_checkpoint_quantization_by_model` +entry or `DARKBLOOM_CBV2_CHECKPOINT_QUANTIZATION` selects a profile; the global +`engine_v2_kv_checkpoint_quantization` does not apply to Super. A native restore +continues a cold prefill bit for bit. Under a profile such as `balanced`, older +attention rows are coded while the conv/SSM state and the assistant's history +stay exact +([checkpoint precision](kv-cache-quantization.md#native-execution-with-quantized-checkpoints)), +and on the pinned checkpoint that moved restored reasoning answers off the cold +ones. A native checkpoint of 8,192 tokens is about 249 MB, against about 204 MB +under `balanced`. The slot then advertises a durable capability (`prefix_cache_v2_models`), its checkpoints survive restarts within the store's TTL, and the coordinator's repeat hint gates their writes as for every other model. A durable checkpoint diff --git a/docs/architecture/kv-cache-quantization.md b/docs/architecture/kv-cache-quantization.md index 8e37cec025..5a91f27579 100644 --- a/docs/architecture/kv-cache-quantization.md +++ b/docs/architecture/kv-cache-quantization.md @@ -9,6 +9,12 @@ execution remains available. This page explains the numerical and ownership contracts, not completed model qualification or a release. The [CLI reference](../provider/cli-reference.md#providertoml-keys-read-by-the-cli) owns the controls and their defaults. +Nemotron Super's managed slot requests native checkpoints unless its own +per-model entry or `DARKBLOOM_CBV2_CHECKPOINT_QUANTIZATION` selects a profile; +the global setting does not apply to it +(`NemotronSuperLocalPrefixCache.checkpointPrecision`). A native restore +continues a cold prefill bit for bit, while `balanced` rows changed restored +answers ([Super's checkpoints](../reference/ssd-kv-cache.md#complete-checkpoint-payload)). ## Context diff --git a/docs/provider/cli-reference.md b/docs/provider/cli-reference.md index 58d444c53e..3e55f098fd 100644 --- a/docs/provider/cli-reference.md +++ b/docs/provider/cli-reference.md @@ -3727,6 +3727,7 @@ override `provider.toml` for one process, are in | `[backend] engine_v2_kv_quantization_by_model` | `{}` | Exact model-ID live precision overrides the global setting; `DARKBLOOM_CBV2_KV_QUANTIZATION` overrides both. Existing explicit live `balanced` settings remain live packed. MiMo exclusion precedes parsing. | | `[backend] engine_v2_kv_checkpoint_quantization` | `"balanced"` | Independent complete-checkpoint encoding request with the same four values. Eligible native paged and contiguous targets encode older attention rows and restore to native state. Unsupported layouts retain native encoding; live-packed targets keep their existing packed format. This does not enable caching, force paging or reduce native memory admission. See [numerical limits and fallback](../architecture/kv-cache-quantization.md#native-execution-with-quantized-checkpoints). On a two-Mac cluster it also sets the pair's SSD prompt-prefix record precision for the pair's public model; both Macs must resolve the same value ([cluster record precision](../reference/configuration.md#cluster-ssd-prefix-record-precision)). | | `[backend] engine_v2_kv_checkpoint_quantization_by_model` | `{}` | Exact model-ID checkpoint request overrides the global setting; `DARKBLOOM_CBV2_CHECKPOINT_QUANTIZATION` overrides both. MiMo remains native before parsing. | +| `[backend] engine_v2_kv_checkpoint_quantization_by_model."nvidia-nemotron-3.5-super"` | absent: `native` | Nemotron Super's managed slot gives its own entry a built-in `native` default, so a cache hit restores exactly what a cold prefill computes; the global `engine_v2_kv_checkpoint_quantization` does not apply to Super. An explicit entry or `DARKBLOOM_CBV2_CHECKPOINT_QUANTIZATION` selects a profile ([Super's durable checkpoints](../reference/ssd-kv-cache.md#complete-checkpoint-payload)). | | `[backend] mtp_mode` | `auto` | Written by `darkbloom beta enable|disable mtp` | | `[backend] mtp_acceptance` | unset (resolves to `typical`, delta `0.2`) | `exact` / `typical` draft acceptance for eligible sampled target-prefix requests. `typical` keeps a draft when the target's filtered probability for it is above `min(1, 0.2 * exp(-H))` (`H` = the target row's entropy in nats); sampled output is approximate, not distribution-exact. Greedy requests never change. Native MiMo remains exact and does not apply this preference. This setting does not enable disabled MTP or widen eligibility. Parsing ignores case and surrounding whitespace; unknown values warn and resolve to `exact` (`provider-swift/Sources/ProviderCore/Inference/MTP/MTPAcceptancePolicy.swift`, `resolve`) | | `[backend] mtp_acceptance_by_model` | `{}` | Exact model ID to acceptance string; overrides `mtp_acceptance` for that model. An unknown override resolves to `exact`, not the global value. Same eligibility and native MiMo exclusion as above (`MTPAcceptancePolicy.resolve`) | diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index c5144e63dd..a168a6b54f 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -562,6 +562,7 @@ the qualification hook's keys, for speculation and width | `DARKBLOOM_NEMOTRON_SUPER_MTP_DEPTH`, `_MTP_VERIFICATION`, `_PREFILL_CHUNK`, `_KV_BACKEND`, `_VIDEO_PRUNING` | depth `3,2,2,2,1` (`3,2,1,1,0` on an M5); the [builder defaults](../architecture/inference.md#context) otherwise | Kept when set in the provider process | | `DARKBLOOM_NEMOTRON_SUPER_DECODE_STEPS_BETWEEN_CHUNKS` | `4` (`NemotronSuperLocalPrefill.defaultDecodeStepsBetweenChunks`); `0`…`64`, any other value fails the load | Decode-only steps after each prompt chunk while requests decode; `0` is the rollback. Forwarded to the launchd provider job | | `DARKBLOOM_PREFIX_CACHE_MEMORY` | on for either owner when the grant holds every request's fixed bytes and the bank | An explicit value, `DARKBLOOM_PREFIX_CACHE` negative or `DARKBLOOM_CBV2_HYBRID_PREFIX_CACHE=0` keeps the bank off | +| `backend.engine_v2_kv_checkpoint_quantization_by_model."nvidia-nemotron-3.5-super"`, `DARKBLOOM_CBV2_CHECKPOINT_QUANTIZATION` | absent: `native` (`NemotronSuperLocalPrefixCache.checkpointPrecision`) | Complete SSD checkpoints store native rows, so a restore continues a cold prefill bit for bit. The global `engine_v2_kv_checkpoint_quantization` does not apply to Super; Super's own entry or the switch selects a profile such as `balanced` ([layouts and sizes](ssd-kv-cache.md#complete-checkpoint-payload)) | ### Native MiMo V2.6 candidate diff --git a/docs/reference/ssd-kv-cache.md b/docs/reference/ssd-kv-cache.md index 8e4040c6f4..a0da8816d9 100644 --- a/docs/reference/ssd-kv-cache.md +++ b/docs/reference/ssd-kv-cache.md @@ -207,13 +207,21 @@ writes 904 MB. A full 262,144-token context checkpoint is about 5.0 GB, inside the 7 GiB large-memory staging cap. See the [GLM integration gates](../design/glm53-flash-native.md). -The managed `nvidia-nemotron-3.5-super` slot writes -`native-paged-affine-checkpoint-full-recurrent-mtp-v1` while it speculates and -`native-paged-affine-checkpoint-full-recurrent-v1` target-only at the default -`balanced` precision. Its 8 attention layers (2 KV heads × 128) shrink from -8 KiB to 2.5 KiB per token past the exact 128-token band; the MTP history -(1 KiB per token) and the fixed part (the FP32 SSM state, convolution state and -MTP frontier, 173.9 MB) stay exact. +The managed `nvidia-nemotron-3.5-super` slot writes `native-paged-full-recurrent-v1` +by default (`NemotronSuperLocalPrefixCache.checkpointPrecision`), so a restore +continues a cold prefill bit for bit. The global +`engine_v2_kv_checkpoint_quantization` does not apply to Super; Super's own +`engine_v2_kv_checkpoint_quantization_by_model` entry or +`DARKBLOOM_CBV2_CHECKPOINT_QUANTIZATION` still selects a profile. A profile such +as `balanced` writes `native-paged-affine-checkpoint-full-recurrent-mtp-v1` +while the slot speculates and `native-paged-affine-checkpoint-full-recurrent-v1` +target-only. It shrinks the 8 attention layers (2 KV heads × 128) from 8 KiB to +2.5 KiB per token past the exact 128-token band; the MTP history (1 KiB per +token) and the fixed part (the FP32 SSM state, convolution state and MTP +frontier, 173.9 MB) stay exact. Native files can be +[delta checkpoints](#delta-complete-checkpoints) on the target-only owner. The +speculating owner's MTP history (`[1, heads, rows, headDim]`) has no delta row +layout, so it writes complete files. | `nvidia-nemotron-3.5-super` checkpoint (DBK3 file, measured on an M3 Ultra) | `native` | `balanced` | |---|---:|---:| diff --git a/provider-swift/Sources/ProviderCore/Inference/Engine/Factory/NemotronSuperLocalBridgeBuilder.swift b/provider-swift/Sources/ProviderCore/Inference/Engine/Factory/NemotronSuperLocalBridgeBuilder.swift index 6139d581d4..707b3d6112 100644 --- a/provider-swift/Sources/ProviderCore/Inference/Engine/Factory/NemotronSuperLocalBridgeBuilder.swift +++ b/provider-swift/Sources/ProviderCore/Inference/Engine/Factory/NemotronSuperLocalBridgeBuilder.swift @@ -363,9 +363,9 @@ enum NemotronSuperLocalBridgeBuilder { /// prefix reuse; with a `routingIdentity` its bank also advertises and /// proves its checkpoints to the coordinator, and without a bank its /// checkpoints are complete SSD checkpoints bound to it, encoded at the - /// effective profile of the operator's checkpoint precision - /// (`checkpointQuantizationConfig`, its per-model table and - /// `DARKBLOOM_CBV2_CHECKPOINT_QUANTIZATION`, as for every other model). + /// effective profile of `NemotronSuperLocalPrefixCache.checkpointPrecision`: + /// native unless the per-model table (`checkpointQuantizationConfigByModel`) + /// or `DARKBLOOM_CBV2_CHECKPOINT_QUANTIZATION` selects a profile. /// Test seam: `completeCheckpointIdentity` replaces the store's runtime /// disk identity (binary, metallib and numerics), which a test process /// cannot compute. @@ -410,10 +410,9 @@ enum NemotronSuperLocalBridgeBuilder { routingIdentity: routingIdentity) : nil let exactPrefixCheckpoints = prefixCache != nil || durable != nil - let checkpointPrecision = try EngineV2KVQuantizationPolicy.resolve( - modelType: "nemotron_h_omni", global: checkpointQuantizationConfig, - byModel: checkpointQuantizationConfigByModel, modelID: modelID, - environment: environment, purpose: .checkpoint) + let checkpointPrecision = try NemotronSuperLocalPrefixCache.checkpointPrecision( + global: checkpointQuantizationConfig, byModel: checkpointQuantizationConfigByModel, + modelID: modelID, environment: environment) let kvBackend = try NemotronSuperLocalKVBackend.resolve(environment: environment) try Task.checkCancellation() let assembly = try installed.withNativeSetup(construction: construction) { model in diff --git a/provider-swift/Sources/ProviderCore/Inference/Engine/Factory/NemotronSuperLocalPrefixCache.swift b/provider-swift/Sources/ProviderCore/Inference/Engine/Factory/NemotronSuperLocalPrefixCache.swift index 00f6da98f8..dcac32307e 100644 --- a/provider-swift/Sources/ProviderCore/Inference/Engine/Factory/NemotronSuperLocalPrefixCache.swift +++ b/provider-swift/Sources/ProviderCore/Inference/Engine/Factory/NemotronSuperLocalPrefixCache.swift @@ -74,6 +74,19 @@ enum NemotronSuperLocalPrefixCache { return routingIdentity } + /// The precision a durable store encodes its checkpoints at. Native is + /// Super's per-model default, so a restore continues a cold prefill bit + /// for bit (`balanced` rows moved restored reasoning answers off the cold + /// ones on the pinned checkpoint). The operator's per-model setting for + /// `modelID` or the process switch still selects a profile; the global + /// setting does not apply. + static func checkpointPrecision(global: String, byModel: [String: String], modelID: String, + environment: [String: String]) throws -> EngineV2KVQuantizationSelection { + try EngineV2KVQuantizationPolicy.resolve(modelType: "nemotron_h_omni", global: global, + byModel: [modelID: EngineV2KVQuantizationSelection.native.rawValue].merging(byModel) { $1 }, + modelID: modelID, environment: environment, purpose: .checkpoint) + } + /// nil leaves the owner without a bank. The same bank serves both owners: /// the speculating owner's `NemotronSuperMTPAssistant` checkpoints its /// prompt history, so `hybridConfig`'s drafter gate stays off diff --git a/provider-swift/Tests/ProviderCoreTests/Inference/Engine/NemotronSuperDurablePrefixCacheTests.swift b/provider-swift/Tests/ProviderCoreTests/Inference/Engine/NemotronSuperDurablePrefixCacheTests.swift index a5bff2884b..8eb760e169 100644 --- a/provider-swift/Tests/ProviderCoreTests/Inference/Engine/NemotronSuperDurablePrefixCacheTests.swift +++ b/provider-swift/Tests/ProviderCoreTests/Inference/Engine/NemotronSuperDurablePrefixCacheTests.swift @@ -9,8 +9,9 @@ import Testing /// routed owner without a bank keeps its chunk checkpoints in an encrypted /// store: they restore within the owner and, after the owner is retired, in a /// new installation, engine and store on the same root and key (a restart). -/// Native checkpoints restore exactly (the cold text); `balanced` ones, the -/// default, code older attention rows and restore the same state every time. +/// Native checkpoints, the default, restore exactly (the cold text); +/// `balanced` ones code older attention rows and restore the same state every +/// time. /// Lookups and publications carry the SSD tier, another scope never hits, and /// the store holds no shared-budget reservation. struct NemotronSuperDurablePrefixCacheTests { @@ -82,6 +83,32 @@ struct NemotronSuperDurablePrefixCacheTests { routingIdentity: Self.routing) == Self.routing) } + /// Checkpoints store native rows unless the operator's setting for Super or + /// the process switch selects a profile: a native restore continues a cold + /// prefill bit for bit, while `balanced` rows moved restored reasoning + /// answers off the cold ones. The global setting, which a saved + /// provider.toml spells out as `balanced`, does not select Super's. + @Test func checkpointsDefaultToNativePrecision() { + let key = EngineV2KVQuantizationPolicy.checkpointEnvironmentKey + /// nil when the settings are refused. + func precision(global: String = "balanced", byModel: [String: String] = [:], + environment: [String: String] = [:], + modelID: String = Self.modelID) -> EngineV2KVQuantizationSelection? { + try? Prefix.checkpointPrecision(global: global, byModel: byModel, modelID: modelID, + environment: environment) + } + for global in ["balanced", "", "k4v4", "k8v4", "k8v8", "native"] { + #expect(precision(global: global) == .native, "global \(global)") + } + #expect(precision(modelID: NemotronSuperLocalBinding.modelID) == .native) + #expect(precision(byModel: ["another-model": "balanced"]) == .native) + // The operator's own choices for Super still win, in the shared order. + #expect(precision(byModel: [Self.modelID: "balanced"]) == .balanced) + #expect(precision(global: "native", byModel: [Self.modelID: "k8v8"]) == .k8v8) + #expect(precision(environment: [key: "balanced"]) == .balanced) + #expect(precision(byModel: [Self.modelID: "balanced"], environment: [key: "native"]) == .native) + } + /// The store layout for a checkpoint precision: `balanced` codes the /// attention rows, beside the speculating owner's exact assistant history. static func layout(profile: String, speculates: Bool) -> String { diff --git a/provider-swift/Tests/ProviderCoreTests/ProviderLoop/NemotronSuperManagedSlotLiveTests+CheckpointProfile.swift b/provider-swift/Tests/ProviderCoreTests/ProviderLoop/NemotronSuperManagedSlotLiveTests+CheckpointProfile.swift index 140193098b..593d9ef584 100644 --- a/provider-swift/Tests/ProviderCoreTests/ProviderLoop/NemotronSuperManagedSlotLiveTests+CheckpointProfile.swift +++ b/provider-swift/Tests/ProviderCoreTests/ProviderLoop/NemotronSuperManagedSlotLiveTests+CheckpointProfile.swift @@ -9,7 +9,8 @@ import Testing /// Gated qualification of the managed Super slot's checkpoint profile on the /// pinned checkpoint, one storage arm per process: the operator's /// `DARKBLOOM_CBV2_CHECKPOINT_QUANTIZATION` (`native` or `balanced`) selects -/// it. The loop's complete SSD store lives in an isolated ephemeral-key root +/// it; unset, the arm is the slot's default (native). The loop's complete SSD +/// store lives in an isolated ephemeral-key root /// (`DARKBLOOM_PREFIX_CACHE_ALLOW_EPHEMERAL=1`, `DARKBLOOM_PREFIX_CACHE_TEST_ROOT`). /// For each prompt length (`DARKBLOOM_SUPER_CHECKPOINT_LENGTHS`) it records /// cold, donor, restored and repeated speculating runs (answer, TTFT, restored @@ -44,8 +45,8 @@ extension NemotronSuperManagedSlotTests { .timeLimit(.minutes(120))) func pinnedCheckpointCheckpointProfileQualification() async throws { let environment = ProcessInfo.processInfo.environment - let arm = try #require(environment["DARKBLOOM_CBV2_CHECKPOINT_QUANTIZATION"]) - try #require(["native", "balanced"].contains(arm)) + let arm = environment["DARKBLOOM_CBV2_CHECKPOINT_QUANTIZATION"] ?? "default" + try #require(["default", "native", "balanced"].contains(arm)) try #require(environment[PrefixCachePolicy.memoryEnvironmentFlag] != "1", "the resident bank replaces the complete SSD store") // Just past whole 2,048-token chunks, so each restores 2,048, 8,192 and 30,720 tokens. @@ -68,7 +69,7 @@ extension NemotronSuperManagedSlotTests { "\(owner.bridge.prefixCacheModelStatus()) \(String(describing: owner.bridge.prefixCacheConstructionFailure))") let engine = try #require(await owner.bridge.ownedEngine as? EngineV2) let layout = store.config.backendLayout - let expectedLayout = arm == "native" ? CBv2CompleteCheckpointManifest.pagedLayout + let expectedLayout = arm != "balanced" ? CBv2CompleteCheckpointManifest.pagedLayout : owner.speculates ? CBv2CompleteCheckpointManifest.nativeQuantizedPagedMTPLayout : CBv2CompleteCheckpointManifest.nativeQuantizedPagedLayout try #require(layout == expectedLayout, "layout \(layout)") @@ -275,6 +276,10 @@ extension NemotronSuperManagedSlotTests { if row.saved != restored.saved { failures.append("\(length): \(label) restore covered a different depth") } if row.tokens != restored.tokens { failures.append("\(length): \(label) restore differs from the first") } } + // A native restore continues the cold prefill bit for bit. + if arm != "balanced" && (restored.tokens != cold.tokens || restoredRow.tokens != coldRow.tokens) { + failures.append("\(length): a native restore differs from cold") + } for (label, row) in [("cold", cold), ("donor", donor), ("restored", restored), ("repeated", repeated), ("after-cancel", afterCancel)] where !answered(row, target: target) { diff --git a/provider-swift/Tests/ProviderCoreTests/ProviderLoop/NemotronSuperManagedSlotTests+PrefixCache.swift b/provider-swift/Tests/ProviderCoreTests/ProviderLoop/NemotronSuperManagedSlotTests+PrefixCache.swift index 07498936ef..0f1a363106 100644 --- a/provider-swift/Tests/ProviderCoreTests/ProviderLoop/NemotronSuperManagedSlotTests+PrefixCache.swift +++ b/provider-swift/Tests/ProviderCoreTests/ProviderLoop/NemotronSuperManagedSlotTests+PrefixCache.swift @@ -133,13 +133,11 @@ extension NemotronSuperManagedSlotTests { revisionDirectory: fixture.directory) let owner = try #require(await loop.nemotronSuperOwnerForTesting(modelId: Self.modelID)) let store = try #require(owner.bridge.ssdHybridCheckpointStore) - // The default checkpoint precision: balanced older rows, beside the - // speculating owner's exact assistant history. - #expect(store.config.backendLayout == (owner.speculates - ? CBv2CompleteCheckpointManifest.nativeQuantizedPagedMTPLayout - : CBv2CompleteCheckpointManifest.nativeQuantizedPagedLayout)) + // Super's default checkpoint precision is native under the global + // default `balanced`, so a restore continues the cold prefill. + #expect(store.config.backendLayout == CBv2CompleteCheckpointManifest.pagedLayout) #expect(owner.speculates == (mode == .auto)) - #expect(owner.bridge.kvCheckpointQuantization == .balanced) + #expect(owner.bridge.kvCheckpointQuantization == .native) #expect(owner.prefixBankBytes == 0 && owner.bridge.residentPrefixCacheEvidence == nil) let readyDeadline = ContinuousClock.now + .seconds(5) while owner.bridge.prefixCacheModelStatus().state != .ready, ContinuousClock.now < readyDeadline { @@ -203,14 +201,15 @@ extension NemotronSuperManagedSlotTests { #expect(await fixture.budget.reservationBytesSnapshot().isEmpty) } - /// The operator's `[backend]` checkpoint precision reaches the owner's - /// store and engine as for every other model: a per-model `native` entry - /// keeps the exact layout and its namespace. + /// The operator's `[backend]` per-model checkpoint precision for Super + /// reaches the owner's store and engine: a `balanced` entry codes older + /// rows beside the speculating owner's exact assistant history, in its own + /// layout and namespace. @Test(.timeLimit(.minutes(2))) func perModelCheckpointPrecisionReachesTheDurableStore() async throws { let fixture = try await Self.fixture(mode: .auto, environment: [NemotronSuperLocalPrefill.chunkKey: "256"], - checkpointQuantizationByModel: [Self.modelID: "native"], + checkpointQuantizationByModel: [Self.modelID: "balanced"], tokenizer: { SuperBytePromptTokenizer(script: $0) }) defer { try? FileManager.default.removeItem(at: fixture.directory) } try await fixture.loop.ensureModelLoaded(modelId: Self.modelID, allowEviction: false, @@ -218,8 +217,8 @@ extension NemotronSuperManagedSlotTests { let owner = try #require(await fixture.loop.nemotronSuperOwnerForTesting(modelId: Self.modelID)) let store = try #require(owner.bridge.ssdHybridCheckpointStore) #expect(owner.speculates) - #expect(store.config.backendLayout == CBv2CompleteCheckpointManifest.pagedLayout) - #expect(owner.bridge.kvCheckpointQuantization == .native) + #expect(store.config.backendLayout == CBv2CompleteCheckpointManifest.nativeQuantizedPagedMTPLayout) + #expect(owner.bridge.kvCheckpointQuantization == .balanced) #expect(await fixture.loop.unloadModel(Self.modelID)) #expect(await fixture.budget.reservationBytesSnapshot().isEmpty) }