From 58e542a970e8f81676b5d4da782b4de414ed6032 Mon Sep 17 00:00:00 2001 From: Jeffrey Jiang Date: Tue, 25 Feb 2025 23:11:21 -0600 Subject: [PATCH] change assert to a fatal --- ttnn/cpp/ttnn/tensor/storage.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ttnn/cpp/ttnn/tensor/storage.hpp b/ttnn/cpp/ttnn/tensor/storage.hpp index bc5478751a9..03dd1e7c752 100644 --- a/ttnn/cpp/ttnn/tensor/storage.hpp +++ b/ttnn/cpp/ttnn/tensor/storage.hpp @@ -200,7 +200,7 @@ struct MultiDeviceHostStorage { TensorSpec get_tensor_spec(int spec_index) const { std::lock_guard 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]; }