Running large language models (LLMs) on Android devices presents significant challenges, as evidenced by the experience of fine-tuning Gemma 3 1B for multi-turn chat data. While the model performs well on a PC when converted to GGUF, its accuracy drops significantly when converted to TFLite/Task for Android, likely due to issues in the conversion process via 'ai-edge-torch'. This discrepancy highlights the difficulties in maintaining model performance across different platforms and suggests the need for more robust conversion tools or alternative methods to run LLMs effectively on mobile devices. Ensuring reliable LLM performance on Android is crucial for expanding the accessibility and usability of AI applications on mobile platforms.
Read Full Article: Challenges of Running LLMs on Android