]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
[CANN]: Fix ggml_backend_cann_buffer_get_tensor (#8871)
authorMengqing Cao <redacted>
Tue, 6 Aug 2024 04:42:42 +0000 (12:42 +0800)
committerGitHub <redacted>
Tue, 6 Aug 2024 04:42:42 +0000 (12:42 +0800)
commitc21a896405de4cdf4207eb8130555ceaac0ab110
treee8a379dc9a5fa292c64c3570a13474ed5975c995
parentd4ff847153e9cf7220d1b39aa21172069e6e8cea
[CANN]: Fix ggml_backend_cann_buffer_get_tensor (#8871)

* cann: fix ggml_backend_cann_buffer_get_tensor

 1. fix data ptr offset
 2. enable the acquisition of incomplete tensors

* fix backend cann set_tensor
ggml/src/ggml-cann.cpp