mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #3559] [CLOSED] [Engine] native_dense: STRATA_HC_Q8 uploads only the stage's own Q8_0 rows on a trimmed layer split #4689
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#4689
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/3559
Author: @havok2-htwo
Created: 10/21/2026
Status: ❌ Closed
Base:
main← Head:hcq8-020-beta📝 Commits (1)
023b396native_dense: STRATA_HC_Q8 uploads only the stage's own Q8_0 rows on a trimmed layer split📊 Changes
1 file changed (+2 additions, -0 deletions)
View changed files
📝
src/core/native_dense.cpp(+2 -0)📄 Description
[Engine] native_dense: STRATA_HC_Q8 uploads only the stage's own Q8_0 rows on a trimmed layer split
Problem
With
--trim-stage-weightsandSTRATA_HC_Q8=1, the loop that attaches the GGUF's Q8_0 hyper-connection rows does not skip other stages' layers. Each trimmed card uploads all 48 layers' rows and reads only its own. Observed: 0.63 GiB per card with UD-IQ4_XS.Change
src/core/native_dense.cpp, +2 lines: the loop skips a tensor whenoutside(name) || !in_range(name), the filter the upload loop above it already uses. No value changes; without stage trimin_rangepasses every layer, so nothing changes.Validation
3d1fb480plus this commit (023b3962), CUDA sm_86 build with setup-style flags, 4x RTX 3090 24 GB.--layer-split 12,25,37 --trim-stage-weights,STRATA_HC_Q8=1, 16 slots, greedy.STRATA_HC_Q8=1: ... GiBline: stock 0.63 / 0.63 / 0.63 / 0.63; with this change 0.16 / 0.18 / 0.16 / 0.15.tools/batch_test.py --batch 16 --n 16 --max-new 128, same expert cache on every card): solo 16/16 and batch 16/16 identical between stock and this change.Not tested
HIP, Metal and SYCL builds (this file is compiled there, but not built here), 2- and 3-GPU splits,
--layer-split auto, long prompts, other models.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
[PR #3559] [Engine] native_dense: STRATA_HC_Q8 uploads only the stage's own Q8_0 rows on a trimmed layer splitto [PR #3559] [CLOSED] [Engine] native_dense: STRATA_HC_Q8 uploads only the stage's own Q8_0 rows on a trimmed layer split