Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Practical LLM Inference in Modern Java

Devoxx via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore practical approaches to implementing local Large Language Model (LLM) inference using modern Java in this 51-minute Devoxx conference talk. Learn how to leverage the latest Java features to implement local inference for various open-source LLMs, starting with Llama 2 and 3 (Meta). Discover how to extend this approach to run other popular open-source models on standard CPUs without specialized hardware. Delve into key topics such as implementing efficient LLM inference engines for local execution, utilizing Java 21+ features for optimized CPU-based performance, creating a flexible framework adaptable to multiple LLM architectures, and maximizing standard CPU utilization without GPU dependencies. Gain insights on integrating with LangChain4j for streamlined local inference execution and optimizing performance using the Java Vector API for accelerated matrix operations. Learn how to leverage GraalVM to reduce latency and memory consumption. Acquire the knowledge to implement and optimize local LLM inference for open-source models in Java projects, enabling the creation of fast and efficient AI applications using cutting-edge Java technologies.

Syllabus

Practical LLM Inference in Modern Java by Alfonso² Peterssen, Alina Yurenko

Taught by

Devoxx

Reviews

Start your review of Practical LLM Inference in Modern Java

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.