Skip to content

Commit

Permalink
Qualcomm AI Engine Direct - Optimize memory usage at runtime (pytorch…
Browse files Browse the repository at this point in the history
…#7003)

Qualcomm AI Engine Direct - Optimize memory at runtime
  • Loading branch information
shewu-quic authored Nov 21, 2024
1 parent 2c65b97 commit 96a9d35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backends/qualcomm/runtime/QnnExecuTorchBackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ Result<DelegateHandle*> QnnExecuTorchBackend::init(
}
}
add_cached_delegate(signature, qnn_manager);
// This backend does not need its processed data after Init.
processed->Free();
return qnn_manager;
}

Expand Down

0 comments on commit 96a9d35

Please sign in to comment.