Skip to content

Commit

Permalink
#14453: Fix moreh_getitem assert bug (#14454)
Browse files Browse the repository at this point in the history
#14453: fix moreh_getitem assert bug
  • Loading branch information
hschoi4448 authored Oct 30, 2024
1 parent d4b7fc2 commit e05135b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,6 @@ void MorehGetItemOperation::MorehGetItemRmFactory::override_runtime_arguments(
auto index_dims = cached_program.shared_variables.index_dims;
auto input_dim_offset = cached_program.shared_variables.input_dim_offset;

TT_ASSERT(tensor_return_value.buffer()->size() == 1);

auto src_buffer = tensor_args.input.buffer();
auto dst_buffer = tensor_return_value.buffer();
auto index_tensors = tensor_args.index_tensors;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -555,8 +555,6 @@ void MorehGetItemOperation::MorehGetItemTilizedFactory::override_runtime_argumen
auto index_dims = cached_program.shared_variables.index_dims;
auto input_dim_offset = cached_program.shared_variables.input_dim_offset;

TT_ASSERT(tensor_return_value.buffer()->size() == 1);

auto src_buffer = tensor_args.input.buffer();
auto dst_buffer = tensor_return_value.buffer();
auto index_tensors = tensor_args.index_tensors;
Expand Down

0 comments on commit e05135b

Please sign in to comment.