Writing GPU-Ready AI Models in Pure Java with Babylon
Автор: Java
Загружено: 2025-10-25
Просмотров: 10357
Project Babylon enables developers to build and run AI models - such as LLMs, image classifiers, or object detection algorithms - directly in Java. With Code Reflection, machine learning logic can be defined in plain Java code, eliminating the need for Python or external model files. By leveraging the Foreign Function and Memory (FFM) API, Babylon can connect Java code to native runtimes like ONNX for fast, GPU-accelerated inference. Additionally, the Heterogeneous Accelerator Toolkit (HAT) enables developers to write and compose compute kernels in Java, making it easy for Java libraries to tap into GPU power for high-performance computing.
This session introduces Babylon’s upcoming features and demonstrates how you can integrate AI capabilities into the Java ecosystem, appealing to both library maintainers and developers looking to incorporate AI into their Java applications.
Presented by Ana Maria Mihalceanu (Developer Advocate - Java Team / Oracle) and Lize Raes (Developer Advocate - Java Team / Oracle) during Devoxx Belgium 2025 ➤ https://devoxx.be
Thumbnail photo credit ➤ https://www.flickr.com/photos/bejug/a...
~~~~~ Links ~~~~~
Project Babylon ➤ https://openjdk.org/projects/babylon/
Babylon Repository ➤ https://github.com/openjdk/babylon
HAT ➤ https://github.com/openjdk/babylon/tr...
More on Babylon... ➤ https://inside.java/tag/babylon
Facial Emotion Recognition Demo (FFM Only) ➤ https://github.com/LizeRaes/babylon/t...
ONNX Demos ➤ https://github.com/openjdk/babylon/tr...
HAT Demos ➤ https://github.com/openjdk/babylon/tr...
~~~~~ Chapters ~~~~~
00:00 Why Run AI Models on GPU
08:47 Machine Learning Models in Java
14:37 Run Workloads on GPU via ONNX Runtime, in Java
25:34 Run a Java Model on ONNX Runtime
39:37 Java on the GPU
Tags: #Java #AI #GPU #OpenJDK
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: