mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 21:05:40 +07:00
[PR #708] [CLOSED] serve: --mtp is optional #2779
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2779
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/708
Author: @merbanan
Created: 10/4/2026
Status: ❌ Closed
Base:
main← Head:feat/serve-optional-mtp📝 Commits (1)
d44efbeserve: --mtp is optional📊 Changes
3 files changed (+34 additions, -17 deletions)
View changed files
📝
docs/DETAILS.md(+6 -0)📝
docs/ORCA.md(+2 -1)📝
src/program/generate.cpp(+26 -16)📄 Description
serverequired--mtp DIR, althoughgeneratealready runs without it. Without the draft layer,servenow drafts with the suffix/prompt-lookup drafter only (or one token per round), the same waygeneratedoes. Every token is still verified against the model, so the output is the model's own; only speed changes.This is useful on small cards: the draft layer and its head take roughly 0.7–1 GiB of VRAM, which goes to the expert cache instead. In an A/B on an RTX 2060 SUPER 8 GB, the cache grew from 1,000 to 1,678 slots.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.