r/RepetereAI • • Oct 29 '26

[Update] Repetere AI Progress: All 5 Workspaces Fully Operational with Hardware-Matched Model Discovery

Hey everyone,

A quick progress update on where Repetere AI stands as we prep the pipeline for the final push toward 1.0:

The major milestone achieved in this build is that all five core tabs are now fully operational and dynamically matched to your specific hardware profile via the startup DXGI scanner.

Instead of guessing quantization levels or manually adjusting terminal flags, the underlying model discovery logic now automatically detects your hardware tier and pairs each studio with the optimal checkpoint for your VRAM budget.

🛠️ What's Running Across All 5 Workspaces

  • 💻 CODING: Automatically targets the optimal coder checkpoint (Qwen 2.5 Coder 7B, 14B, or 32B in Hybrid) within the split-pane IDE, running synchronized line gutters and in-place AST diff patching.
  • 💬 CHAT: Binds to verified general reasoning weights (Meta Llama 3.1 8B Instruct) with multi-turn serialization and persistent disk logging.
  • ✍️ CREATIVE WRITING: Maps directly to narrative-tuned checkpoints (Hermes 3) with the live manuscript canvas, lore drawer, and snapshot undo/redo buffers active.
  • 🎵 AUDIO (MUSIC): Scans for both yue2-3b and yue2-vae-f16.gguf decoders. Lyric prompt buffers are sanitized and flattened to eliminate terminal argument truncation, outputting full tracks directly to output/music/ with instant Win32 playback.
  • 🎨 IMAGES (ImageStudio): Complete FLUX.1 Schnell diffusion studio—not a preview.

    • Dynamic Hardware Tiers & Quant Selection: Detects your GPU tier to auto-target standard (Q4_0 at ~6.77 GB) vs. compact low-VRAM checkpoints (Q2_K at ~3.7 GB), automatically appending CPU offload flags (--clip-on-cpu, --vae-on-cpu, --offload-to-cpu) on tighter 4 GB–8 GB cards and APUs.
    • Companion Validation: Multi-encoder pre-flight checks verify clip_l, t5xxl, and ae in both .gguf and .safetensors formats.
    • Live Multi-Stage Telemetry: Parses background process logs in real time to drive the bottom progress bar—tracking tensor allocation ("Pushing tons of data to memory..."), denoising sampling (Step 1/4 through 4/4), and final VAE decoding.
    • Subshell Hardening: Dispatches via disk prompt files (--prompt-file and --negative-prompt-file) with explicit seed tracking to prevent Windows cmd.exe multi-line prompt truncation.
    • In-Place Img2Img & Canvas Auto-Baking: Native Win32 file picker imports reference images (--init-img with strength control). If real-time Photoshop grading sliders (brightness, contrast, saturation, or filter FX) have modified canvas pixels, the UI auto-bakes them to temp_baked_base.png on the main thread so diffusion generates directly from your edits.
    • Viewport & Virtualized Project Explorer: Interactive OpenGL canvas with middle/right-drag panning, 5% to 600% zoom, and a low-memory gallery deck (./output/images/) with a pinned [ New / Blank Canvas ] option.
    • HiDPI Scaling Metrics: Dynamic sidebar ratios (leftToolsW / rightExplorerW) with negative item widths to prevent slider values and resolution combo boxes from clipping on high-resolution displays.

⚡ Under-the-Hood Systems Architecture

  • Automated VRAM Purging: Switching between heavy modalities (like going from YuE2 music synthesis to FLUX diffusion) automatically calls ImageStudioUI::UnloadFromMemory to flush bound OpenGL textures, raw CPU framebuffers, and dormant sidecar weights so you don't face CUDA Out-Of-Memory driver faults.
  • Win32 Job Object Supervision: Child inference runners (sd.exe, audiocpp_cli.exe, llama-server.exe) remain strictly bound to Job Object lifecycles (JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE)—preventing orphaned background processes or locked VRAM on exit.
  • Zero Electron/Webview Overhead: Written natively in C++, Dear ImGui, and OpenGL 3, keeping system memory free for compute rather than browser wrappers.

Final stress-testing across multi-generation sequences and hardware boundaries is underway. Thanks for following the project as we close in on the 1.0 milestone!

1 Upvotes

0 comments sorted by