llama_n_threads_batch: Get number of threads for batch processing

View source: R/llama.R

llama_n_threads_batchR Documentation

Get number of threads for batch processing

Description

Get number of threads for batch processing

Usage

llama_n_threads_batch(ctx)

Arguments

ctx

Context handle returned by [llama_new_context]

Value

An integer scalar: current thread count for prompt encoding.


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