Skip to content

Commit

Permalink
fix:wrong output stream emplace (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
lausannel authored May 1, 2024
1 parent 912abad commit 925e9e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/parallel/expert_dispatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ExpertDispatcher::ExpertDispatcher(int num_experts, int num_layers, int dtype, i

cudaStream_t out_stream;
cudaStreamCreateWithFlags(&out_stream, cudaStreamNonBlocking);
out_streams_.emplace_back(fetch_stream);
out_streams_.emplace_back(out_stream);
}

for (int i = 0; i < num_gpu; ++i) {
Expand Down

0 comments on commit 925e9e0

Please sign in to comment.