| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| smile-6.3.0.zip | 2026-08-18 | 679.5 MB | |
| 6.3.0 source code.tar.gz | 2026-08-18 | 82.0 MB | |
| 6.3.0 source code.zip | 2026-08-18 | 83.9 MB | |
| README.md | 2026-08-18 | 4.0 kB | |
| Totals: 4 Items | 845.3 MB | 1 | |
✨ New Features
- SafeTensors Support: Added support for Hugging Face's SafeTensors format, including write functionality for efficient and secure tensor serialization.
- KV Caching: Memory-efficient key-value cache using a shared Radix-backed pool for faster LLM inference
SMILE Serve - Chat & LLM
- Unified Model Catalog: All models (Chat, SMILE, ONNX) now listed via a single
GET /api/v1/modelsendpoint with OpenAI-compatible format - Conversation Management: Full CRUD operations for chat conversations via the new Conversation resource
- Streaming & Non-Streaming: Chat completions support both streaming (SSE) and non-streaming JSON responses
- FlashAttention: Leverages FlashAttention for optimized attention computation
- Google Gemini Enterprise: Initial support for Gemini models
SMILE Serve - Inference UI
- Unified Inference Page: New
/inferpage combines Chat, SMILE, and ONNX inference in one interface - Vision Mode: ONNX inference now supports image inputs with automatic preprocessing (resize, normalization)
- Virtualized Results: Large batch results display efficiently with virtual scrolling
- Split Layout: Form and results display side-by-side for better workflow
Docker & Deployment
- GPU Docker Image: Multi-stage build with CUDA 13.2 support and LibTorch
- CPU Docker Images: Upgrade to UBI 10 with OpenJDK 25 runtime
🔧 Improvements
Performance
- Faster File Sync: SafeTensors loading now uses positioned FileChannel I/O instead of memory-mapping (handles multi-GB checkpoints)
- Optimized Memory: ONNX Runtime memory footprint restricted; GPU memory fraction configurable
Developer Experience
- Better Error Messages: ONNX runtime loading failures now show clear setup hints
- Tokenizer Auto-Download: HuggingFace tokenizers downloaded automatically when missing
- Model Architecture Info:
GET /models/{id}now returns detailed model metadata (architecture, shapes, etc.)
🐛 Bug Fixes
Core
- Big-Endian Float Corruption: Fixed ONNX tensor byte order handling (was causing scrambled predictions on big-endian systems)
- SSE Race Conditions: Chat streaming now subscribes before generation starts, preventing lost chunks
- SafeTensors Memory: Fixed crash when loading multi-GB checkpoints (was hitting ~2GiB MappedByteBuffer limit)
- Empty Tensor Crash: Fixed crash when RadixCache tried to create empty tensors
Testing & Reliability
- Test Port Conflicts: Fixed flaky tests caused by port 8081 being in use (now picks random free port)
- Association Rules Tests: Fixed race conditions in FP-Growth tests causing flaky counts
HuggingFace Integration
- Broken Symlinks: Fixed tokenizer resolution when snapshot links were incorrectly computed
- Model Validation: Chat service now fails cleanly with 503 when model is unavailable
SMILE Studio
- Theme Settings: Fixed theme setting logic in SettingsDialog
- Code Cells: Added null safety for
evalMagicin code cells - evalMagic: add null safety and fix
evalMagicin code cells by @TsybulkaM in https://github.com/haifengl/smile/pull/884 - Theme Setting: fix theme setting logic in SettingsDialog by @TsybulkaM in https://github.com/haifengl/smile/pull/885
🔒 Security
- Native Library Loading: Improved error handling for CUDA and ONNX native library initialization
⚠️ Breaking Changes
- Model List Endpoints:
GET /api/v1/ml/modelsandGET /api/v1/onnxremoved; useGET /api/v1/modelsinstead - Scala VegaLite API: Moved from
smile.plot.vegatosmile.vega(updated imports required)
📦 Dependencies
- Torch: Upgraded to 2.13
- ONNX Runtime: Upgraded to 1.29
- SBT: Upgraded to 2.0.6
- CUDA: Support for CUDA 13.2
Full Changelog: https://github.com/haifengl/smile/compare/v6.2.5...v6.3.0