% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/llama.R
\name{llama_set_warmup}
\alias{llama_set_warmup}
\title{Set warmup mode}
\usage{
llama_set_warmup(ctx, warmup)
}
\arguments{
\item{ctx}{Context handle returned by [llama_new_context]}

\item{warmup}{Logical; `TRUE` to enable warmup mode, `FALSE` to disable.}
}
\value{
No return value, called for side effects.
}
\description{
When `warmup = TRUE`, the context runs in warmup mode which pre-caches
model weights in GPU memory without producing meaningful outputs.
Call with `warmup = FALSE` to return to normal inference mode.
}
