spent some time on 🇨🇦 day making a version that's just c++ and compiled kernels
@gandamu_ml16K followers
18,027 views
24 Comments
Comments from the original post on X (Twitter)

@XWAVEart
love to see it
2 likes

@MeatMan_Inc
I miss this kind of AI video
2 likes

@c0ok3d
Hell Yeah
2 likes

@parkhjaey
What did the tool end up doing then
1 like

@gandamu_ml
You can steer the video as it's rendering. Also, DD is modified so basically all the settings are per-frame in a CSV file. You can edit it as it's rendering to change the prompt or other settings. Works very well, but requires extreme patience to actually steer based on output.
1 like

@abandonedmuse
Will you be putting this on GitHub?
1 like

@gandamu_ml
I'm aiming for a simple Windows exe first. This isn't what most people who've gotten into it want first, but that's part of the point.
1 like

@abandonedmuse
Idc I will use it with Wine. I want random Ai like this. I like having the option to do this kind of insanity

@thehackettman
This is awesome
1 like

@thehackettman
Is there anything you'd recommend if someone was going to have this recoded? Might try.
1 like

@gandamu_ml
"rewrite this in c++ make no mistakes" hehe. In reality there is some iteration. I probably asked for c++ + libtorch first. It used TorchScript first but it was slow. Ultimately it's AOT compiled kernels that use fp16 without quality degradation. Just don't let it be mediocre.
3 likes

@thehackettman
Thank you so much.
1 like

@thesoragirls
@yacineMTB This is that circa 2022 ai video nostalgia vibe
1 like

@voatfellow
What made you rewrite it? Still love disco, best creative experience and exploration I've had with any image creation.
1 like

@gandamu_ml
I knew from recent experience that I can simply ask Codex or Claude to rewrite the whole thing in C++ and it's done in no time 😅 I do need to give it some advice to do things well.. and getting it to compile the kernels in the best way required persistence, but it's easy.
3 likes

@gandamu_ml
I had a tool for flying the camera during rendering in late 2021 (for Pytti, then DD) but I never properly released it because: a) it was written in Python (hard to distribute), b) required dev packages for GPU use, c) most users used Colab (ToS violation when driven by my app)
3 likes

@gandamu_ml
A C++ rewrite ironically (similar to how native iOS apps are often easier to build and distribute than Java) is easier to distribute. I can just pack an executable with the models and prebuilt kernels and people can install it. Python on the other hand is weird.
3 likes

@gandamu_ml
I also almost always end up iterating faster when a project is native C/C++ rather than something that runs slower. Rather than need to profile and target certain slow points, I can just make it all good and fast and basically not worry about it. Also unintuitive.
3 likes

@voatfellow
I hope you're going to release it with all the improvements you're cooking up. DD is something for the museums looking back at this time :)
1 like

@literallydenis
nostalgic, will you push a code?

