jinfer: An open-source AI inference engine for the JVM. Finally, AI in jar.
Mirrored from r/LocalLLaMA for archival readability. Support the source by reading on the original site.
For years, the JVM has watched the AI revolution from the bench. Every model, AI framework, every breakthrough, built with/for Python.
jinfer is an inference engine built for the JVM from first principles: chat, vision, audio transcription, embeddings, reranking, and TTS. No Python runtime, no ONNX, no sidecar process, no wrappers; the whole stack is built for the JVM:
- jinfer Inference engine for the JVM, supports a wide range of popular models and modalities.
- Tok'n'Roll (toknroll) Fast tokenizers for LLMs, pure Java, zero dependencies
- gguf / safetensors native read/write for both major model formats
- jam Quantized matrix multiplication routines (Vector API + optional native backend), competitive with llama.cpp on CPUs
- jota Tensor API targeting Java, C, CUDA, HIP, Metal, OpenCL, and Mojo
It integrates with Spring AI and LangChain4j, and has first-class support for GraalVM Native Image.
Where things stand: this is an early release. CPU is the main target today, and is already competitive with llama.cpp. GPU support via jota is in progress.
Runnable examples + benchmarks: https://qxotic.ai
Jinfer (Apache 2.0): https://github.com/qxoticai/qxotic/tree/main/jinfer
PS: I'm behind it and also the author of llama3.java (2024) and gemma4.java
[link] [comments]
More from r/LocalLLaMA
-
The AI race: China's open-weight models trail US closed models by just 7 months
Oct 14
-
Anthropic Executive Says Open-Source AI Models Are Higher Risk
Oct 14
-
ComfyUI v0.40.0 released
Oct 14
-
So this is how they do it --> RTX 5090, once a consumer gaming card, is now on smugglers’ menu alongside cigarettes
Oct 14
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.