Package: Rgguf 0.1.0
Rgguf: Official GGUF Parsing and Typed Storage Views
Reads 'GGUF' model files, the file format used by the 'llama.cpp' project (<https://github.com/ggerganov/llama.cpp>) to store large language model tensors and metadata. Tensors can be decoded into file-backed 'Rfmalloc' arrays, copied at their native codec density, or borrowed as zero-copy read-only spans over the original model mapping. Parsing, writing, and quantized decoding use the official 'GGML' GGUF implementation exposed by the sibling 'Rggml' package. Metadata key-value pairs and the tensor directory are exposed as ordinary R lists and data frames. A minimal writer is included to create 'GGUF' files containing 32-bit floating point tensors, primarily to support round-trip testing.
Authors:
Rgguf_0.1.0.tar.gz
Rgguf_0.1.0.zip(r-4.7)Rgguf_0.1.0.zip(r-4.6)Rgguf_0.1.0.zip(r-4.5)
Rgguf_0.1.0.tgz(r-4.6-x86_64)Rgguf_0.1.0.tgz(r-4.6-arm64)Rgguf_0.1.0.tgz(r-4.5-x86_64)Rgguf_0.1.0.tgz(r-4.5-arm64)
Rgguf_0.1.0.tar.gz(r-4.7-arm64)Rgguf_0.1.0.tar.gz(r-4.7-x86_64)Rgguf_0.1.0.tar.gz(r-4.6-arm64)Rgguf_0.1.0.tar.gz(r-4.6-x86_64)
Rgguf_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
Rgguf/json (API)
| # Install 'Rgguf' in R: |
| install.packages('Rgguf', repos = c('https://rgenomicsetl.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/sounkou-bioinfo/rfmalloc/issues
altrepblasgenomicsggmlggufllmllm-inferencemallocmemory-mappedmmapout-of-corequantizationsimd
Last updated from:6e05ad0361. Checks:10 OK, 3 NOTE. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 142 | ||
| linux-devel-x86_64 | OK | 168 | ||
| source / vignettes | OK | 271 | ||
| linux-release-arm64 | OK | 138 | ||
| linux-release-x86_64 | OK | 163 | ||
| macos-release-arm64 | OK | 118 | ||
| macos-release-x86_64 | OK | 209 | ||
| macos-oldrel-arm64 | NOTE | 129 | ||
| macos-oldrel-x86_64 | NOTE | 323 | ||
| windows-devel | OK | 231 | ||
| windows-release | OK | 209 | ||
| windows-oldrel | NOTE | 180 | ||
| wasm-release | OK | 150 |
Exports:gguf_importgguf_metadatagguf_opengguf_tensorgguf_tensorsgguf_write_tensors
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Import GGUF Tensors | gguf_import |
| Read GGUF Metadata | gguf_metadata |
| Open a GGUF File | gguf_open |
| Read and Dequantize a GGUF Tensor | gguf_tensor |
| List GGUF Tensors | gguf_tensors |
| Write a Minimal GGUF File | gguf_write_tensors |
