From b72abcda401270b463d42e1b32df640ffef3186a Mon Sep 17 00:00:00 2001 From: LoganDark Date: Sat, 24 Jun 2023 14:44:43 -0700 Subject: [PATCH] See how easy updates are now? (update GGML) --- ggml | 2 +- rwkv.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ggml b/ggml index 0a63fc0..a1d0ea7 160000 --- a/ggml +++ b/ggml @@ -1 +1 @@ -Subproject commit 0a63fc0f6cb1915d1fa5c62c8f0f018d072253c9 +Subproject commit a1d0ea7c2abd44f56822ffdfcfe0a0fcf7170885 diff --git a/rwkv.cpp b/rwkv.cpp index c7a5950..7664698 100644 --- a/rwkv.cpp +++ b/rwkv.cpp @@ -584,7 +584,7 @@ struct rwkv_future_tensor { struct rwkv_future_tensor fn(struct rwkv_future_ctx & ctx) const { ctx.add_objects(sizeof(struct ggml_tensor)); - ctx.add_scratch(sizeof(void *) / sizeof(uint32_t)); + ctx.add_memory(sizeof(void *) / sizeof(uint32_t)); return this->dup(ctx); }