Repository

haifengl/smile

Smile Deep Learning Module

Statistical Machine Intelligence & Learning Engine

6.4kstars

Open github.com

haifengl/smile

Smile Deep Learning Module

Idiomatic Java API for deep learning on JVM wrapping PyTorch/LibTorch C++ runtime, supporting CPU, CUDA, and MPS backends. Includes tiktoken BPE tokenizer, LLaMA-3 inference, EfficientNet-V2, and image classification pipeline.

Visit project

Show me a random project

First shared
Jun 11, 2026
HN activity
20

Show HN@pdsminerJun 11, 2026

Show HN: PyTorch on Java

The smile-deep module provides idiomatic Java API for deep learning on the JVM while still reaching CPU, CUDA, and MPS backends by wrapping the PyTorch / LibTorch C++ runtime. It also provides tiktoken BPE tokenizer, LLaMA-3 inference, EfficientNet-V2, and an image classification pipeline out of the box.

Community

Hacker News discussion

Loading the thread…