Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion backends/vulkan/runtime/graph/ComputeGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1134,8 +1134,9 @@ void ComputeGraph::clear_deferred_cmds() {
void ComputeGraph::prepack() {
int i = 0;
bool submitted = false;
const bool reduce_peak_memory = total_constant_nbytes_ > 500 * MB;
const bool reduce_peak_memory = total_constant_nbytes_ > 10 * MB;
// int count = 0;

context_->set_cmd();
for (std::unique_ptr<PrepackNode>& node : prepack_nodes_) {
// Do not trigger on the first or last prepack node.
Expand Down
Loading