Skip to content

models: lower qwen3.5 0.8b/2b/4b footprint, note the mmap scope in the docs - #902

Merged
tawei-amd merged 1 commit into
mainfrom
docs/qwen35-footprint
Oct 31, 2026
Merged

tawei-amd merged 1 commit into
mainfrom
docs/qwen35-footprint

Conversation

@tawei-amd

Copy link
Copy Markdown
Collaborator

What

Follow-up to #901. Lowers footprint in src/model_list.json for the Qwen3.5 models whose token embeddings are now memory-mapped, and says in the model cards that only these three are covered.

model footprint before after
qwen3.5:0.8b 1.3 0.9
qwen3.5:2b 3.1 2.2
qwen3.5:4b 5.0 3.9

The 9B and every other model are unchanged: they still keep their embedding tables in RAM (noted on the cards).

How measured

Linux XRT, default 32768 context, flm serve, one chat round, old engine libraries vs the shipped (#901) ones. Process RSS (VmRSS) after chat:

model old new saving
0.8b 2130 MiB 1663 MiB 0.46 GiB
2b 3884 MiB 2939 MiB 0.92 GiB
4b 6411 MiB 5223 MiB 1.16 GiB

Decode speed is unchanged (45.8 / 27.9 / 15.2 tok/s, old and new).

The old footprint values do not equal any single RSS figure I could reproduce, so the new values are the old ones minus the measured saving, rounded up to 0.1 GiB.

Windows and HRX were not measured.

🤖 Generated with Claude Code

…beddings; note the scope in the docs

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@tawei-amd
tawei-amd marked this pull request as ready for review October 31, 2026 05:24
@tawei-amd
tawei-amd merged commit ec2395b into main Oct 31, 2026
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant