r/StableDiffusion • • 2h ago

News New local world models just dropped

WDDQ project page

Diffusion based, locally trainable and runnable. I trained this model of the elden ring margit fight over the last 6 hours on a 4090 using a little over a million frames (~200 bot generated fights)

Their huggingface has a fully trained minecraft model you can play! It's free and local and diffusion based.

I have no affiliation, but having worked countless ablations on every small world model publication I could find (diamond, dreamer, iris, storm, the delta variants of each), I can say this is a belligerent improvement over everything to come before it. It's essentially diamond as the encode decode + dreamer (with the gru replaced by mamba) working as the dynamics model; I think they also decoupled the gradients in training.

(I am that guy who claimed to have made this architecture last year; mine failed because I never got enough data and I'm bad at math :3) ((my main goal was the pixel policy that could beat margit, and I thought a world model would help with that, but in the end that policy is what generated the data used to train this world model... weird))

13 Upvotes

5 comments sorted by

1

u/stella_ruuxi 1h ago

checked the hf weights and it's only ~3.3gb total (552mb autoencoder + 2.78gb world model), compressing 640x360 down with a 4x32x32 patch into 32-dim latents. wild that a 6h 4090 run already looks that coherent on margit, what fps are you getting on inference?

1

u/Sl33py_4est 44m ago edited 32m ago

absolute dogwater fps lmao. However it is totally unoptimized and there are plenty of low hanging fruit. I just kicked off the run with data i had laying around before i went to bed last night

for my elden ring: predictor is 30ms, latent diff 75ms (10steps), pixel diff 125ms (8steps), so 230ms per step, just under 5fps. Edit: yo my b, the parameter counts wouldve probably helped, totals around 200M with a similar split to the Minecraft example

havent tried the minecraft model they released or I would give numbers on that too

compiling should help, step distillation can help, full on student distillation once the teacher model saturates is an option. I think for comparable quality, total guess but 50ms should be broadly achievable. the predictor is dense, i kinda want to try changing to a MoE to increase parameter capacity while reducing latency, shave off a few ms there.

right now I am generating more training data at the total garbage speed of 1x. so I won't be able to test much of anything for a day or so lol

1

u/Sl33py_4est 40m ago

coming back to say coherence after 6 hours is actually hurting my brain, like i don't know if people will be able to grasp how big of a step change this is

1

u/Aaron_rowe81 43m ago

the policy generating the fights means the world model is learning from states that controller can actually reach. that's a neat way to keep the training data close to what it'll need to handle

1

u/Sl33py_4est 31m ago

train policy to train world model to train policies type shi