r/StableDiffusion • • 2d 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.

60 Upvotes

54 comments sorted by

9

u/Crazy-Repeat-2006 2d ago

19

u/Independent-Frequent 2d 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 2d ago

This is impressive.

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

1

u/smereces 2d ago

how you use in comfyui!? i´m also have a RTX 6000 pro 96GBVRAM to test it

2

u/Crazy-Repeat-2006 2d ago

1

u/smereces 2d ago

thanks i dont see it! i will test it

4

u/cc_aa_tt_zz 2d 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...

25

u/Hour_Imagination5092 2d 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.

48

u/Tasty_toxic 2d ago

NVFP4 and is 71.8 GB ☠️☠️

33

u/Independent-Frequent 2d 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 2d ago

Strix halo?

10

u/Diabolicor 2d 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/marcoc2 2d ago

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

5

u/Independent-Frequent 2d ago

No idea but the NVFP4 version is around 71 gb

4

u/marcoc2 2d ago

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

2

u/dtdisapointingresult 2d ago edited 2d 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 2d 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 2d ago

96Gb ram minimum

1

u/craftogrammer 2d ago

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

2

u/cc_aa_tt_zz 2d ago

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

1

u/Apprehensive_Sky892 2d 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 🤷‍♂️

11

u/cc_aa_tt_zz 2d 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...

1

u/Foreforks 1d ago

How does this hold up to MiniMax H3? I'm sort of excited to try out Magi 2 when they drop the full weights. Do we think it could be better than Minimax H3 quality-wise?

1

u/Crazy-Repeat-2006 1d ago

From what I’ve seen, I think the full version is superior to the H3 in many scenarios, though practicality (400B) isn’t one of them.

1

u/Foreforks 1d ago

Yeah I've seen some pretty solid videos... I run MiniMax through the cloud on Runpod with an RTX PRO 6000 and starting to wonder if that card could even handle the full Magi-2 model

6

u/Lodarich 2d ago

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

2

u/Calm_Mix_3776 2d ago

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

1

u/Artistic-Chain-4708 2d ago

It's useless trash lol

1

u/Memestonks2020 2d ago

KV-SR is trash don’t bother

1

u/NemRogan 2d ago

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

5

u/ddwrt1234 2d ago

We have to respect the audacity

2

u/imlo2 2d ago edited 2d 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 2d 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 2d ago

When are full weights coming in 🤔

2

u/Dry-Ad929 2d 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 2d 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/Own_War_1098 2d ago

the high quality video model will keep getting bigger. i think having a DGX Spark would be nice and very useful in the future.

1

u/JahJedi 2h ago

I have two of them but think to ran it on sparks will be really slow but when it out worth a shot.

1

u/Aromatic-Word5492 2d ago

Fat model 🥲

1

u/CalligrapherAway7200 2d 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 2d ago

72g 😅

1

u/KimSwallowsMD 2d ago

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

1

u/Crowzer 2d ago

😅

1

u/FullOf_Bad_Ideas 2d 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 2d ago

I wish there was Comfy support

1

u/Wallye_Wonder 2d ago

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

1

u/TheGuyWithTaste 2d ago

I think we need 1-bit version to run it...

1

u/smereces 2d ago

i have a rtx 6000 pro how i can run it in comfyui!?

1

u/smereces 1d ago

I got the first video from magi-2 preview comfyui and im desapointed!

1

u/JahJedi 2h ago

Testing it now whit multi-ref on rtx6000pro, waights in nvfp4, 80g of vram used on 100 steps. Will post some quick results soon in a post.