Skip to content

By PromptFission2 min read

VideoTurko gets an 8.7-second video out of a 4 GB GTX 1050 Ti, in 57 minutes

A patch series for stable-diffusion.cpp runs MiniMax H3 at 209 frames with about 300 MiB of VRAM to spare, and records the patches that made memory worse.


VideoTurko, by the GitHub user alexturkey, is a set of patches and scripts that run the MiniMax H3 video model on a GTX 1050 Ti with 4 GB of memory. The default output is 209 frames, 8.7 seconds at 24 fps and 640 by 384, with generated audio. The author reports that one such clip took about 57 minutes, and that peak VRAM was 3,777 MiB of the card’s 4,096.

The interesting part is the claim attached to it: the settings match the reference run, with the same quantization, step count, and seed.

How it works

The repo is a numbered patch series against a pinned commit of stable-diffusion.cpp, plus PowerShell scripts. The README describes H3 as a 33B diffusion transformer and says the project runs a 13.7B “HyperFlow Flash” build as a Q4_K_M GGUF, at 6 steps.

According to the patch notes, almost none of the patches change arithmetic. They change where things live and when:

  • The sampled video latent is saved to disk so the VAE, which turns latents into frames, can decode in a separate process with the card to itself.
  • Large intermediate tensors at graph cut points go to system RAM instead of VRAM.
  • Attention and MLP layers are processed in chunks, with results written into preallocated tensors.
  • The usual fallback to tiled VAE decoding is turned into an error, because the author treats tiled output as not valid for quality.

Because these are meant to be pure placement changes, the author checks them by hash. Output is reported byte-identical to the unpatched reference at 56 and 141 frames. Longer runs have no such check, which the README states.

The patches that backfired

The notes keep the misses in. Chunking the QKV projection alone raised peak memory by 121.5 MB, from the extra copies, and only pays off when paired with a later preallocation patch. Another patch added 320 MB at 209 frames until a follow-up fixed where its output buffer was created.

The margins are thin. Image-to-video tops out at 192 frames: at 209 it needed 2,587 MB and had 2,570. The README warns that a busy display or an open browser can sink a 209-frame run, and that low free RAM can kill the process with no error.

A clean-folder install was not yet verified, and only the one card was tested by the author. Other GPUs appear only as community reports.

Try it yourself

Per the README: Windows 10 or 11, an NVIDIA card with 4 GB or more, 16 GB of RAM, and 32 GiB of free disk, about 29 GiB of which is models. Each sampling step took 436 to 483 seconds, so plan accordingly.

The patches are MIT licensed. The model is not: the README’s summary of the MiniMax H3 Community License says its territory excludes the EU, the UK, South Korea, and the US, and the installer asks you to read and accept it yourself.

We have not run VideoTurko or seen its output. This is based on the README and the patch notes in the repo.