| ggml_used_mem | R Documentation |
Returns the amount of memory currently used in the context
ggml_used_mem(ctx)
ctx |
GGML context |
Used memory in bytes
ctx <- ggml_init(1024 * 1024)
a <- ggml_new_tensor_1d(ctx, GGML_TYPE_F32, 100)
ggml_used_mem(ctx)
ggml_free(ctx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.