Skip to content

feat: check target memory against model peak memory benchmark - #12

Open
awphi wants to merge 1 commit into
mainfrom
memory-check
Open

awphi wants to merge 1 commit into
mainfrom
memory-check

Conversation

@awphi

@awphi awphi commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator
  • Adds a TARGET_MEMORY_KIB parameter which can be automatically filled by topo configure|clone --target (when used with experimental support added in feat(experimental): allow binding target facts to project parameters arm/topo#558) or filled in manually
  • Uses the specified target memory + memory benchmarks from the models on the portal to determine compatibility of the model at build time, prior to downloading any model weights or transferring any images

NOTE: This PR demonstrates (but does not wholly rely on) a feature gated behind TOPO_EXPERIMENTAL_FEATURES=1; topo configure --target. It's best not to merge this until that feature is finalized and generally available.

Signed-off-by: awphi <adam.hodson@arm.com>
@awphi
awphi requested a review from a team as a code owner October 28, 2026 14:24

@yejseo01 yejseo01 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

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.

2 participants