ggml_get_max_tensor_size: Get Maximum Tensor Size

View source: R/memory.R

ggml_get_max_tensor_sizeR Documentation

Get Maximum Tensor Size

Description

Returns the maximum tensor size that can be allocated in the context

Usage

ggml_get_max_tensor_size(ctx)

Arguments

ctx

GGML context

Value

Maximum tensor size in bytes

Examples


ctx <- ggml_init(1024 * 1024)
ggml_get_max_tensor_size(ctx)
ggml_free(ctx)


ggmlR documentation built on July 14, 2026, 1:08 a.m.