Package: Rgguf 0.1.0
Rgguf: Read 'GGUF' Model Files into 'Rfmalloc'-Backed Arrays
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, and exposes their tensors directly as 'Rfmalloc'-backed, file-backed ALTREP matrices and arrays. Quantized tensor types supported by the vendored 'gguflib' parser (<https://github.com/antirez/gguf-tools>) are dequantized on demand. 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.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://sounkou-bioinfo.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/sounkou-bioinfo/rfmalloc/issues
Last updated from:6c3512e002. Checks:9 OK, 4 NOTE. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 116 | ||
| linux-devel-x86_64 | OK | 114 | ||
| source / vignettes | OK | 155 | ||
| linux-release-arm64 | OK | 119 | ||
| linux-release-x86_64 | OK | 105 | ||
| macos-release-arm64 | NOTE | 78 | ||
| macos-release-x86_64 | NOTE | 162 | ||
| macos-oldrel-arm64 | NOTE | 86 | ||
| macos-oldrel-x86_64 | NOTE | 140 | ||
| windows-devel | OK | 51 | ||
| windows-release | OK | 51 | ||
| windows-oldrel | OK | 56 | ||
| wasm-release | OK | 101 |
Exports:gguf_importgguf_metadatagguf_opengguf_tensorgguf_tensorsgguf_write_tensors
Dependencies:Rfmalloc
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 |
