mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #134] [CLOSED] setup: count the 3-bit models' 262K context against RAM, not a fixed 90 GB #2476
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#2476
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/134
Author: @architectds
Created: 9/29/2026
Status: ❌ Closed
Base:
main← Head:pr/context-ram📝 Commits (1)
fe4c97asetup: the 3-bit models' 262K context is counted against RAM, not a fixed 90 GB📊 Changes
1 file changed (+8 additions, -3 deletions)
View changed files
📝
setup.py(+8 -3)📄 Description
The second piece from #103, as you suggested.
setup.pycuts IQ3_S and IQ3_XXS asked for 262K down to 128K on any machine under 90 GB of RAM. With KV streaming, the context costs mostly RAM, so this PR counts the need instead: the experts' arena, plus the context's 8-bit KV (~13.7 KB a token, the same figure setup uses for--kv-resident), plus 24 GB of room for everything else.Measured: a Colab A100-40G (83.5 GiB of RAM) runs IQ3_S at 262K with images in 56 GiB.
The check still only applies above 128K, and it still uses the 8-bit KV figure, because the KV precision is asked after the context. Nothing else changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.