File System Layout

Thumper Run uses application data directories, protected account storage, and separate tool caches. This page documents common locations, external caches managed by third-party tools, environment variable overrides, and what is safe to delete.

Base Directory

The desktop configuration's default data directory is platform-specific. Some model and account stores use the platform's local data directory independently.

~/.local/share/tr-desktop/
You can override the desktop configuration's data directory by setting the TR_DATA_DIR environment variable before launching Thumper Run. This does not relocate every account database, model download, or external cache.

Directory Tree

The annotated tree below shows common directory names and their purpose. Account and native model download data use the local data root described below, even when other application files have a different configured root.

tr-desktop/
├── apps/
# Installed applications (git repos, venvs)
│ ├── comfyui/
│ ├── sillytavern/
│ └── .../
├── models/
# Downloaded model weights (safetensors, GGUF)
│ ├── checkpoints/
│ ├── loras/
│ └── vae/
├── gallery/
# Generated images with embedded metadata
├── crdt.db
# Account state and encrypted retained download records
├── model-intake-custody-v3/
# Catalog download originals, partial files, verification and cancellation state
├── logs/
# Application and process logs
└── cache/
# Temporary data, thumbnails, download parts

Desktop Catalog Model Downloads

On supported Linux desktop builds, local catalog downloads keep recovery and staging files separately from installed models. The local data root is normally ~/.local/share/tr-desktop/ on Linux (or under XDG_DATA_HOME). Standard local model storage is ~/Library/Application Support/tr-desktop/ on macOS and %LOCALAPPDATA%\tr-desktop\ on Windows; a path alone does not mean this download workflow is supported on that platform.

crdt.db
# Encrypted account records, including retained model download requests
model-intake-custody-v3/
# Retained download and staging files; not an installed model directory
models/catalog-compiled-v3/<account-scope>/<download>/payload/
# Installed files for supported catalog models

The model discovery index is a separate cache: ~/.cache/tr-desktop/model_cache.json on Linux. It can be rebuilt; it is not the retained download history or a backup of installed weights.

Encrypted download records do not mean the weight files are encrypted. Do not move, edit, or delete recovery/staging folders while a download or recovery is pending. Use the model's retained history, Refresh, and Cancel controls instead.

External Directories

Some third-party tools manage their own directories outside the Thumper Run base. These are discovered automatically but can be overridden with environment variables.

HuggingFace Cache

HuggingFace Hub stores downloaded repos (model weights, configs) in a shared cache. Thumper Run discovers models here via repo-level scanning.

~/.cache/huggingface/hub/
# Override: HF_HOME=~/.my-hf-cache

Ollama Models

Ollama stores its own model blobs and manifests. Thumper Run auto-detects the Ollama model directory and can auto-pull required models on app launch.

~/.ollama/models/
# Override: OLLAMA_MODELS=/path/to/models

MIOpen Cache (AMD GPUs — Linux only)

MIOpen builds a "find database" of optimized GPU kernels on first run. This cache is specific to your GPU architecture (e.g., gfx1150) and can be large. Only applies to Linux with AMD ROCm GPUs.

~/.config/miopen/
# Typically 200–800 MB per GPU arch

comgr Cache (AMD GPUs — Linux only)

The AMD compiler cache stores compiled GPU code objects. Rebuilds automatically if deleted, at the cost of a longer first run. Only applies to Linux with AMD ROCm GPUs.

~/.cache/comgr/
# Typically ~650 MB

Environment Variables

The following environment variables control where Thumper Run and its dependencies store data.

VariableDefaultDescription
TR_DATA_DIR(platform-specific)Override the desktop configuration's data directory; not every model/account store
HF_HOME~/.cache/huggingfaceHuggingFace cache root (hub/ is appended)
OLLAMA_MODELS~/.ollama/modelsOllama model storage directory
XDG_DATA_HOME~/.local/shareLinux local data root for standard model and account storage (tr-desktop/ appended)
COMFYUI_OUTPUT_DIR(app default)Redirect ComfyUI generated images to a custom directory

Disk Space Guide

AI models are large. Here is a rough guide to how much space different components use. Catalog installation may retain both a verified staging copy and installed files, so allow space for both in addition to existing partial downloads.

ComponentTypical Size
Base install (app + runtime)~100 MB
Python venv (per app)1–3 GB
SDXL checkpoint~6.5 GB
LLM 8B (Q4 quantized)~4.5 GB
LLM 70B (Q4 quantized)~40 GB
MIOpen cache (AMD)200–800 MB
Gallery (generated images)Varies (1–50+ GB)
Typical total (2 apps + models)20–50 GB

What’s Safe to Delete?

If you need to free disk space, refer to this table. Green means safe to delete, yellow means proceed with caution, and red means do not delete.

DirectorySafe?Recovery
cache/SafeRebuilt automatically on next use
logs/SafeNew logs created on next launch
gallery/SafeGenerated images are not recoverable — back up first if needed
models/CautionUse supported model removal controls. Re-downloading depends on the source and your access.
model-intake-custody-v3/Do not delete manuallyPreserves pending download, partial-file and cancellation records; use history and Cancel.
~/.cache/comgr/SafeRecompiled on next GPU run (~650 MB)
~/.config/miopen/CarefulRe-benchmarked on next run (can take 5–10 min)
apps/CarefulRe-installed from catalog, but custom configs are lost
crdt.dbDon’tContains account state and retained recovery records; use supported backup and account recovery options.
Do not delete crdt.db to reset a download. It holds account state and retained recovery records. Account keys may be stored separately; keep the backups and recovery options supported by your account setup.