mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-03 09:22:01 +00:00 
			
		
		
		
	docker : add cann build pipline (#14591)
* docker: add cann build pipline * docker: add cann build pipline * docker: fix cann devops * cann : fix multi card hccl * Update ggml/src/ggml-cann/ggml-cann.cpp Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com> * Update ggml-cann.cpp --------- Co-authored-by: Georgi Gerganov <ggerganov@gmail.com> Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com>
This commit is contained in:
		@@ -2016,6 +2016,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) {
 | 
			
		||||
        return true;
 | 
			
		||||
    }
 | 
			
		||||
    if (backend_src != backend_dst) {
 | 
			
		||||
        ggml_backend_cann_buffer_context* buf_ctx_src =
 | 
			
		||||
            (ggml_backend_cann_buffer_context*)buf_src->context;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user