Skip to main content

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

localm-0.2.0.tar.gz (12.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

localm-0.2.0-py3-none-any.whl (9.4 MB view details)

Uploaded Python 3

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

Hashes for localm-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e52aead7615a3402abbad3dac5aab963f0d38bd9dc467ad3210236c83040b758
MD5 528ce40a1bdf44c0af662f22bfee175d
BLAKE2b-256 8b2a7ed635e45d39f07705d1bcee1aa6258b5857e49e14fa84b963c10805f147

See more details on using hashes here.

Provenance

The following attestation bundles were made for localm-0.2.0.tar.gz:

Publisher: publish-pypi.yml on Matlan1/localm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for localm-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c96fa3fb6ff7615053945bc09e2e8eb329f97807ace8362b1f59dc4dbdd5d414
MD5 9e4d661cb87de327ff78f00631b60079
BLAKE2b-256 705ee775fa1d5c773efd564bf62882edd277cb89fc197442e1700bf05668eb6e

See more details on using hashes here.

Provenance

The following attestation bundles were made for localm-0.2.0-py3-none-any.whl:

Publisher: publish-pypi.yml on Matlan1/localm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.5

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page