~/talk

Jlama: A Native Java LLM inference engine

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [large-language-models, java]
github:tjake
slides:none on file

A pure-Java LLM inference engine that runs local Llama/Gemma/Mixtral models on CPU, using the Java 21 Vector API and SafeTensor files, claims GPU-free next-token inference with quantization (block size 32) and batching to cut memory bandwidth and latency. Implements Flash Attention, Mixture-of-Experts and Group Query Attention, uses tiled GEMM to fit L1/L2 caches, exposes an OpenAI-compatible REST layer, faces JVM intrinsic and vector-species tuning issues, and ships as LangChain4j integration with SafeTensor format support.

AI-written summary · about

  1. 0:00Introduction
  2. 1:51About Jlama project
  3. 8:59How LLMs work simply
  4. 14:25CPU vs GPU for LLMs
  5. 16:57Quantization in LLMs
  6. 20:30Batching tokens for speed
  7. 23:48How quantization works
  8. 27:01Vector API challenges
  9. 32:01Attention caching explained
  10. 35:34Sharding models for scaling
  11. 43:51Practical use cases
  12. 46:40Future of Jlama
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.