| llama_free_context | R Documentation |
Free an inference context
llama_free_context(ctx)
ctx |
Context handle returned by [llama_new_context] |
No return value, called for side effects. Releases the memory associated with the inference context.
## Not run:
model <- llama_load_model("model.gguf")
ctx <- llama_new_context(model)
# ... use context ...
llama_free_context(ctx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.