dart_vector_embedding 0.1.1
dart_vector_embedding: ^0.1.1 copied to clipboard
Cross-platform Dart Native GGUF embeddings via llama.cpp with shared per-model concurrency and native async callbacks.
0.1.1 #
- Include the vendored llama.cpp
src/modelssources required by the native CMake build; local GGUF test models remain excluded from the package.
0.1.0 #
- Cross-platform Dart Native embedding package backed by vendored
llama.cppsources. - Shared native
llama_model + llama_contextper model path within one process. - Async-only Dart API for
open,embed,embedBatch, andclose. - Native worker-thread request queue with callback-based async completion for safe multi-isolate access.
- GPU offload enabled when the host/backend supports it.
- Bounded per-model request queues with
VeQueueFullExceptionbackpressure. - Safe last-handle shutdown while native work is still queued.
- Auto-detected CUDA and Vulkan backends with CPU fallback.
- Portable CPU builds with bounded text and batch request sizes.
- Reentrant native callback shutdown protection and full-context micro-batching.
- Embedding latency benchmark and documented test-model setup.