llama_batch_free: Free a llama batch allocated with 'llama_batch_init()'

View source: R/llama.R

llama_batch_freeR Documentation

Free a llama batch allocated with llama_batch_init()

Description

Free a llama batch allocated with llama_batch_init()

Usage

llama_batch_free(batch)

Arguments

batch

An external pointer returned by llama_batch_init().

Value

NULL invisibly.

Examples

## Not run: 
batch <- llama_batch_init(512L)
llama_batch_free(batch)

## End(Not run)

llamaR documentation built on May 28, 2026, 1:06 a.m.