File System Layout
Thumper-Run stores apps, models, galleries, CRDT state, and logs under a single base directory. This page documents the full directory tree, external caches managed by third-party tools, environment variable overrides, and what is safe to delete.
Base Directory
The base directory is platform-specific. All Thumper-Run data lives under this root.
~/.local/share/tr-desktop/
TR_DATA_DIR environment variable before launching Thumper-Run.Directory Tree
The annotated tree below shows the top-level directories and their purpose.
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/# CRDT state, encryption keys, sync data├── logs/# Application and process logs└── cache/# Temporary data, thumbnails, download parts
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.
| Variable | Default | Description |
|---|---|---|
| TR_DATA_DIR | (platform-specific) | Override the Thumper-Run base directory |
| HF_HOME | ~/.cache/huggingface | HuggingFace cache root (hub/ is appended) |
| OLLAMA_MODELS | ~/.ollama/models | Ollama model storage directory |
| XDG_DATA_HOME | ~/.local/share | Linux base for TR_DATA_DIR (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.
| Component | Typical 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.
| Directory | Safe? | Recovery |
|---|---|---|
| cache/ | Safe | Rebuilt automatically on next use |
| logs/ | Safe | New logs created on next launch |
| gallery/ | Safe | Generated images are not recoverable — back up first if needed |
| models/ | Safe | Re-download from HuggingFace or Ollama |
| ~/.cache/comgr/ | Safe | Recompiled on next GPU run (~650 MB) |
| ~/.config/miopen/ | Careful | Re-benchmarked on next run (can take 5–10 min) |
| apps/ | Careful | Re-installed from catalog, but custom configs are lost |
| crdt/ | Don’t | Contains encryption keys and device identity — not recoverable without recovery phrase |
crdt/ directory. It contains your encryption keys, device identity, and all synced state. Without a recovery phrase, this data is permanently lost.