Compare commits

...

3 Commits

Author SHA1 Message Date
Georgi Gerganov
65202d2985 sync : ggml 2025-05-01 09:59:02 +03:00
Diego Devesa
db1ff5b63a ggml : fix ggml_gallocr_ptr type (ggml/1205) 2025-05-01 09:32:45 +03:00
Georgi Gerganov
610df4cc3b cuda : fix unused variable compile warning (whisper/0)
ggml-ci
2025-05-01 09:32:42 +03:00
3 changed files with 4 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ typedef std::unique_ptr<gguf_context, gguf_context_deleter> gguf_context_ptr;
struct ggml_gallocr_deleter { void operator()(ggml_gallocr_t galloc) { ggml_gallocr_free(galloc); } };
typedef std::unique_ptr<ggml_gallocr_t, ggml_gallocr_deleter> ggml_gallocr_ptr;
typedef std::unique_ptr<ggml_gallocr, ggml_gallocr_deleter> ggml_gallocr_ptr;
// ggml-backend

View File

@@ -592,6 +592,8 @@ void ggml_cuda_cpy(ggml_backend_cuda_context & ctx, const ggml_tensor * src0, gg
dest_ptrs_d = ctx.cuda_graph->dest_ptrs_d;
graph_cpynode_index = ctx.cuda_graph->graph_cpynode_index;
}
#else
GGML_UNUSED(disable_indirection_for_this_node);
#endif
if (src0->type == src1->type && ggml_is_contiguous(src0) && ggml_is_contiguous(src1)) {
GGML_ASSERT(ggml_nbytes(src0) == ggml_nbytes(src1));

View File

@@ -1 +1 @@
13bcf9ce50651a8b4238ec6d136f46f2c1b23b6f
7734363ac74a14d7f2c8033c552d9d655c5dfc00