Running Qwen2.5-Coder-3B on Android: Jupyter + Pydantic Evals on-device eval pipeline

alex_b3b · reddit · 2026-11-11

The author's PythonHere project lets you run Python on Android directly from Jupyter, now with LiteRT-LM support for exploring small on-device models.

For benchmarking, they combined Pydantic Evals with plain Python functions to run inference on the phone and write custom evaluators in Jupyter — a setup they find very convenient for on-device experiments.

Testing Qwen2.5-Coder-3B-Instruct on Python tasks, the 3B model followed instructions better than expected and sometimes produced useful code. Video and notebooks with code and results are linked.

Original post →

More from Infra

Infra channel →