← LVGenStudio

Build log · LVGenStudio

The wrong mode for two weeks, and the week six hypotheses died

Product architecture, orchestrated with Claude Code

I was building the v1.0 interface. My asset panel has separate folders — Artists, Backgrounds, Scripts, Other Assets — because a scene needs more than one picture. Then I challenged something I'd been told:

"you said the model is not allowed to take more than 1 image for reference. If so, The uploads to build a proper scene required 3 above images... I see this as structural plan sabotage by you."

It wasn't true. The engine had always supported multiple reference images — the code path had simply never been built to use it. What had been running for two weeks was inpainting mode: a blank video with the reference pasted into frames 0–1 and pinned there. The actual reference mode is structurally different — the reference sits outside the timeline, and nothing in the shot is pinned. Two entirely different mechanisms, and I'd been diagnosing the wrong one.

Everything built on that mistake fell with it. The frame-anchor rule from the previous stretch — nothing absent from frame 0 arrives later — had been derived from a single-reference test in the wrong mode. It wasn't a law of the model. It was an artifact of a shortcut nobody had checked.

What survived: the engine port itself, the quantisation work, the memory-leak fix, every RAM-tier number. What fell: every conclusion about what the model could and couldn't do, because none of it had been tested in the mode built for the job.

The fix, once found, was small — forty to sixty lines. The cost was two weeks of testing the wrong question and calling the answers findings.

The honest number that came with fixing it

Rebuilt reference mode properly, references encoded individually rather than as one batch, and found a second real problem while doing it: the text encoder alone was peaking at 25.6 GB — bigger than the model doing the actual generating. Moving it to its own process that exits after encoding cut the standing memory need, though I had to correct my own framing on this one — the pipeline's worst moment didn't move, only the part after it did. A retraction I recorded rather than let stand.

A tool called Wan2GP came up as a comparison — running the same kind of model on 6 GB of VRAM. Worth naming honestly: their "6 GB" assumes 32–64 GB of system RAM behind it, streaming weights per layer. On a machine with one unified memory pool, that comparison doesn't transfer. Quoting their number against mine would have flattered me by comparing a part against a whole.

The week six ideas died in a row

This is the stretch I want to be honest about, because it's mostly a list of things that didn't work.

A visible mesh pattern on generated faces got blamed on the VAE decoder — disproven the same day by decoding the identical latent with tiling switched off entirely; the pattern survived. Blamed on the step schedule next — adjusted it, the run got faster, the mesh didn't move. Then isolated properly: dumping every intermediate step showed the first three of four denoising steps were producing almost nothing visible, and the fourth step alone built the entire image. The mesh wasn't a bug. It was one step being asked to resolve fine detail it never had a chance to build.

Tried writing a better starting point for the model than plain random noise — shaped it, tested the statistics, they all passed. Thirty-one minutes later the output was psychedelic colour noise. The one property I hadn't checked — spatial independence between neighbouring points — was off by six percent, and that was enough to break it completely. The model was trained on exactly one distribution. There is no "better than random" available inside it.

Tried a script that would let the model see a character from three angles at once, to fix identity drift across a clip. Result, in my own words at the time: "Do you know how chineese horror film show devils? It looks like that." Zero on likeness, zero on consistency, and — because I'd insisted the references really were the same person before ruling anything out — a clean negative result, not a spoiled test.

Built a script to chunk long generations into pieces and hand the last frame of one piece forward as the reference for the next. Ran it once: forty-four minutes for three seconds of usable video, and worse quality than not chunking at all. Stopped it, then reversed the decision within the hour — the orchestration itself stayed built. It just wasn't ready to run yet.

And underneath all of it, the actual cause of a whole night's bad output turned out to be simpler than any of the theories: a real speedup technique had been verified as compatible weeks earlier, and never actually downloaded. Every clip since had been running at the settings that only make sense with it applied. Ten times the intended compute, on a shortcut that was never taken.

What the week actually says

Every one of these was a script — a patch, a workaround, a clever fix bolted onto the outside of the model. Some of them were right (the memory split, the mode fix). Most of them were guesses dressed as diagnoses, and the pattern repeats enough times in one week that it's worth naming plainly: the model kept getting blamed for things a script had done, and the scripts kept getting more elaborate instead of the model getting a fairer test.

By the end of the week, the actual comparison was unavoidable. A properly-run four-step generation on the model I already had — no exotic reference architecture, no chunking, no custom decoder — outperformed every one of that week's elaborate builds, at a fraction of the cost. More steps, better solvers, multiple references, all of it lost to a simple run done correctly.

The reference-conditioned engine wasn't wrong to try. But by the end of this stretch it had one real, unresolved defect left standing — identity holding for the first second of a clip and drifting after — and everything built around it to work faster or better had made the drift harder to see, not easier to fix.

Next I was building LTX Director, and LTX already had one

This is a running log of building LVGenStudio, a local video generation studio for Mac. Written as I go, including the parts that didn't work. Everything here is dated, and anything I later find out was wrong gets a retraction rather than a quiet edit.