r/StableDiffusion • • 8h ago

News MAGI-2-preview NVFP4

colinb83/MAGI-2-preview-NVFP4 · Hugging Face

"The preview transformer of sand-ai/MAGI-2-preview (revision 2dea51b64db47ee5b4402d36fd90829a0c58913b) with its mixture-of-experts weights quantised to NVFP4. Everything else in the transformer is copied unchanged in bf16.

This is a storage format, not a 4-bit runtime: the loader it was made for dequantises each layer's experts to bf16 in front of the original bf16 expert kernel."

It’s still 71.8 GB, but since it’s MoE, it should work for those with enough RAM.

49 Upvotes

41 comments sorted by

9

u/Crazy-Repeat-2006 8h ago

16

u/Independent-Frequent 7h ago

It runs on a single RTX 6000? That's great news, only 16k dollars and we can finally have a potential Minimax H3 competitor

10

u/AIappreciator 7h ago

This is impressive.

But why the sound is still as dogshit as it was 2 years ago?

3

u/cc_aa_tt_zz 7h ago

Yes, that’s exactly the kind of video I had too: pretty poor (bad facial animation, rigid character), even LTX 2.x performs much better and is 20 times faster...

36

u/Hour_Imagination5092 7h ago

Keep in mind, this is the preview version, not the model announced few days ago. The preview is avaiable for some time now and really lacking in quality compared to the full Magi-2.

40

u/Tasty_toxic 8h ago

NVFP4 and is 71.8 GB ☠️☠️

23

u/Independent-Frequent 7h ago

Look at the little brokie who can't even drop a few hundred thousand dollars on hardware for the new model, pathetic/s

2

u/throwawaysugaracc 4h ago

Strix halo?

7

u/marcoc2 7h ago

How much "enough ram" is enough? Can 24vram + 64ram handle it?

4

u/Independent-Frequent 7h ago

No idea but the NVFP4 version is around 71 gb

3

u/marcoc2 7h ago

Yep, but we need text encoder too, what TE is used?

2

u/dtdisapointingresult 5h ago edited 5h ago

Not an expert but I think you will get slowdown with 64GB, the question is how much. It will need to swap between the text encoder and the video model at every run, right? If you don't have enough RAM to fit both weights in RAM, a small portion of the weights must be read from disk.

I think it's worth trying though. ComfyUI is supposedly very optimized at caching and offloading.

TE is Qwen 3.5 27B.

1

u/alwaysbeblepping 4h ago

It will need to swap between the text encoder and the video model at every run, right?

You only need text encoder to encode conditioning. So every time you change the prompt, not necessarily every run.

2

u/cc_aa_tt_zz 7h ago

96Gb ram minimum

1

u/craftogrammer 5h ago

I have that, but what about VRAAM hahah.. I have only 16GB

1

u/cc_aa_tt_zz 5h ago

it is enough with offloading. but this model (the preview version) is very very bad and very very slow.

1

u/Apprehensive_Sky892 6h ago

Since it is MOE, it is probably worth trying as (24 + 64)= 88 > 71, but you also need the text encoder which is Qwen3.5-27B which is another 14G at nvfp4, plus the VAE (3G), so total footprint is (71+14+3) = 88.

On top of all of that you also need the latent space.

So it will probably not run well 🤷‍♂️

7

u/Diabolicor 6h ago

This is not even the new 480b or 400b model. You can expect 4x the size when it's released. The preview was released before the model went through RL it's a pretty bad model.

8

u/cc_aa_tt_zz 7h ago

I tested it using my own quantized version: LTX 2.3 is better and Minimax H3 is far superior. Furthermore, both are infinitely faster. Don’t waste your time, really. This model has been publicly available for four months; People are talking about it again today because of its final version, "Magi-2.", But don't be fooled: the preview version was bad four months ago, and it's still bad today...

5

u/Lodarich 7h ago

Video VAE, from Wan-AI/Wan2.2-TI2V-5B
bruh bruh bruh bruh

2

u/Calm_Mix_3776 7h ago

Kandisky Video SR could help with the image artifacts maybe? 🤔

2

u/Memestonks2020 6h ago

KV-SR is trash don’t bother

1

u/NemRogan 3h ago

Their new Image SR model is pretty good looking. I haven’t tested their video SR though.

1

u/Artistic-Chain-4708 6h ago

It's useless trash lol

4

u/ddwrt1234 7h ago

We have to respect the audacity

2

u/imlo2 7h ago edited 7h ago

I wonder if anyone has tried to run this on a 5090? But it's way over 50% more than the card's memory, and what else than the model needs to fit into memory. It will probably swap for hours.

EDIT: Looking at the comments in the huggingface repo it looks like it has to fit to memory.

2

u/Calm_Mix_3776 7h ago

Did anyone test with RTX 5090 yet? I have one and 96GB RAM and I'm tempted to try it, but I have no more disk space left anymore lol. I'll have to archive a few models to another drive first to make room.

2

u/Lower-Cap7381 7h ago

When are full weights coming in 🤔

2

u/Dry-Ad929 5h ago

I suspect that only the authors know for sure perhaps they are also preparing a smaller version optimized using various pruning techniques so that local users can run and modify it. There isn't much of a business case for releasing a massive video model as open weights, but if you provide a smaller variant, people can use it on their own hardware and even tune it. This fosters the growth of an ecosystem and boosts popularity outcomes you certainly wouldn't achieve by releasing a 500B model that no one would bother trying to tune

2

u/dtdisapointingresult 5h ago

DGX Spark master race stay winning! I can run this and even Qwen 27B alongside it, all on a $3k system.

Boy am I glad I didn't listen to reddit last year and bought one. I was almost memed into buying a Strix Halo or multiple 5060s.

1

u/Aromatic-Word5492 8h ago

Fat model 🥲

1

u/CalligrapherAway7200 6h ago

Hopefully it will be compatible with Raylight so I can combine the VRAM in my two 5090's and offload the rest to my 192gb of ram

1

u/ucost4 5h ago

72g 😅

1

u/KimSwallowsMD 5h ago

Yeah somebody send me a notification when you can get this to run on a 4080 🤣😅

1

u/Crowzer 4h ago

😅

1

u/FullOf_Bad_Ideas 3h ago

Is there any way to run it on ampere? I have 8 3090 Tis and this could be fun if it works. I couldn't get magi 1 to work on 3090 ti in the past due to magiAttention so I guess it's still the same situation.

1

u/No_Comment_Acc 3h ago

I wish there was Comfy support

1

u/Wallye_Wonder 1h ago

A modded 170hx with 80gb vram has entered the chat