Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extension/llm/custom_ops/op_sdpa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ void cpu_flash_attention(
/* qk_sum */ qSplitSize +
/* dst */ qSplitSize * headSize;

int64_t size_bytes = size_per_thread * num_thread * query.element_size() * 4;
int64_t size_bytes = size_per_thread * num_thread * query.element_size();
std::vector<char> buf_vec(size_bytes);
void* buf = reinterpret_cast<void*>(buf_vec.data());
// Need to double check the following
Expand Down
Loading