Skip to content

Commit

Permalink
fix vit-b 4 batch prob
Browse files Browse the repository at this point in the history
Change-Id: I5194338845ab3ec879cbce9521a77e855f675945
  • Loading branch information
charlesxzb committed Jul 12, 2024
1 parent 2f60d00 commit 3fe7a13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Dialect/Tpu/Transforms/LayerGroup/GroupMethod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static bool can_be_group_small_c(std::vector<Operation *> &group_ops) {
shape[0] * shape[1] * shape[2] * shape[3] % Arch::NPU_NUM == 0)) {
continue;
}
if ((shape.size() == 3 && shape[0] > 1 && shape[1] == 197)) {
if ((shape.size() == 3 && shape[0] > 4 && shape[1] == 197)) {
continue;
}

Expand Down

0 comments on commit 3fe7a13

Please sign in to comment.