[PR #1247] [CLOSED] prefill: --prefill-help and --prefill-help-frac as the official flags for the idle-stage helper #3336

Closed
opened 2026-11-07 14:40:45 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1247
Author: @anon761
Created: 10/6/2026
Status: ❌ Closed

Base: main ← Head: prefill-help-flag


📝 Commits (1)

  • fea3bf4 prefill: --prefill-help and --prefill-help-frac as the official flags for the idle-stage helper (the envs stay honoured)

📊 Changes

1 file changed (+20 additions, -0 deletions)

View changed files

📝 src/program/generate.cpp (+20 -0)

📄 Description

STRATA_PREFILL_HELP / STRATA_PREFILL_HELP_FRAC already do the work, but env-only is awkward when every other knob has a flag. These two set them before Prefill reads them, so the behavior is identical and repeatable; the envs stay honoured for existing configs.\n\nMeasured on a two-card layer split (2x RTX 3090): about +30% prompt-read time on small prompts (~1.4K tokens), where the second card otherwise sits idle during the first chunk.


🔄 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/1247 **Author:** [@anon761](https://github.com/anon761) **Created:** 10/6/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `prefill-help-flag` --- ### 📝 Commits (1) - [`fea3bf4`](https://github.com/Niko1221/Strata/commit/fea3bf4d514ea254844dab28855b18d78f1d2d91) prefill: --prefill-help and --prefill-help-frac as the official flags for the idle-stage helper (the envs stay honoured) ### 📊 Changes **1 file changed** (+20 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/program/generate.cpp` (+20 -0) </details> ### 📄 Description `STRATA_PREFILL_HELP` / `STRATA_PREFILL_HELP_FRAC` already do the work, but env-only is awkward when every other knob has a flag. These two set them before Prefill reads them, so the behavior is identical and repeatable; the envs stay honoured for existing configs.\n\nMeasured on a two-card layer split (2x RTX 3090): about +30% prompt-read time on small prompts (~1.4K tokens), where the second card otherwise sits idle during the first chunk. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 14:40:45 +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#3336
No description provided.