docs: memory footprint & host-link streaming analysis#78
Closed
booth-algo wants to merge 2 commits into
Closed
Conversation
Notes on why SmolVLM2-256M (~288MB weights at MXFP8 + KV) fits in 512MB onboard DDR and needs no weight streaming, plus a DDR3-vs-host-link (USB2/PCIe) bandwidth + latency comparison for the Nexys Video and V80 targets, and how to validate the footprint with the LayerSwapping model.
A PCIe 2.0 x4 host link (~1.6-1.8 GB/s effective) reaches parity with the local single-chip DDR3, so weight streaming (HostStream/LayerSwapping) flips from hopeless (USB2) to viable — main value being the lifted 512MB capacity ceiling. Adds the board-table row, a §5.1 subsection (numbers, implications, latency caveat, perf sketch), and a bottom-line note.
booth-algo
added a commit
that referenced
this pull request
Jun 2, 2026
Consolidates the memory-footprint / PCIe-vs-DDR3 streaming reference doc (previously PR #78) into this combined WIP reference PR.
Collaborator
Author
|
Consolidated into #58 (combined WIP reference PR) — the memory-footprint doc now lives on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
doc/memory-footprint-and-streaming.md— reasoning notes on:HostStream/LayerSwappingmodels (lib/memory/src/streaming.rs) are for weights-exceed-DDR; for this model use plain resident DDR (no streaming).LayerSwappingwithcapacity = 512 MBand confirm zero swaps; note the emulator currently models DDR as 128 GiB so the limit isn't enforced today.Captured from a design discussion; no code changes.