Repository navigation
Releases
modelmap v0.3.1
Release Notes: v0.3.1
Released: 2026-11-26
The map fits the window again, and the banner follows your light or dark
setting. The banner added in 0.2.0 pushed the map down without shrinking
it, so the bottom of the map sat below the window's edge in
modelmap serve, the Mac app and the written page.
What changed
The map fits the window. The page now measures where the map starts
and sizes the square to the space left, so it fits at any window size,
including narrow windows where the header wraps onto two lines. In the
one-column layout of a narrow window the map is no taller than the window
either. It keeps a minimum size, so a very short window still shows it.
A banner for light surroundings. The Art Techno banner now has a paper
version: the same drawing on a light ground, with the name in iron and the
motif in deep gold and deep copper. The map page shows it in a light theme
and the dark original in a dark one, and the README and the documentation
site switch the same way.
Smaller fixes. In the Mac app's Help, rows of the Menus table without
a keyboard shortcut no longer leave a gap. The README screenshots show the
banner, and scripts/screenshots.py retakes them from example data.
Upgrading
pipx upgrade modelmap or pip install -U modelmap; nothing needs
migrating. The Mac app: download modelmap-0.3.1.dmg from this release
and replace the old copy in Applications.
Full changelog: CHANGELOG.md
modelmap v0.3.0
Release Notes: v0.3.0
Released: 2026-11-26
modelmap now comes as a Mac app. modelmap-0.3.0.dmg, attached to this
release, holds a signed and notarized modelmap.app: the map in its own
window, with the same Remove buttons as modelmap serve, and a Python
inside it so the Mac needs nothing else installed. This release also makes
Ollama removals safer.
What changed
The Mac app. Open the disk image and drag modelmap to Applications. The
app scans, shows the map, and removes models through the same code the
command line runs. Its Map menu rescans, opens the page in a browser, and
chooses folders or drives to scan, with or without the usual model stores
and the home folder. A server log shows every removal and the command it
ran, and Help explains each part. The app reads your login shell's
settings, so stores moved by HF_HOME or OLLAMA_MODELS are found. It
needs macOS 15 or later on Apple silicon.
Safer Ollama removal. Two gaps are closed. A removal used to count as
done when Ollama could not be asked afterward; it now counts only when
Ollama answers without the tags and the scanned store no longer holds
them. And matching tag names was not proof that the running Ollama owns
the store that was scanned: each tag's ID must now match the scanned
manifest, and an OLLAMA_HOST that names another machine is refused. In
either case nothing is removed, and the dialog says why.
--sweep. Naming a folder or a store turns off the sweep of the home
folder. --sweep keeps it, so modelmap map --sweep /Volumes/Drive maps
an external drive together with everything the default scan finds.
Upgrading
Upgrade the command with pipx upgrade modelmap or pip install -U modelmap; nothing needs migrating. For the app, download the disk image
from this release.
Full changelog: CHANGELOG.md
modelmap v0.2.0
Release Notes: v0.2.0
Released: 2026-11-25
modelmap can now remove models from the map itself. modelmap serve
scans, serves the map from your own machine, and gives each model a
Remove button that does exactly what modelmap rm does: it shows every
command or file that would go, waits for you to confirm, and checks
again before acting.
What changed
The map as a local app. modelmap serve opens the same map in your
browser, served from 127.0.0.1, with a Rescan button and a Remove
button on each model. The Remove dialog lists the command or every path,
any Ollama tags that go with the model, and whether the removal can be
undone from the Trash. When you confirm, the server scans and plans
again; if anything has changed since the dialog opened, it removes
nothing and shows the new list. After a removal the map is redrawn from
a fresh scan.
Built to be safe on a shared browser. The server listens only on
this machine, answers only to its own page, and needs a token made for
each run, which it never writes into the page or the log. A page on
another site cannot read the map or ask it to remove anything. Serving an
inventory from another machine, or adding --read-only, turns removal
off.
A face and a home. modelmap has its own Art Techno logo, a treemap
drawn as a chip floorplan, and every page opens with a banner showing the
version and a link to Flux-Frontiers. The documentation is now a site at
https://flux-frontiers.github.io/modelmap/, with the guide, the command
reference, the cheat sheet and an API reference.
A fix for repeated scans. A second scan in the same process
undercounted, because the first scan's bookkeeping carried over. The
command line scans once, so earlier results were right; the server
rescans, and now each scan starts fresh.
Upgrading
Install or upgrade from PyPI with pipx install modelmap (or
pip install -U modelmap). Nothing needs migrating; inventories made by
0.1.0 still load. Try modelmap serve, or modelmap serve --read-only
to look without the Remove buttons.
Full changelog: CHANGELOG.md
modelmap v0.1.0
Release Notes: v0.1.0
Released: 2026-11-24
First release. modelmap finds the language-model files on a machine, shows
how much space each one takes, draws them as a map you can open down to the
individual files, and removes the ones you choose.
What it does
Finds models wherever the tools keep them. It reads the stores of
Hugging Face, Ollama, oMLX, LM Studio, llama.cpp, GPT4All, Jan and Whisper,
follows the settings, environment variables and symlinks that move them,
and sweeps your home folder for loose GGUF, safetensors and checkpoint
files. Any other folder, drive or single file can be named on the command
line.
Counts honestly. Model files are identified by their headers, which
give parameter counts and quantization without reading weights. A file
reached by several names, such as a Hugging Face blob shared by two
revisions or Ollama weights shared by several tags, is counted once, so
totals match what the disk holds.
Draws a map. modelmap map writes one page that works offline: a
square divided among everything found, one block per store. Clicking a
model redraws the square as its files, with each file's path, the other
models that share it, and the command that removes it.
Removes models safely. modelmap rm shows every file or command it
would act on and asks first. Ollama models are removed with ollama rm,
Hugging Face cache repositories with hf cache rm, and anything else moves
to the Trash. It refuses caches, files that another model also uses, and
model folders that hold anything else.
Works across machines. modelmap scan --json --redact makes an
inventory without the home folder or machine name in it, and
modelmap map --from-json draws it elsewhere.
Installing
modelmap needs Python 3.10 or later and nothing beyond the standard
library. It is not on PyPI yet; install from a clone with pip install .,
or from the wheel attached to this release.
Full changelog: CHANGELOG.md