Skip to content

u/parlancex

In this archive from Dec 2014 to Feb 2026

27
posts
167
comments
25
media
2.2k
score
1 saved before deletion

The SNES model used class label conditioning so you had to have music sorted into games / albums, but the new model uses CLAP audio embeddings exclusively for conditioning so you don't need any labels or metadata.

You can use varying bit rates and sample rates, the end result is the audio quality actually becomes part of the "prompt" (the prompt in this case is another audio file, or collection of audio files); if you use a 128kbps mp3 as the prompt it will mimic the sound of 128kbps mp3 which is kind of amusing... If you want everything to sound as realistic and crisp as possible you should avoid using compressed audio in the dataset.

The sample-rate I chose for my current model / vae is 32khz, which to me is a good balance for audio quality / clarity and vram cost. For sample length I use a minimum of 45 seconds and a maximum of 3 minutes. When the model is training I use 45 second random crops from the source audio, this allows me to fit a simultaneous batch size of 10 into ~18GB of vram (and then anywhere from 10 to 20 grad accum steps for a total effective batch size of 100 to 200). This is possible because I pre-encode the latents for the whole dataset, which is only possible because the vae encoder is fully convolutional. Pre-encoding 120k tracks took me 3.5 hours on the single 4090.

Lastly: There's no conditioning for lyrics but you can still use music with lyrical content. It will come out as amusing sounding "simlish" that sounds like language but isn't actually real words or anything. There's a bunch of k-pop type tracks in the expanded video game dataset I'm training on at the moment so when it generates vocals it sounds like pseudo-korean. I don't know korean but it honestly sounds like real korean to me haha.

There isn't a lot of up-to-date documentation on how to do things in the repo at the moment, it's more refined / organized than it use to be but there's still a lot of experimenting going on. If you're going to actually attempt to train a model I'd recommend adding me on discord because you're going to have questions. PM me if you want my discord username.

5 points

My own that I've been refining over the last year. I used SNES music during development and testing, demo audio is here: https://www.g-diffuser.com/dualdiffusion/

If you're not so into the retro sound the newer version of the model is being trained on drastically more data with a lot more diversity. It sounds like this (this is only 48 hours into what will be a ~400 hour training run, from scratch on a single 4090).

8 points

Hi, I've been training diffusion models with a 4090 for the last few months. I can confirm the 4090 is indeed about 2.5x faster than the 3090 for training. <br/><br/> Due to the overhead of synchronizing the gradients in multi-GPU you aren't going to see much improvement using multiple consumer cards without NVlink either in one PC, or in separate PCs. That said, going with 2 cards in separate PCs is a good idea if you are experimenting. Being able to train 2 models simultaneously at full speed using the full 24GB of VRAM is extremely helpful when testing ideas, tweaking the dataset / augmentations, trying various hyperparam combos.<br/><br/> Lastly, I think you might be drastically underestimating the amount of VRAM you will need for training, possibly based on what you see during inference. Training in mixed precision still requires 32-bit model weights and gradients in VRAM, and with a reasonable minibatch size you will quickly deplete 24GB. Even if you were planning on integrating VAE, set your sights much much lower in terms of resolution.

9 points

Looks like they're not using img2img or even generating more than 1 frame, they're just generating 1 frame and warping it with software. There's a lot of software out there that can do that.

Alternatively if you're looking for smooth animation that can blend together multiple generated keyframes you might want to take a look at this: https://www.reddit.com/r/StableDiffusion/comments/z1w3kg/cavemen_of_the_future/

1 points

The entire video was generated from a prompt using a single automated command in my g-diffuser interactive CLI. The process works by using enhanced out-painting recursively to generate a sequence of keyframe images starting from the end of the zoom. These keyframes are then composited into the final video you see here.

Each keyframe you see in the video is the first and only sample generated for that keyframe, no user intervention, editing, or cherry-picking.

My project is here: https://www.g-diffuser.com

Other Stable Cabal projects with the same out-painting features are available here: https://www.stablecabal.org

3 points

The process works by using enhanced out-painting recursively to generate a sequence of keyframe images starting from the end of the zoom. These keyframes are then composited into the final video you see here.

I suppose it's worth mentioning that because the whole process is automated, each keyframe you see in the video is the first and only sample generated for that keyframe, e.g. , no cherry-picking.

My project is here: https://github.com/parlance-zz/g-diffuser-bot

Website with gallery is here: https://www.g-diffuser.com

1 points

Yes! Basically the same way shaped noise was being added in out-painting mk.2, but in latent space.

There are also a lot of other pipeline enhancements that work to make the magic happen, and make it more reliable. Being able to combine shaped noise with runwayML1.5 in-painting is huge, and CLIP guidance is another big one.

1 points

The entire video was generated from a prompt using a single automated command in my g-diffuser interactive CLI. The process works by using enhanced out-painting recursively to generate a sequence of keyframe images starting from the end of the zoom. These keyframes are then composited into the final video you see here.

I suppose it's worth mentioning that because the whole process is automated, each keyframe you see in the video is the first and only sample generated for that keyframe, e.g. , no cherry-picking.

My project is here: https://github.com/parlance-zz/g-diffuser-bot

3 points

If the images were all user supplied they might not necessarily blend together very well. The very last image in the infinite zoom is supplied by the user.

If you watch all my infinite zooms to the end you'll see the same guy waiting there for you.

3 points

The entire video was generated from a prompt using a single automated command in my g-diffuser interactive CLI. The process works by using enhanced out-painting recursively to generate a sequence of keyframe images starting from the end of the zoom. These keyframes are then composited into the final video you see here.

I suppose it's worth mentioning that because the whole process is automated, each keyframe you see in the video is the first and only sample generated for that keyframe, e.g. , no cherry-picking.

My project is here: https://github.com/parlance-zz/g-diffuser-bot

4 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.