brML
Run small machine-learning experiments with the hardware setup handled for you and clean logs you can compare.

Current status
Early Python helper library for reproducible local PyTorch training runs and metric logging.
Overview
Lightweight Python toolkit for running reproducible machine-learning experiments, cleaning datasets, and logging training metrics without heavy framework bloat.
Why it was built
Testing a small model idea in PyTorch often takes hundreds of lines of repetitive setup code just to handle GPUs, random seeds, and metric logs.
Why it helps
Handles device setup across NVIDIA GPUs and Apple Silicon automatically and records clean, comparable experiment logs in a few lines of code.
What you can do
- Automatic hardware setup across NVIDIA CUDA, Apple Silicon, and CPU
- Clean experiment metric logger and automatic disk-saving checkpoint cleanup
- Fast dataset deduplication and throughput timers
Trigonometric Latent-Space Circular Video Looper & 51-Shard Local LLM Runner
Solves seamless video loop generation via closed unit-circle VAE latent trajectories alongside local 123B safetensors shard streaming and TF-IDF subtitle classification.
Closed Trigonometric Trajectory z(t) = z0·cos(2πt) + d·sin(2πt)
Traverses a closed unit-norm circle in VAE latent space for t in [0, 1) so frame N reconnects to frame 0 with zero visual jump cuts.
Memory-Mapped 123B Local Model Layer Streaming
Streams quantised and sharded safetensors weights across GPU/CPU memory tiers for local uncensored inference and batch captioning.
Multi-Label TF-IDF + OneVsRest Scene & Dialogue Classifier
Trains fast scikit-learn multi-label classifiers over SRT subtitle corpora to tag topics, tone, and speaker turns across thousands of clips.
Automated Perceptual Deduplication & Caption Alignment
Filters noisy video/image training sets by resolution, optical flow stability, and VLM caption alignment.
brML — Verified Engineering & Visual Transformation
Testing a small model idea in PyTorch often takes hundreds of lines of repetitive setup code just to handle GPUs, random seeds, and metric logs.
// Baseline manual workflow
// Problem: Testing a small model idea in PyTorch often takes hundreds of lines of repetitive setup code just to handle GPUs, random seeds, and metric logs.Handles device setup across NVIDIA GPUs and Apple Silicon automatically and records clean, comparable experiment logs in a few lines of code.
// brML verified pipeline
// Outcome: Run small machine-learning experiments with the hardware setup handled for you and clean logs you can compare.
// Status: Early Python helper library for reproducible local PyTorch training runs and metric logging.0.7725 → 0.9395 (+0.167 · Sharpness +48.4% · PSNR 44.09 dB)Negation parity & evidence verifiedInteractive walkthrough
Step through how brML works without creating an account or installing local dependencies.
Entry & problem context
Maturity: In active developmentTesting a small model idea in PyTorch often takes hundreds of lines of repetitive setup code just to handle GPUs, random seeds, and metric logs.
Lightweight Python toolkit for running reproducible machine-learning experiments, cleaning datasets, and logging training metrics without heavy framework bloat.
Shared platform architecture sandbox
Test the live cross-language single source of truth shared across TypeScript, Python, and Rust.
~anthropic/claude-sonnet-latestgoogle/gemini-3.1-flash-image (Gemini 3.1 Flash Image)google/gemini-3.1-flash-image → google/gemini-nano-banana-2.1 → openrouter/free0.8499 (effective cost $0.00102/1k)Universal 9-Surface Visual & Image Capability Router (`resolveVisualRoute`)
Routes character turnaround sheets, 3:4 VN busts, 16:9 scenes, top-down battlemaps, 1:1 tokens, typography plates, semiotic brand favicons, WebGPU background removal, and Tier-2 local ComfyUI models.
black-forest-labs/flux-2-pro via fal16:9 · Max ref images: 2 · Fallback: google/gemini-3-pro-image → google/gemini-3.1-flash-imagePromoted to canonical anchor (overall 0.958)Standby · Vector guard: 1024d verifiedOff-peak active (50% V3 / 25% R1 cost)Noir detective standing under neon rain in a cyberpunk alley, cinematic volumetric lighting Character anchors: trenchcoat; amber cybernetic eye. Composition & pose guidance: 16:9 widescreen; cinematic keyframes.0.9 (Passes quality gate)Semiotic Brand Identity & Federated SoC Governance
Peircean Brand Mark, Multi-Size Squint Test & 3-Tier SoC Boundary
synapse_hexpublic_oss (max tier: oss_public)100.0% (non-redundant >15%) · Retired symbol trap: Clear (0 retired symbols)Engineering Velocity & Open-Source Hygiene
Synced from @brbrainerd and @vox-foundation via the GitHub GraphQL API (GET /api/github/stats).
Single-file full-stack programming language and Rust compiler that generates database schemas, server routes, and typed clients from one declaration.
Interactive political economy simulator with ECS civic rights, institutional modeling, policy levers, and multi-regime scenarios.
Interactive 3D macaque brain atlas and stereo surgical view planner rendered in browser WebGL.
Single-binary Rust and React kiosk shell for Raspberry Pi digital photo frames with remote mobile upload.