Skip to content
Discussion options

You must be logged in to vote

llama-cpp-python 0.3.32.1 is now supported on Android and iOS: https://pypi.flet.dev/llama-cpp-python

It's a CPU-only build (all GPU backends — Metal/CUDA/Vulkan/OpenCL — and OpenMP are disabled, since none are portable across mobile), which is plenty for the quantized models that realistically fit on a phone. Everything runs offline; the only network you need is a one-time model download.

Install

Add it to your deps:

# pyproject.toml
dependencies = [
    "flet",
    "llama-cpp-python",
]

[tool.flet.android]
target_arch = ["arm64-v8a", "x86_64", "armeabi-v7a"]  # if on Flet < 0.86

Storage & the model file (the important bit)

GGUF weights are large — a 1–3B Q4 model is ~0.7–2 GB — so don'…

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@Nwokike
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ndonkoHenri
Comment options

Comment options

You must be logged in to vote
2 replies
@Nwokike
Comment options

@ndonkoHenri
Comment options

Answer selected by ndonkoHenri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #6626 on June 30, 2026 19:46.