Add size threshold to prevent constant folding from inflating model memory footprint #28204
Initial plan
80f98728
Add constant folding size threshold config option
768d7419
Rename threshold variable to output_size_threshold for clarity
43b5cf0b
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
Move constant folding size threshold check before computation
38c9da76
Account for freed inputs in size threshold: compare net memory increase
b3a5439c
Fix lambda capture in test: use [] instead of [&] for build_tile_graph
dea8badc
Login to write a write a comment.
Login via GitHub