Skip to content
sharar-projectPublic

About

Fast Inference for NVIDIA DGX/RTX Spark

Resources

Contributing

Stars

83 stars

Watchers

0 watching

Forks

Repository files navigation

Hibana

Tailored to the model. Tuned to the machine. Built for agents.

Paper · Blog post

Hibana (formerly Sharar) runs open models on your own NVIDIA GB10 (DGX Spark) and serves them through OpenAI- and Anthropic-compatible APIs, so Claude Code, opencode, aider or any OpenAI client can use them. It brings speculative decoding, prefix caching (with an optional SSD tier for agent sessions) and a 262K context.

Quick start

You need one DGX Spark (or another NVIDIA GB10 machine) with DGX OS and about 135 GB of free disk for this model.

curl -LsSf https://astral.sh/uv/install.sh | sh     # install uv, if you don't have it
git clone https://github.com/sharar-project/hibana && cd hibana
uv sync                                             # set up Python (about a minute)
uv run hibana serve nemotron                        # serve Nemotron 3.5 Super on http://127.0.0.1:30005

The first launch downloads the model and builds the GPU kernels; later launches start in under a minute. Ctrl-C stops the server. In a second terminal:

uv run hibana chat              # chat in the terminal
uv run hibana launch claude     # Claude Code on the local model (also opencode, aider)

Any OpenAI client works against http://127.0.0.1:30005/v1 and Anthropic clients against http://127.0.0.1:30005 (API).

Models

Pick a model and run its command. Hibana downloads the publisher's checkpoint from Hugging Face at a pinned revision, and for the Qwen models and Super a calibrated 3-bit copy that the default fast profile decodes with.

Qwen3.8-Flash-Next

Qwen's 125B mixture-of-experts model, on one Spark or two.

uv run hibana serve flashnext           # http://127.0.0.1:30004
uv run hibana serve flashnext --tp 2    # on two Sparks linked by their ConnectX ports

Qwen3.8-27B

Qwen's 27B dense model, on one Spark or two.

uv run hibana serve 27b                 # http://127.0.0.1:30001
uv run hibana serve 27b --tp 2          # on two Sparks linked by their ConnectX ports

Nemotron 3.5 Super

NVIDIA's 120B mixture-of-experts model (12B active), a Mamba-2 hybrid that also reads images, on one Spark.

uv run hibana serve nemotron            # http://127.0.0.1:30005

Nemotron 3.5 Bolt

NVIDIA's 74B mixture-of-experts model (9B active), packed to 24 GB, that also reads images, on one Spark.

uv run hibana serve bolt                # http://127.0.0.1:30006

Not sure which to pick? Side by side:

Model Size Download Sparks Images Command
Qwen3.8-Flash-Next 125B MoE 186 GB 1 or 2 hibana serve flashnext
Qwen3.8-27B 27B dense 36 GB 1 or 2 hibana serve 27b
Nemotron 3.5 Super 120B MoE, 12B active 124 GB 1 yes hibana serve nemotron
Nemotron 3.5 Bolt 74B MoE, 9B active 25 GB 1 yes hibana serve bolt

Requirements

  • One NVIDIA GB10 (SM 12.1, a DGX Spark; two linked by their ConnectX ports for tensor parallel), aarch64, about 128 GB unified memory.
  • NVIDIA driver 580 or newer and the CUDA 13 toolkit in /usr/local/cuda (DGX OS ships it; the GB10 kernels compile on first use, about 2.5 minutes once).
  • uv, which installs the tested Python 3.12.
  • Disk for the model (above), plus 10 GiB that the download check keeps spare (operations).

Commands

hibana serve <model> Serve a model in the foreground (27b, flashnext, nemotron, bolt)
hibana serve <model> --detach The same as a background service; hibana stop, hibana logs -f
hibana serve <model> --exact The model's own outputs, for benchmarks (the default fast profile is faster and slightly lossy; also --throughput)
hibana serve <model> --tp 2 The Qwen models on two Sparks linked by their ConnectX ports (tensor parallel)
hibana status What is serving, with which settings
hibana cache What is cached on the GPU and on the SSD tier ($HIBANA_RESULTS/ssd/<target>, up to HIBANA_SSD_GIB)
hibana chat, hibana launch claude|opencode|aider|show Use the serving model

hibana <command> --help lists the options. Settings (cache and results locations, profiles, ports) are flags, then HIBANA_* environment variables, then an optional config/gb10.env (example, operations).

For more details:

Citation

If you use Hibana for your research, please cite our paper:

@article{emara2026hibana,
  title={Hibana: Fast Agentic Inference on Unified-Memory Devices},
  author={Emara, Yahya and Chang, Chi-Chih and Fei, Anthony and AbouElhamayed, Ahmed F. and Chen, Chong-Yan and
          Chiang, Hung-Yueh and Wu, Kai-Chiang and Abdelfattah, Mohamed S.},
  journal={arXiv preprint arXiv:2611.10469},
  year={2026}
}

Acknowledgment

Hibana learned the design and reused code from the following projects: SGLang, vLLM, FlashInfer, flash-linear-attention, Mamba, causal-conv1d, llama.cpp, b12x and DFlash. THIRD_PARTY_NOTICES.md lists what came from where.

License

Apache License 2.0.

About

Fast Inference for NVIDIA DGX/RTX Spark

Resources

Contributing

Stars

83 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages