-
Notifications
You must be signed in to change notification settings - Fork 12.5k
docker : add cann build pipline #14591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have time to test this, but the code looks OK
Also cc @ggerganov if you want to have a look
Co-authored-by: Xuan-Son Nguyen <[email protected]>
Thank you for your contribution. Please fix CI failures. |
@@ -1911,6 +1911,9 @@ static bool ggml_backend_cann_cpy_tensor_async( | |||
(ggml_backend_cann_context*)backend_dst->context; | |||
|
|||
size_t copy_size = ggml_nbytes(dst); | |||
if (copy_size == 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious, could there be a scenario where copy_size is 0?
This pull request significantly enhances the build process for
llama.cpp
with Huawei's CANN backend.