LocaLM
Run large language models on your own machine. Offline, private, and yours.
LocaLM downloads and runs LLMs locally: GGUF models through llama.cpp and HuggingFace models through transformers, on AMD, NVIDIA, Intel, Apple Silicon or CPU. It ships a chat GUI, an OpenAI-compatible API, a coding agent, RAG over your own documents, and an MCP server, with everything off by default and nothing leaving your machine.
Install
pip install localm
localm setup-llama
setup-llama detects your GPU and provisions the matching llama.cpp runtime.
It needs no vendor toolkit: NVIDIA gets a self-contained CUDA build, AMD on
Windows a bundled ROCm build, Intel and toolkit-less AMD a Vulkan build, Apple
Silicon Metal, and anything else CPU.
Then pull a model and talk to it:
localm pull unsloth/Qwen3-4B-Instruct-2507-GGUF:Q4_K_M
localm run Qwen3-4B-Instruct-2507
Or open the graphical interface:
localm gui
Python 3.12 is required. localm doctor reports what is installed and what is
missing at any point.
Where data lives
Set LOCALM_HOME to choose where models, chats and settings are stored. Left
unset, it defaults to a directory inside the Python environment you installed
into (not a per-user directory); localm info prints the path actually in
use.
The self-contained installer
The pip package installs LocaLM into an environment you already manage. The installer on GitHub instead provisions its own Python and its own private environment, adds a desktop launcher and a native app window, and walks you through choosing plugins. If you would rather have that, or you are not on Python 3.12, use it:
https://github.com/Matlan1/localm
Documentation, issues and source
https://github.com/Matlan1/localm
AGPL-3.0-or-later.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file localm-0.2.0.tar.gz.
File metadata
- Download URL: localm-0.2.0.tar.gz
- Upload date:
- Size: 12.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e52aead7615a3402abbad3dac5aab963f0d38bd9dc467ad3210236c83040b758
|
|
| MD5 |
528ce40a1bdf44c0af662f22bfee175d
|
|
| BLAKE2b-256 |
8b2a7ed635e45d39f07705d1bcee1aa6258b5857e49e14fa84b963c10805f147
|
Provenance
The following attestation bundles were made for localm-0.2.0.tar.gz:
Publisher:
publish-pypi.yml on Matlan1/localm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
localm-0.2.0.tar.gz -
Subject digest:
e52aead7615a3402abbad3dac5aab963f0d38bd9dc467ad3210236c83040b758 - Sigstore transparency entry: 2714398123
- Sigstore integration time:
-
Permalink:
Matlan1/localm@816fcdfe68988647b214326014ed7054d68cdcae -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Matlan1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@816fcdfe68988647b214326014ed7054d68cdcae -
Trigger Event:
release
-
Statement type:
File details
Details for the file localm-0.2.0-py3-none-any.whl.
File metadata
- Download URL: localm-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c96fa3fb6ff7615053945bc09e2e8eb329f97807ace8362b1f59dc4dbdd5d414
|
|
| MD5 |
9e4d661cb87de327ff78f00631b60079
|
|
| BLAKE2b-256 |
705ee775fa1d5c773efd564bf62882edd277cb89fc197442e1700bf05668eb6e
|
Provenance
The following attestation bundles were made for localm-0.2.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on Matlan1/localm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
localm-0.2.0-py3-none-any.whl -
Subject digest:
c96fa3fb6ff7615053945bc09e2e8eb329f97807ace8362b1f59dc4dbdd5d414 - Sigstore transparency entry: 2714398326
- Sigstore integration time:
-
Permalink:
Matlan1/localm@816fcdfe68988647b214326014ed7054d68cdcae -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Matlan1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@816fcdfe68988647b214326014ed7054d68cdcae -
Trigger Event:
release
-
Statement type: