[PR #708] [CLOSED] serve: --mtp is optional #2779

Closed
opened 2026-11-04 02:03:04 +07:00 by bsakaguchi · 0 comments
Owner

📋 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)

📊 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

serve required --mtp DIR, although generate already runs without it. Without the draft layer, serve now drafts with the suffix/prompt-lookup drafter only (or one token per round), the same way generate does. 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.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/708 **Author:** [@merbanan](https://github.com/merbanan) **Created:** 10/4/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/serve-optional-mtp` --- ### 📝 Commits (1) - [`d44efbe`](https://github.com/Niko1221/Strata/commit/d44efbeaff4f4e96fc7ca29c4245143a01cb6794) serve: --mtp is optional ### 📊 Changes **3 files changed** (+34 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `docs/DETAILS.md` (+6 -0) 📝 `docs/ORCA.md` (+2 -1) 📝 `src/program/generate.cpp` (+26 -16) </details> ### 📄 Description `serve` required `--mtp DIR`, although `generate` already runs without it. Without the draft layer, `serve` now drafts with the suffix/prompt-lookup drafter only (or one token per round), the same way `generate` does. 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-04 02:03:04 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2779
No description provided.