ml.cab

Machine Learning Cabinet

Java-native tools for running and fine-tuning language models: on-prem, air-gapped, or in the cloud. No hype, no SaaS, no Python.

Quick start

# build from source
git clone https://github.com/ml-cab/juno.git && cd juno
mvn clean package -DskipTests

# run a model locally, with the OpenAI-compatible API on :8080
./juno local --hf TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M --api-port 8080

1. Projects

Juno

Active · v0.1.2

Java-native distributed LLM inference and fine-tuning. Runs GGUF models locally, across JVM nodes, or embedded as a JVM library, with an OpenAI-compatible REST API. No Python. No NCCL. No InfiniBand required.

At a glance

  • LLaMA 2 / 3, TinyLlama, Mistral, Qwen 2 / 2.5, Qwen3, Qwen3-MoE, Phi-3, Phi-2
  • CUDA 12.x and ROCm 6+ GPU backends via the Panama FFI; CPU integer kernels on the JDK Vector API
  • Pipeline parallelism across JVM nodes over gRPC
  • Static and continuous batching, paged KV cache, speculative decoding
  • LoRA training, adapter playback, and merge into a standalone GGUF
  • OpenAI-compatible REST API with JSON Schema, grammars and function calling
  • Image-to-text with LLaVA and moondream2
  • Maven BOM on Central: cab.ml:juno-bom:0.1.2
<!-- Maven Central -->
<dependency>
  <groupId>cab.ml</groupId>
  <artifactId>juno-bom</artifactId>
  <version>0.1.2</version>
  <type>pom</type><scope>import</scope>
</dependency>

2. Mission

Java in ML

We are introducing Java in the ML field providing pure distributed JVM inference and training.

On-prem first

Network-ready, with no mandatory cloud dependency and no SaaS lock-in. No Python, no GIL: pure JVM orchestration on a performance-proven engine.

JFR metrics

Custom flight-recorder events across hot paths. Instrumentation-driven development that tells you exactly what is happening inside your runtime.

Honest by default

Honest documentation. Solid testing. Clear issue tracking. Published benchmarks.

3. Contribute

Ways to help, in order of how quickly they move Juno forward.

Code

Fork the project, pick up an open board issue, move it to QA and add a comment with a ref to your fork.

Benchmarks

Send us your performance report, especially on GPU: card details, the juno startup command, the conversation log and the JFR Metrics Summary. Mail to dev@ml.cab.

Bug reports

Tried Juno on your setup and found a rough edge? Open an issue on the board. Specific, reproducible reports move things forward fastest.

Support

Funding, hardware for the test lab, or a hosted cluster for benchmarks. See Support the project.