Skip to content
ExplanationUnreviewed

0002: Storage tiers and local retention layout

Recorded 2026-11-23. WavWonder separates heavy training object storage (Training Store) from web-served evaluation storage (Artifact Store), and organizes untracked local/ directories strictly by retention lifecycle.

Context

Training generates multi-gigabyte optimizer checkpoints and feature caches alongside lightweight dashboard audio renders and temporary bytecode/linter caches. Storing everything in one bucket couples dashboard latency to checkpoint size, while mixing durable downloads with bytecode caches in one local folder risks deleting checkpoints or run state when clearing tool caches.

Decision

  1. Store shared feature caches, pretrained weights, seed checkpoints, and full trainer attempt states (runs/<attempt_id>/) in Training Store, and store rendered evaluation audio, alignment bundles, and blind listening media in Artifact Store backing research/dashboard/.
  2. Partition gitignored local/ by retention and ownership: local/runs/ for trainer attempts, local/checkpoints/ for exported weights, local/outputs/ and local/dashboard/ for local renders and dashboard state, local/data/ and local/assets/ for regenerable corpora and assets, local/cache/ (PYTHONPYCACHEPREFIX, UV_CACHE_DIR, tool caches) safely deletable at any time, and local/scratch/ for short-lived debug scripts.

Consequences and revisit conditions

  • Clearing local/cache/ recovers disk space safely without removing downloaded checkpoints, run logs, or corpus data.
  • Revisit object-store boundaries when products/platform/ adds user-facing voicebank hosting distinct from internal research buckets.

Type to search…

↑↓ navigate↵ selectEsc close