You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
LiteRT-LM engine (experimental). Google's on-device LLM runtime (LiteRT-LM)
is now an engine you can install from Engines. The install is a small pip environment with no PyTorch or CUDA.
It runs single-file .litertlm models (Gemma, Qwen3, Phi-4-mini, …), which the library now finds on disk, on the CPU or the GPU.
Builds exist for Windows x64, Linux x64/arm64, macOS on Apple Silicon and Android (arm64 / x86_64). On Android it
runs only when TurboLLM itself is started from Termux with pkg install python, because the standalone Android
app has no Python. A model's settings page has a Backend choice (Auto / CPU / GPU), plus context length, CPU threads,
port and custom flags. Choose GPU to force it on a device whose GPU can't be detected; choose CPU if a model won't
load on the GPU. LiteRT-LM only loads a model on its first request, so TurboLLM sends a one-token request while
loading, and a broken bundle or an unusable GPU shows up as a load error with the runtime's own message, not as a
start that never finishes. The first load of a model can take a minute or more. Chat tools aren't offered on this
engine yet. Prefill speed is estimated from prompt tokens and time to first token, because LiteRT-LM reports no
timings. Contributed by @ciroprogamer (#271).
Fixed
A model that fails to load on MLX, MLX-VLM, Rapid-MLX, vLLM or SGLang now keeps its real error. TurboLLM read the
load error from the engine's log, then stopped the engine, and the stop overwrote it with "The engine process
exited unexpectedly." The load error is now what you see.