Skip to content

Commit

Permalink
fix torch_npu adpater
Browse files Browse the repository at this point in the history
  • Loading branch information
momo609 committed Nov 7, 2023
1 parent 1b55643 commit 6919f48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mmcv/ops/csrc/common/pytorch_npu_helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#define NPU_NAME_SPACE at_npu::native

const int SIZE = 8;
c10::SmallVector<int64_t, SIZE> array_to_small_vector(c10::IntArrayRef shape)
{
c10::SmallVector<int64_t, SIZE> shape_small_vec;
Expand Down

0 comments on commit 6919f48

Please sign in to comment.