Skip to content

Commit

Permalink
Data type update as some compilers fail building
Browse files Browse the repository at this point in the history
  • Loading branch information
cavusmustafa committed Jan 17, 2025
1 parent 542a718 commit b765bb2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ WeightINT4PackMMReplacer::WeightINT4PackMMReplacer() {
auto wt_const_flat = std::make_shared<v0::Constant>(wt_const->get_element_type(),
Shape({shape_size(wt_const->get_shape()), 1}),
wt_const->get_data_ptr<uint8_t>());
std::vector<uint64_t> broadcast_shape_vec(wt_const_flat->get_shape());
std::vector<size_t> broadcast_shape_vec(wt_const_flat->get_shape());
broadcast_shape_vec[1] = 8;
auto broadcast_shape_const = std::make_shared<v0::Constant>(element::i32, Shape({2}), broadcast_shape_vec);

Expand Down

0 comments on commit b765bb2

Please sign in to comment.