ipex-llm/docker/llm/serving/xpu/docker/oneccl-binding.patch
Guancheng Fu 86fc0492f4
Update oneccl used (#11647)
* Add internal oneccl

* fix

* fix

* add oneccl
2024-07-26 09:38:39 +08:00

14 lines
560 B
Diff

diff --git a/src/gpu/dpcpp_ccl.cpp b/src/gpu/dpcpp_ccl.cpp
index 3bd8087..c5b5ce3 100644
--- a/src/gpu/dpcpp_ccl.cpp
+++ b/src/gpu/dpcpp_ccl.cpp
@@ -689,7 +689,8 @@ c10::intrusive_ptr<ProcessGroupCCL::AsyncWorkCCL> XPUCCLStubs::allreduce_(std::v
stream,
attr), stream.get_native());
});
- // printf("Use One CCL allreduce.\n");
+ stream.get_native().wait();
+ // printf("Use One CCL allreduce.\n");
return ret_evt;
},
c10d::OpType::ALLREDUCE);