-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conv2dConfig reallocate_halo_output default to true
Idea behind this flag is to enable reallocation of halo output buffer in place of input buffer if case deallocate_activation flag is also set. In this case halo output is moved up and memory fragmentation is reduced. In case deallocate_activation is not set reallocate_halo_output won't have an effect as ttnn::move will be a no-op since input buffer is not deallocated. Current problem is that if user sets deallocate_activation it doesn't help them with memory issue unless they set reallocate_halo_output as well. This change is addressing this by setting reallocate_halo_output to true by default. This helps by increassing pass rate in ttnn torch traces.
- Loading branch information
Pavle Josipovic
committed
Jan 7, 2025
1 parent
932ee21
commit 51652b4
Showing
2 changed files
with
8 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters