~/talk

JVM in the Age of AI: Babylon, Valhalla, TornadoVM and friends

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [java, machine-learning]
slides:none on file

Explains concrete JVM plumbing for ML: Project Panama jextract and the Foreign Memory API replace brittle JNI for native CUDA/CPU bindings; half-floats (float16) land in Valhalla to cut model memory; Vector API incubator and autovectorization expose SIMD for faster matrix math and already power production use cases; TornadoVM task graph compiles and schedules kernels across CPU/GPU, but memory transfer remains the dominant bottleneck; several single-file C/C++ Llama runtimes have Java bindings and some Java engines match C++ throughput.

AI-written summary · about

  1. 0:00Introduction and AI context
  2. 2:57What is model inference
  3. 8:17GraalVM and Python interop
  4. 10:27Pure Java model inference
  5. 15:43Valhalla and half floats
  6. 17:52JNI and Project Panama
  7. 22:24Vector API and GPU basics
  8. 25:35CPU-based LLM implementations
  9. 31:15Specialized hardware for AI
  10. 36:13Java GPU programming approaches
  11. 40:28TornadoVM deep dive
  12. 43:40HAT and Babylon Project
  13. 47:28Conclusion and future outlook
~/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.