Skip to content

Commit

Permalink
change assert to a fatal
Browse files Browse the repository at this point in the history
  • Loading branch information
jjiangTT committed Feb 27, 2025
1 parent cdd61ff commit 58e542a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ttnn/cpp/ttnn/tensor/storage.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ struct MultiDeviceHostStorage {

TensorSpec get_tensor_spec(int spec_index) const {
std::lock_guard<std::mutex> lock(mtx);
TT_ASSERT(spec_index < specs.size(), "Spec for device {} not found in spec list, were buffer and spec added?", spec_index);
TT_FATAL(spec_index < specs.size(), "Spec for device {} not found in spec list", spec_index);
return specs[spec_index];
}

Expand Down

0 comments on commit 58e542a

Please sign in to comment.