Skip to content

Commit

Permalink
#12110: Downgrade ttnn op tensor check for if tensor is allocated to …
Browse files Browse the repository at this point in the history
…log_debug

It seems like for some ops (ex move) this is expected and the op works with the tensor deallocated. This is polluting output of some models like Resnet and also confusing users since there isn't an actual problem
  • Loading branch information
tt-aho committed Oct 15, 2024
1 parent 4a60ac9 commit f6e5102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ttnn/cpp/ttnn/device_operation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ struct CheckDeviceBufferIsAllocated {

void operator()(const Tensor& tensor) {
if (not tensor.is_allocated()) {
tt::log_warning(tt::LogOp, "Tensor at index {} is not allocated", index);
tt::log_debug(tt::LogOp, "Tensor at index {} is not allocated", index);
}
index++;
}
Expand Down

0 comments on commit f6e5102

Please sign in to comment.