跳过导航
spent some time on 🇨🇦 day making a version that's just c++ and compiled kernels
0:00 / 0:48

spent some time on 🇨🇦 day making a version that's just c++ and compiled kernels

gandamu

@gandamu_ml1.6万 位关注者

在 X 上查看
155 个赞下载原帖

18,027 次观看

spent some time on 🇨🇦 day making a version that's just c++ and compiled kernels most of the effort was actually a tool not seen here.. but then I didn't use the tool since I ended up automating the flying

24 条评论

评论来自 X (Twitter) 上的原帖

  • XWAVΞ 的头像

    @XWAVEart

    love to see it

    2 个赞

  • The Nose 的头像

    @MeatMan_Inc

    I miss this kind of AI video

    2 个赞

  • ‏۟ 的头像

    @c0ok3d

    Hell Yeah

    2 个赞

  • J 的头像

    @parkhjaey

    What did the tool end up doing then

    1 个赞

  • gandamu 的头像

    @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 个赞

  • AbandonedMuse 的头像

    @abandonedmuse

    Will you be putting this on GitHub?

    1 个赞

  • gandamu 的头像

    @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 个赞

  • AbandonedMuse 的头像

    @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

  • Chris Hackett 的头像

    @thehackettman

    This is awesome

    1 个赞

  • Chris Hackett 的头像

    @thehackettman

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

    1 个赞

  • gandamu 的头像

    @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 个赞

  • Chris Hackett 的头像

    @thehackettman

    Thank you so much.

    1 个赞

  • X Girls 的头像

    @thesoragirls

    @yacineMTB This is that circa 2022 ai video nostalgia vibe

    1 个赞

  • 𓆏 的头像

    @voatfellow

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

    1 个赞

  • gandamu 的头像

    @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 个赞

  • gandamu 的头像

    @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 个赞

  • gandamu 的头像

    @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 个赞

  • gandamu 的头像

    @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 个赞

  • 𓆏 的头像

    @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 个赞

  • Denis Shiryaev 💙💛 的头像

    @literallydenis

    nostalgic, will you push a code?