Skip to content

Commit

Permalink
Build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dakenf committed Oct 3, 2023
1 parent f9e3703 commit 37aa538
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onnxruntime/contrib_ops/js/bert/attention.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ class Attention : public JsKernel, AttentionBase {
static_cast<int32_t>(scale_),
static_cast<int32_t>(do_rotary_),
static_cast<int32_t>(qkv_hidden_sizes_.size()),
reinterpret_cast<uintptr_t>((qkv_sizes.size() > 0) ? qkv_sizes.data() : nullptr) >> 2),
static_cast<int32_t>(past_present_share_buffer_);
reinterpret_cast<uintptr_t>((qkv_sizes.size() > 0) ? qkv_sizes.data() : nullptr) >> 2,
static_cast<int32_t>(past_present_share_buffer_));
}
};

Expand Down

0 comments on commit 37aa538

Please sign in to comment.