Settings

Theme

Fast Llama inference in pure, modern Java

youtube.com

3 points by mukel a year ago · 3 comments

Reader

mukelOP a year ago

Features: - Single file, no dependencies - GGUF format parser - Llama 3 tokenizer - Support Llama 3, 3.1 (ad-hoc RoPE scaling) and 3.2 (tie word embeddings) - Fast matrix-vector multiplication routines for Q4_0 and Q8_0 quantized tensors using Java's Vector API - GraalVM's Native Image support - AOT model preloading for instant time-to-first-token

mukelOP a year ago

Code: https://github.com/mukel/llama3.java

nunobrito a year ago

Quite good stuff. Was looking for something like this since a long time.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection