From beba22c267ccbef4211a125931a70c0ed35df87c Mon Sep 17 00:00:00 2001 From: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> Date: Fri, 21 Aug 2026 09:57:47 -0500 Subject: [PATCH 1/4] feat(dflash): expose effective runtime state --- docs/experimental/dflash_mlx_integration.md | 50 ++++ omlx/engine_pool.py | 99 ++++++- tests/test_dflash_effective_state.py | 295 ++++++++++++++++++++ 3 files changed, 443 insertions(+), 1 deletion(-) create mode 100644 tests/test_dflash_effective_state.py diff --git a/docs/experimental/dflash_mlx_integration.md b/docs/experimental/dflash_mlx_integration.md index 0485b262e3..879a7199b6 100644 --- a/docs/experimental/dflash_mlx_integration.md +++ b/docs/experimental/dflash_mlx_integration.md @@ -61,3 +61,53 @@ Draft checkpoints load through mlx-vlm's drafter classes (DFlash v1, DFlash2, La ## Tests See the "Batched DFlash drafter" section of `docs/TESTING.md`. + +## Verifying the effective engine + +A DFlash request fails soft: a declined or failed drafter leaves the model's natural batched engine serving, and the request still succeeds with `200`. `GET /v1/models/status` reports what actually happened, so a client can assert DFlash is running instead of reading the server log. + +| Field | Type | Meaning | +|-------|------|---------| +| `engine_type` | str | Configured engine for the model (unchanged) | +| `effective_engine` | str \| null | Engine serving the model now: `batched`, `vlm`, `distributed`, `splash`, `embedding`, `reranker`, `audio_stt`, `audio_tts`, `audio_sts`. `null` when not loaded | +| `dflash_requested` | bool | `dflash_enabled` was set for this load | +| `dflash_active` | bool | The batched DFlash drafter is loaded and serving | +| `dflash_fallback_reason` | str \| null | Why a requested DFlash load is not active. Bounded and path-redacted, truncated to 200 characters | + +DFlash running: + +```json +{ + "id": "Qwen3.8-27B", + "loaded": true, + "engine_type": "batched", + "effective_engine": "batched", + "dflash_requested": true, + "dflash_active": true, + "dflash_fallback_reason": null +} +``` + +DFlash requested but fell back: + +```json +{ + "id": "Qwen3.8-27B", + "loaded": true, + "engine_type": "batched", + "effective_engine": "batched", + "dflash_requested": true, + "dflash_active": false, + "dflash_fallback_reason": "DFlash drafter load failed: ValueError: Received parameters not in model: candidate_selector.hidden_projection.weight, ..." +} +``` + +A one-line client assertion: + +```bash +curl -s localhost:10240/v1/models/status \ + | jq -e '.models[] | select(.id=="Qwen3.8-27B") | .dflash_active' +``` + +DFlash was never requested when `dflash_requested` is `false`; `dflash_active` +is then `false` and `dflash_fallback_reason` is `null`. diff --git a/omlx/engine_pool.py b/omlx/engine_pool.py index d26cb17e48..3fd7457265 100644 --- a/omlx/engine_pool.py +++ b/omlx/engine_pool.py @@ -18,6 +18,7 @@ import gc import json import logging +import re import time from collections import OrderedDict from contextlib import asynccontextmanager, suppress @@ -167,6 +168,51 @@ def build_claude_tier_aliases(claude_code_settings) -> dict[str, str]: # checkpoint is served text-only while its deployment is active. _CLUSTER_ENGINE_TYPES = frozenset({"batched", "vlm"}) +# Fallback reasons reach API clients, so they are bounded and redacted: +# loader errors can embed absolute checkpoint paths and, when an inner +# exception was formatted with its traceback, whole stack frames. +_MAX_FALLBACK_REASON_CHARS = 200 +_PATHISH_RE = re.compile(r"~?(?:/[^\s/,;:'\"]+){2,}/?") +# Effective engine identity per engine class, for clients that must assert +# which backend actually serves a model (issue #2896). +_ENGINE_KIND_BY_CLASS = { + "DistributedBatchedEngine": "distributed", + "VLMBatchedEngine": "vlm", + "BatchedEngine": "batched", + "SplashEngine": "splash", + "EmbeddingEngine": "embedding", + "RerankerEngine": "reranker", + "STTEngine": "audio_stt", + "TTSEngine": "audio_tts", + "STSEngine": "audio_sts", +} + + +def _sanitized_fallback_reason(text: str) -> str: + """Bound and redact a fallback reason before it reaches API clients. + + Whitespace is collapsed so a multi-line message cannot leak a stack + trace line by line, filesystem-path runs become ````, and the + result is truncated to a fixed budget so an unbounded loader message + cannot inflate the status response. + """ + + collapsed = " ".join(str(text).split()) + redacted = _PATHISH_RE.sub("", collapsed) + if len(redacted) > _MAX_FALLBACK_REASON_CHARS: + redacted = redacted[: _MAX_FALLBACK_REASON_CHARS - 3].rstrip() + "..." + return redacted + + +def _engine_kind(engine: object) -> str | None: + """Effective engine identity for a live engine instance. + + ``None`` for a class the pool never constructs, so callers fall back to + the engine type they asked for instead of leaking a class name. + """ + + return _ENGINE_KIND_BY_CLASS.get(type(engine).__name__) + def _positive_int(value: object) -> int: try: @@ -411,6 +457,15 @@ class EngineEntry: load_failed: bool = False # Sticky until the next discovery refresh load_failure_message: str | None = None load_failure_at: float | None = None + # Requested-versus-effective state for the engine that currently serves + # this model (issue #2896). DFlash fails soft: a declined or failed + # drafter leaves the model's natural batched engine serving, so a client + # cannot infer the effective backend from settings alone. All four + # describe the live engine and reset on unload. + effective_engine: str | None = None + dflash_requested: bool = False + dflash_active: bool = False + dflash_fallback_reason: str | None = None class EnginePool: @@ -3637,6 +3692,10 @@ async def _stop_and_unload_engine( entry.runtime_settings_signature = None entry.runtime_estimated_size = None entry.runtime_settle_size = None + entry.effective_engine = None + entry.dflash_requested = False + entry.dflash_active = False + entry.dflash_fallback_reason = None if external: # Cluster weights live in supervised rank processes and Splash's @@ -3989,13 +4048,24 @@ async def _load_engine( deployment = deployment if effective_type in _CLUSTER_ENGINE_TYPES else None # Decision models never decode, so speculative decoding settings # saved for the same checkpoint do not apply. + dflash_enabled = bool(getattr(model_settings, "dflash_enabled", False)) + entry.dflash_requested = dflash_enabled + entry.dflash_active = False + entry.dflash_fallback_reason = None + if dflash_enabled and deployment is not None: + entry.dflash_fallback_reason = ( + "DFlash is not supported with distributed inference" + ) + elif dflash_enabled and engine is not None: + entry.dflash_fallback_reason = ( + "DFlash is not supported with an external engine" + ) if ( engine is None and deployment is None and model_settings is not None and effective_type != "decision" ): - dflash_enabled = getattr(model_settings, "dflash_enabled", False) dflash_draft = dflash_draft_for(model_settings, entry.model_path) if dflash_enabled and self._entry_is_diffusion_model(entry): logger.warning( @@ -4003,6 +4073,9 @@ async def _load_engine( "loading %s with its native VLM engine", model_id, ) + entry.dflash_fallback_reason = ( + "DFlash is not supported for diffusion models" + ) elif dflash_enabled and not dflash_draft: logger.warning( "DFlash enabled for %s but no draft model is set; " @@ -4010,6 +4083,9 @@ async def _load_engine( "enable it.", model_id, ) + entry.dflash_fallback_reason = ( + "DFlash is enabled but no draft model is configured" + ) elif dflash_enabled and not dflash_batched_supported( entry.config_model_type, effective_type ): @@ -4020,6 +4096,9 @@ async def _load_engine( entry.config_model_type, effective_type, ) + entry.dflash_fallback_reason = ( + "DFlash is not supported for this model type and engine" + ) elif dflash_enabled: # The drafter is attached after start below. logger.info( @@ -4238,6 +4317,7 @@ async def prefill_eviction_callback( entry.runtime_estimated_size = resident_size entry.runtime_settle_size = resident_size entry.engine = engine + entry.effective_engine = _engine_kind(engine) or effective_type entry.last_access = time.time() self._current_model_memory += resident_size load_completed = True @@ -4289,8 +4369,12 @@ def _load_dflash_sync(path: str = drafter_path): f"(drafter={drafter_id}): {e} -- toggle ignored" ) drafter = None + entry.dflash_fallback_reason = _sanitized_fallback_reason( + f"DFlash drafter load failed: {type(e).__name__}: {e}" + ) if drafter is not None: engine.set_dflash_drafter(drafter) + entry.dflash_active = True # MiniMax M3.1 bundles its DSpark draft in dspark/; Lightning MTP # runs it through the same block-drafter verify path. @@ -4553,6 +4637,15 @@ def get_status(self) -> dict: """ Get pool status for monitoring endpoints. + ``engine_type`` stays the model's configured engine. ``effective_engine`` + names the engine that actually serves it right now, and the ``dflash_*`` + keys separate a real DFlash load from a silent fallback (issue #2896): + requested and active both true means the DFlash drafter serves the + model; requested true with active false carries + ``dflash_fallback_reason``; requested false means DFlash was never + asked for. All four describe the live engine and reset when the model + unloads. + Returns: Dictionary with pool status information """ @@ -4584,6 +4677,10 @@ def get_status(self) -> dict: "external_engine": external_engine, "pinned": e.is_pinned, "engine_type": e.engine_type, + "effective_engine": e.effective_engine, + "dflash_requested": e.dflash_requested, + "dflash_active": e.dflash_active, + "dflash_fallback_reason": e.dflash_fallback_reason, "model_type": e.model_type, "config_model_type": e.config_model_type, "realtime_stt": is_realtime_stt_model( diff --git a/tests/test_dflash_effective_state.py b/tests/test_dflash_effective_state.py new file mode 100644 index 0000000000..e72520b199 --- /dev/null +++ b/tests/test_dflash_effective_state.py @@ -0,0 +1,295 @@ +# SPDX-License-Identifier: Apache-2.0 +"""Tests for requested-versus-effective DFlash state (issue #2896). + +A DFlash request fails soft: a declined or failed batched drafter leaves the +model's natural engine serving, and the request still succeeds with 200. +Before this, an API client had no way to tell a real DFlash load from that +fallback. `/v1/models/status` now carries `effective_engine`, +`dflash_requested`, `dflash_active`, and a redacted `dflash_fallback_reason`. +""" + +import json +from unittest.mock import AsyncMock, MagicMock, patch + +import pytest + +from omlx.engine_pool import ( + _MAX_FALLBACK_REASON_CHARS, + EnginePool, + _sanitized_fallback_reason, +) +from omlx.model_settings import ModelSettings + + +def _make_pool(model_dir) -> EnginePool: + pool = EnginePool() + pool._get_final_ceiling = lambda: 0 + pool.discover_models(str(model_dir)) + return pool + + +@pytest.fixture +def model_dir(tmp_path): + """One tiny DFlash-capable LLM model directory; loading is always mocked.""" + model_a = tmp_path / "model-a" + model_a.mkdir() + (model_a / "config.json").write_text(json.dumps({"model_type": "qwen3"})) + (model_a / "model.safetensors").write_bytes(b"0" * 1024) + return tmp_path + + +def _batched_engine() -> MagicMock: + engine = MagicMock() + engine.start = AsyncMock() + return engine + + +def _dflash_settings(**overrides) -> ModelSettings: + values = {"dflash_enabled": True, "dflash_draft_model": "draft-model"} + values.update(overrides) + return ModelSettings(**values) + + +def _status_for(pool: EnginePool, model_id: str) -> dict: + return next(m for m in pool.get_status()["models"] if m["id"] == model_id) + + +class TestDFlashDrafterAttached: + @pytest.mark.asyncio + async def test_attached_drafter_reports_active_dflash(self, model_dir): + pool = _make_pool(model_dir) + + with ( + patch("omlx.engine_pool.BatchedEngine", return_value=_batched_engine()), + patch("omlx.engine_pool.load_dflash_drafter", return_value=object()), + ): + await pool._load_engine("model-a", runtime_settings=_dflash_settings()) + + status = _status_for(pool, "model-a") + assert status["engine_type"] == "batched" + assert status["effective_engine"] == "batched" + assert status["dflash_requested"] is True + assert status["dflash_active"] is True + assert status["dflash_fallback_reason"] is None + + +class TestDFlashRequestedButFellBack: + @pytest.mark.asyncio + async def test_drafter_load_failure_reports_inactive_dflash_with_reason( + self, model_dir + ): + pool = _make_pool(model_dir) + + with ( + patch("omlx.engine_pool.BatchedEngine", return_value=_batched_engine()), + patch( + "omlx.engine_pool.load_dflash_drafter", + side_effect=ValueError( + "Received parameters not in model: " + "candidate_selector.predecessor_codebook" + ), + ), + ): + await pool._load_engine("model-a", runtime_settings=_dflash_settings()) + + status = _status_for(pool, "model-a") + assert status["loaded"] is True + assert status["effective_engine"] == "batched" + assert status["dflash_requested"] is True + assert status["dflash_active"] is False + assert status["dflash_fallback_reason"] == ( + "DFlash drafter load failed: ValueError: Received parameters not in " + "model: candidate_selector.predecessor_codebook" + ) + + @pytest.mark.asyncio + async def test_drafter_failure_reason_hides_checkpoint_path(self, model_dir): + pool = _make_pool(model_dir) + + with ( + patch("omlx.engine_pool.BatchedEngine", return_value=_batched_engine()), + patch( + "omlx.engine_pool.load_dflash_drafter", + side_effect=RuntimeError( + "draft checkpoint /Users/someone/models/draft/model." + "safetensors is unreadable" + ), + ), + ): + await pool._load_engine("model-a", runtime_settings=_dflash_settings()) + + status = _status_for(pool, "model-a") + assert status["dflash_requested"] is True + assert status["dflash_active"] is False + reason = status["dflash_fallback_reason"] + assert reason.startswith("DFlash drafter load failed: RuntimeError:") + assert "" in reason + assert "/Users/someone" not in reason + + @pytest.mark.asyncio + async def test_enabled_without_draft_model_is_reported(self, model_dir): + pool = _make_pool(model_dir) + + with patch("omlx.engine_pool.BatchedEngine", return_value=_batched_engine()): + await pool._load_engine( + "model-a", + runtime_settings=_dflash_settings(dflash_draft_model=None), + ) + + status = _status_for(pool, "model-a") + assert status["effective_engine"] == "batched" + assert status["dflash_requested"] is True + assert status["dflash_active"] is False + assert status["dflash_fallback_reason"] == ( + "DFlash is enabled but no draft model is configured" + ) + + @pytest.mark.asyncio + async def test_unsupported_model_type_reports_reason(self, model_dir): + pool = _make_pool(model_dir) + pool.get_entry("model-a").config_model_type = "llama" + + with patch("omlx.engine_pool.BatchedEngine", return_value=_batched_engine()): + await pool._load_engine("model-a", runtime_settings=_dflash_settings()) + + status = _status_for(pool, "model-a") + assert status["effective_engine"] == "batched" + assert status["dflash_requested"] is True + assert status["dflash_active"] is False + assert status["dflash_fallback_reason"] == ( + "DFlash is not supported for this model type and engine" + ) + + +class TestDFlashNotRequested: + @pytest.mark.asyncio + async def test_plain_load_leaves_dflash_fields_clear(self, model_dir): + pool = _make_pool(model_dir) + + with patch("omlx.engine_pool.BatchedEngine", return_value=_batched_engine()): + await pool._load_engine("model-a", runtime_settings=ModelSettings()) + + status = _status_for(pool, "model-a") + assert status["effective_engine"] == "batched" + assert status["dflash_requested"] is False + assert status["dflash_active"] is False + assert status["dflash_fallback_reason"] is None + + def test_unloaded_model_reports_no_effective_engine(self, model_dir): + pool = _make_pool(model_dir) + + status = _status_for(pool, "model-a") + assert status["loaded"] is False + assert status["effective_engine"] is None + assert status["dflash_requested"] is False + assert status["dflash_active"] is False + assert status["dflash_fallback_reason"] is None + + +class TestEffectiveEngineIdentity: + @pytest.mark.asyncio + async def test_effective_engine_differs_from_configured_engine(self, model_dir): + """force_lm loads a VLM-configured model through BatchedEngine, so the + effective engine must not simply echo `engine_type`.""" + pool = _make_pool(model_dir) + entry = pool.get_entry("model-a") + entry.model_type = "vlm" + entry.engine_type = "vlm" + + with patch("omlx.engine_pool.BatchedEngine", return_value=_batched_engine()): + await pool._load_engine("model-a", force_lm=True) + + status = _status_for(pool, "model-a") + assert status["engine_type"] == "vlm" + assert status["effective_engine"] == "batched" + + @pytest.mark.asyncio + async def test_unload_clears_effective_state(self, model_dir): + pool = _make_pool(model_dir) + + with ( + patch("omlx.engine_pool.BatchedEngine", return_value=_batched_engine()), + patch("omlx.engine_pool.load_dflash_drafter", return_value=object()), + ): + await pool._load_engine("model-a", runtime_settings=_dflash_settings()) + assert _status_for(pool, "model-a")["dflash_active"] is True + + await pool._unload_engine("model-a") + + status = _status_for(pool, "model-a") + assert status["loaded"] is False + assert status["effective_engine"] is None + assert status["dflash_requested"] is False + assert status["dflash_active"] is False + assert status["dflash_fallback_reason"] is None + + +class TestStatusPayload: + """The new keys are additive: existing consumers keep every field they + already read, and the payload stays JSON-serializable for /v1/models/status. + """ + + _EXISTING_KEYS = { + "id", + "model_path", + "loaded", + "is_loading", + "loading_started_at", + "estimated_size", + "resident_estimated_size", + "distributed", + "actual_size", + "pinned", + "engine_type", + "model_type", + "config_model_type", + "realtime_stt", + "model_context_length", + "is_helper", + "thinking_default", + "preserve_thinking_default", + "source_type", + "source_repo_id", + "last_access", + } + _NEW_KEYS = { + "effective_engine", + "dflash_requested", + "dflash_active", + "dflash_fallback_reason", + } + + @pytest.mark.asyncio + async def test_payload_is_serializable_and_keeps_existing_keys(self, model_dir): + pool = _make_pool(model_dir) + + with patch("omlx.engine_pool.BatchedEngine", return_value=_batched_engine()): + await pool._load_engine("model-a", runtime_settings=ModelSettings()) + + status = pool.get_status() + assert json.loads(json.dumps(status)) == status + + keys = set(_status_for(pool, "model-a")) + assert keys >= self._EXISTING_KEYS + assert keys >= self._NEW_KEYS + + +class TestSanitizedFallbackReason: + def test_filesystem_paths_are_redacted(self): + reason = _sanitized_fallback_reason( + "cannot open /Users/me/models/draft/model.safetensors" + ) + assert reason == "cannot open " + + def test_multiline_text_collapses_to_one_line(self): + reason = _sanitized_fallback_reason( + 'Traceback (most recent call last):\n File "engine.py", line 4\n' + " raise ValueError(msg)\nValueError: bad draft" + ) + assert "\n" not in reason + assert reason.startswith("Traceback (most recent call last):") + + def test_long_text_is_truncated_to_the_budget(self): + reason = _sanitized_fallback_reason("mismatch: " + "weight, " * 200) + assert len(reason) <= _MAX_FALLBACK_REASON_CHARS + assert reason.endswith("...") From 13896f0c0f3c874668acb93bc362ea846cfd102b Mon Sep 17 00:00:00 2001 From: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> Date: Sat, 22 Aug 2026 11:18:42 -0500 Subject: [PATCH 2/4] fix(dflash): redact space-containing and quoted paths in fallback reasons The path regex excluded whitespace, so /Users/Joshua Warren/... leaked unredacted into the API status response. Match path segments up to delimiters instead of whitespace, and add regression tests for spaced paths, quoted paths, and the a/b ratio non-path. --- omlx/engine_pool.py | 2 +- tests/test_dflash_effective_state.py | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/omlx/engine_pool.py b/omlx/engine_pool.py index 3fd7457265..3e2a54cc5d 100644 --- a/omlx/engine_pool.py +++ b/omlx/engine_pool.py @@ -172,7 +172,7 @@ def build_claude_tier_aliases(claude_code_settings) -> dict[str, str]: # loader errors can embed absolute checkpoint paths and, when an inner # exception was formatted with its traceback, whole stack frames. _MAX_FALLBACK_REASON_CHARS = 200 -_PATHISH_RE = re.compile(r"~?(?:/[^\s/,;:'\"]+){2,}/?") +_PATHISH_RE = re.compile(r"~?/(?:[^,;:'\"()\[\]{}]+/)+[^,;:'\"()\[\]{}]*") # Effective engine identity per engine class, for clients that must assert # which backend actually serves a model (issue #2896). _ENGINE_KIND_BY_CLASS = { diff --git a/tests/test_dflash_effective_state.py b/tests/test_dflash_effective_state.py index e72520b199..8b95564456 100644 --- a/tests/test_dflash_effective_state.py +++ b/tests/test_dflash_effective_state.py @@ -281,6 +281,24 @@ def test_filesystem_paths_are_redacted(self): ) assert reason == "cannot open " + def test_paths_with_spaces_are_redacted(self): + reason = _sanitized_fallback_reason( + "cannot open /Users/Joshua Warren/models/draft/model.safetensors" + ) + assert reason == "cannot open " + + def test_quoted_path_is_redacted(self): + reason = _sanitized_fallback_reason( + "DFlash start failed: FileNotFoundError: [Errno 2] " + "No such file or directory: '/opt/models/draft.safetensors'" + ) + assert "/opt/models" not in reason + assert "" in reason + + def test_ratio_is_not_a_path(self): + reason = _sanitized_fallback_reason("the ratio a/b is wrong") + assert reason == "the ratio a/b is wrong" + def test_multiline_text_collapses_to_one_line(self): reason = _sanitized_fallback_reason( 'Traceback (most recent call last):\n File "engine.py", line 4\n' From 392d6b7041fdf9a1520436a4cea9722bdb59de36 Mon Sep 17 00:00:00 2001 From: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> Date: Sat, 24 Oct 2026 23:41:51 -0500 Subject: [PATCH 3/4] Report why decision models decline a DFlash request Signed-off-by: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> --- omlx/engine_pool.py | 4 ++++ tests/test_dflash_effective_state.py | 14 ++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/omlx/engine_pool.py b/omlx/engine_pool.py index 3e2a54cc5d..f789b06f13 100644 --- a/omlx/engine_pool.py +++ b/omlx/engine_pool.py @@ -4060,6 +4060,10 @@ async def _load_engine( entry.dflash_fallback_reason = ( "DFlash is not supported with an external engine" ) + elif dflash_enabled and effective_type == "decision": + entry.dflash_fallback_reason = ( + "DFlash is not supported for decision models" + ) if ( engine is None and deployment is None diff --git a/tests/test_dflash_effective_state.py b/tests/test_dflash_effective_state.py index 8b95564456..14a6a50ab0 100644 --- a/tests/test_dflash_effective_state.py +++ b/tests/test_dflash_effective_state.py @@ -160,6 +160,20 @@ async def test_unsupported_model_type_reports_reason(self, model_dir): "DFlash is not supported for this model type and engine" ) + @pytest.mark.asyncio + async def test_decision_model_reports_declined_dflash(self, model_dir): + pool = _make_pool(model_dir) + pool.get_entry("model-a").engine_type = "decision" + with patch("omlx.engine_pool.DecisionEngine", return_value=_batched_engine()): + await pool._load_engine("model-a", runtime_settings=_dflash_settings()) + status = _status_for(pool, "model-a") + assert status["effective_engine"] == "decision" + assert status["dflash_requested"] is True + assert status["dflash_active"] is False + assert status["dflash_fallback_reason"] == ( + "DFlash is not supported for decision models" + ) + class TestDFlashNotRequested: @pytest.mark.asyncio From 3c7c185b8c280b615fe3bd36791998a44478e0de Mon Sep 17 00:00:00 2001 From: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> Date: Sat, 24 Oct 2026 23:45:01 -0500 Subject: [PATCH 4/4] List decision engines in the effective-state API documentation Signed-off-by: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> --- docs/experimental/dflash_mlx_integration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/experimental/dflash_mlx_integration.md b/docs/experimental/dflash_mlx_integration.md index 879a7199b6..244d2ae1aa 100644 --- a/docs/experimental/dflash_mlx_integration.md +++ b/docs/experimental/dflash_mlx_integration.md @@ -69,7 +69,7 @@ A DFlash request fails soft: a declined or failed drafter leaves the model's nat | Field | Type | Meaning | |-------|------|---------| | `engine_type` | str | Configured engine for the model (unchanged) | -| `effective_engine` | str \| null | Engine serving the model now: `batched`, `vlm`, `distributed`, `splash`, `embedding`, `reranker`, `audio_stt`, `audio_tts`, `audio_sts`. `null` when not loaded | +| `effective_engine` | str \| null | Engine serving the model now: `batched`, `vlm`, `distributed`, `splash`, `decision`, `embedding`, `reranker`, `audio_stt`, `audio_tts`, `audio_sts`. `null` when not loaded | | `dflash_requested` | bool | `dflash_enabled` was set for this load | | `dflash_active` | bool | The batched DFlash drafter is loaded and serving | | `dflash_fallback_reason` | str \| null | Why a requested DFlash load is not active. Bounded and path-redacted, truncated to 200 characters |