Skip to content

feat(mac): Add VLM MTP toggle to model settings#1654

Merged
jundot merged 1 commit into
jundot:mainfrom
jabagawee:feat/native-vlm-mtp-toggle
Jun 4, 2026
Merged

feat(mac): Add VLM MTP toggle to model settings#1654
jundot merged 1 commit into
jundot:mainfrom
jabagawee:feat/native-vlm-mtp-toggle

Conversation

@jabagawee

Copy link
Copy Markdown
Contributor

The 0.4.1 server and web dashboard already support VLM MTP (vlm_mtp_enabled / vlm_mtp_draft_model / vlm_mtp_draft_block_size), but the native app's Advanced page doesn't expose a toggle for it, so the feature can only be enabled from the web dashboard or by editing model_settings.json. This commit surfaces it in the native app, mirroring the existing Native MTP and DFlash plumbing: the settings DTO and patch body, the profile-eligible keys, the server load, profile-dict persistence, and a toggle row that reveals an assistant-drafter picker and a draft-block-size field when enabled.

Fixes #1648.

The 0.4.1 server and web dashboard already support VLM MTP
(vlm_mtp_enabled / vlm_mtp_draft_model / vlm_mtp_draft_block_size),
but the native app's Advanced page doesn't expose a toggle for it,
so the feature can only be enabled from the web dashboard or by
editing model_settings.json. This commit surfaces it in the native
app, mirroring the existing Native MTP and DFlash plumbing: the
settings DTO and patch body, the profile-eligible keys, the server
load, profile-dict persistence, and a toggle row that reveals an
assistant-drafter picker and a draft-block-size field when enabled.

Fixes jundot#1648.
@jundot

jundot commented Jun 4, 2026

Copy link
Copy Markdown
Owner

Thanks for adding this. I checked the merged result against current main, and the Mac app build/tests pass. The DTO/profile paths match the existing web settings, and storing the drafter model id is consistent with the engine_pool resolution path.

One thing I'll fold into a follow-up commit: the existing TurboQuant/DFlash/SpecPrefill rows should also disable while VLM MTP is on, matching the web modal, so the native UI can't stage a server-rejected combination. This looks good to me, and I'm going to merge it.

@jundot jundot merged commit 695a8fd into jundot:main Jun 4, 2026
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.

Native MacOS app missing toggle (present in web UI) for VLM MTP in model advanced settings

2 participants