Yeah I don't know if I would call it really good. It's probably good enough for generic background music but for people who actually like and listen to instrumental music the musicality just isn't there.
From the few tests I ran it really wasn't very good. I guess it might be good enough if you're not really into instrumental music and just need some sonic wallpaper.
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.
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).
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.
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.
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.
You can use custom models, but they have to be a diffusers (library) model. There is a script in the diffusers repo that can convert ckpt models to diffusers models.
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.
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.
Every key frame image in the sequence was taken as is with no user intervention, selection, cherry-picking or editing. The entire video is an automated process that only needs you to pick a prompt.
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.
That project is the shared "backend" for all Stable Cabal projects, so everything that uses it has access to the same enhanced generation and out-painting features. Stable Cabal projects are listed here: https://www.stablecabal.org
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.
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.
Yeah I don't know if I would call it really good. It's probably good enough for generic background music but for people who actually like and listen to instrumental music the musicality just isn't there.
From the few tests I ran it really wasn't very good. I guess it might be good enough if you're not really into instrumental music and just need some sonic wallpaper.
Just wait until I release my 192 channel VAE. Perfect reconstruction accuracy and best of all it has 0 parameters!
Found this thread with a Google search... looks like I'm a bit late but there is a music diffusion model specifically for video game music:
https://github.com/parlance-zz/dualdiffusion
https://www.g-diffuser.com/dualdiffusion/
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.
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).
Haha, wow. The music model I'm working on does 30s in about 5s on an RTX 4090, no lyrics though.
ComfyUI is a good place to start.
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.
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/
It's magic 🌈⭐
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
https://www.g-diffuser.com
I don't use colab so I haven't tested it but there is a colab for the grpc server / backend here: https://colab.research.google.com/drive/1Z_ImHgl2NSJjJCmy6IIbcsqu_PYiYzEn?usp=sharing
You can use custom models, but they have to be a diffusers (library) model. There is a script in the diffusers repo that can convert ckpt models to diffusers models.
I haven't tried it, but there's also this https://huggingface.co/spaces/diffusers/convert-sd-ckpt
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
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.
Every key frame image in the sequence was taken as is with no user intervention, selection, cherry-picking or editing. The entire video is an automated process that only needs you to pick a prompt.
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
Thanks!
If anyone's curious how it works there are full explanations in my other recent posts, and more info at https://www.g-diffuser.com
In case anyone is interested here is a much slower one: https://www.youtube.com/watch?v=U9R1-AQNhVY
Edit: And another https://www.youtube.com/watch?v=nJOpLUBiO3Q
In case anyone is interested here's a much slower one: https://www.youtube.com/watch?v=U9R1-AQNhVY
Edit: And another https://www.youtube.com/watch?v=nJOpLUBiO3Q
That project is the shared "backend" for all Stable Cabal projects, so everything that uses it has access to the same enhanced generation and out-painting features. Stable Cabal projects are listed here: https://www.stablecabal.org
My project is here: https://github.com/parlance-zz/g-diffuser-bot
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.
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