powered by
Initialize GGML context
ggml_init(mem_size = 16 * 1024 * 1024, no_alloc = FALSE)
GGML context pointer
Memory size in bytes
If TRUE, don't allocate memory for tensors (default: FALSE)
# \donttest{ ctx <- ggml_init(1024 * 1024) ggml_free(ctx) # }
Run the code above in your browser using DataLab