onnxruntime
Add size threshold to prevent constant folding from inflating model memory footprint
#28204
Open

Add size threshold to prevent constant folding from inflating model memory footprint #28204

copilot-swe-agent
Copilot Initial plan
80f98728
copilot-swe-agent copilot-swe-agent assigned copilot-swe-agent copilot-swe-agent 119 days ago
copilot-swe-agent copilot-swe-agent assigned xadupre xadupre 119 days ago
Copilot Add constant folding size threshold config option
768d7419
Copilot Rename threshold variable to output_size_threshold for clarity
43b5cf0b
copilot-swe-agent copilot-swe-agent changed the title [WIP] Add a threshold to disable constant folding when memory exceeds limit Add size threshold to prevent constant folding from inflating model memory footprint 119 days ago
copilot-swe-agent copilot-swe-agent requested a review from xadupre xadupre 119 days ago
xadupre
xadupre commented on 2026-04-23
xadupre
xadupre commented on 2026-04-23
Copilot Move constant folding size threshold check before computation
38c9da76
copilot-swe-agent copilot-swe-agent requested a review from xadupre xadupre 119 days ago
Copilot Account for freed inputs in size threshold: compare net memory increase
b3a5439c
Copilot Fix lambda capture in test: use [] instead of [&] for build_tile_graph
dea8badc

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
Labels
Milestone