mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
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#5122
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/4639
Author: @ctr-137
Created: 10/29/2026
Status: 🔄 Open
Base:
main← Head:sycl-preserve-zero-env📝 Commits (1)
14f9391[SYCL] preserve STRATA_* environment values of 0 in strata-sycl.sh (#4546)📊 Changes
1 file changed (+3 additions, -2 deletions)
View changed files
📝
sycl/serve/strata-sycl.sh(+3 -2)📄 Description
Fixes #4546.
Problem
strata-sycl.shcopied everySTRATA_*(and a handful of other) environment variable from the host into the container, then dropped any whose value was0or empty, on the assumption that "the engine tests the switches by presence". That dropped a documented value such asSTRATA_PREFILL_MMQ=0(the FP16 prompt path): the switch never reached the engine and the intended FP16 path had to be enabled with the string "off", which worked only by accident.Result
Only an empty value is now skipped. A value of
0is passed through verbatim, matching the documentedenvblock semantics ({"STRATA_PREFILL_MMQ": "0"}).The comment above the case has been updated accordingly.
Validation
Repository revision tested:
14f9391bon branchsycl-preserve-zero-env.Environment: Git Bash on Windows for the shell syntax check; change is POSIX shell syntax only.
Passed:
bash -n sycl/serve/strata-sycl.sh(shell syntax check)git diff --check(no conflict markers, no trailing whitespace)git diffFailed:
Not run:
--prefill-mmq 0against a running engine.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.