Skip to content

Measure static-link allocation calls in single-model reuse - #36

Merged
PyYoshi merged 1 commit into
devfrom
v3/model-allocation-probe
Sep 20, 2026
Merged

PyYoshi merged 1 commit into
devfrom
v3/model-allocation-probe

Conversation

@PyYoshi

@PyYoshi PyYoshi commented Sep 20, 2026

Copy link
Copy Markdown
Owner

概要

  • 64-bit Linux/Itanium ABI の standalone 診断toolだけで8種のallocation/deallocation API call-siteを計測
  • 全8経路の自己検証後、128 warm-up + 1回のreuseを観測し、通常版snapshot/reset結果と照合
  • 時間測定との併用を拒否。shared-library内部・aligned等・物理allocation数・peak memoryは対象外と明記
  • engine、公開API、model table、標準buildを変更しない

検証

  • native環境付きモデルsuite: 86 tests passed
  • allocation計測テスト: GCC / Clangとも成功
  • Paris validation 16文書 × legacy/identity/filteredで対象call-siteが全て0回、通常版観測と一致
  • Ruff E/F, git diff --check

この結果は全detectorのallocation/memory gate達成を意味しません。P01も再開しません。

@PyYoshi
PyYoshi marked this pull request as ready for review September 20, 2026 22:14
@PyYoshi
PyYoshi merged commit df0ef39 into dev Sep 20, 2026
11 checks passed
@PyYoshi
PyYoshi deleted the v3/model-allocation-probe branch September 20, 2026 22:14
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