Package: llamaR
Type: Package
Title: Interface for Large Language Models via 'llama.cpp'
Version: 0.2.4
Authors@R: c(
    person("Yuri", "Baramykov", email = "lbsbmsu@mail.ru", role = c("aut", "cre"),
           comment = c(ORCID = "0009-0000-7627-4217")),
    person("Georgi", "Gerganov", role = "cph",
           comment = "Author of the 'llama.cpp' library included in src/"))
Description: Provides 'R' bindings to 'llama.cpp' for running Large Language Models
    ('LLMs') locally with optional 'Vulkan' GPU acceleration via 'ggmlR'. Supports
    model loading, text generation, 'tokenization', token-to-piece conversion,
    'embeddings' (single and batch), encoder-decoder inference, low-level batch
    management, chat templates, 'LoRA' adapters, explicit backend/device selection,
    multi-GPU split, and 'NUMA' optimization. Includes a high-level 'ragnar'-compatible
    embedding provider ('embed_llamar'). Built on top of 'ggmlR' for efficient tensor
    operations.
License: MIT + file LICENSE
URL: https://github.com/Zabis13/llamaR
BugReports: https://github.com/Zabis13/llamaR/issues
Encoding: UTF-8
Depends: R (>= 4.1.0), ggmlR
LinkingTo: ggmlR
SystemRequirements: C++17, GNU make
Imports: jsonlite, utils
Suggests: testthat (>= 3.0.0), withr, drogonR, later, ellmer, callr,
        knitr, rmarkdown
VignetteBuilder: knitr
RoxygenNote: 7.3.3
Config/testthat/edition: 3
NeedsCompilation: yes
Packaged: 2026-05-27 16:43:45 UTC; yuri
Author: Yuri Baramykov [aut, cre] (ORCID:
    <https://orcid.org/0009-0000-7627-4217>),
  Georgi Gerganov [cph] (Author of the 'llama.cpp' library included in
    src/)
Maintainer: Yuri Baramykov <lbsbmsu@mail.ru>
Repository: CRAN
Date/Publication: 2026-05-27 17:30:02 UTC
Built: R 4.5.2; x86_64-apple-darwin20; 2026-05-27 17:39:43 UTC; unix
Archs: llamaR.so.dSYM
