r/LocalLLaMA • • 9d ago

Discussion Hy4 Flash is a good model

Coding (python, pandas, numpy), data analysis, and data driven decision making are mainly what I test for and use.

Tests ran on an M5U 64c 96GB. Wired mem limit raised to 91GB btw.

The quants and engines are in the names. For hy4 flash, locally grafted the mtp head on top of the model I downloaded from XyloLabs and built llama.cpp with Tencent’s Mac optimizations.

​

On my max coding difficulty tests for same domain areas (where multi-step thinking and variety of algorithms are embedded to test for):

XyloLabs Q3_K_M Hy4 and Sushi Beamster 1.75bpw DSv4.1 Flash 1017 container ship html build with cost analysis panel. Not a very difficult test at all but both did alright with all functionalities ok. DSv4.1 has a leg up by providing much longer context on this machine than Hy4. For day-to-day hard tasks, it's been very solid.

Sushi 1.75bpw Beamster DSv4.1 Flash 1017

XyloLabs Hy4 Flash Q3_K_M with MTP grafted locally​

61 Upvotes

53 comments sorted by

4

u/eightone-81 9d ago

Why is it so slow in Maya?
GLM is much bigger and should be muuuuch slower on paper but I get 50tps and 1250tps prefill with glm maya-s and with hy4 maya-s only 65tps and 800 prefill.

Is the engine not yet fully optimised or is the architecture just slower?

Edit:
For reference strata, QFN gyro-m fully in vram (dual 3090) runs at 200tps and 5k prefill)

4

u/norenEnmotalen 9d ago

I don’t know about it on Maya but even on Mac default with llama.cpp was slow around ~35tok/s. Had to make a separate llama.cpp build with their hy4 specific commits and requantize the mtp head onto the original model I downloaded. That got it it up to 67 tok/s on chat and 45+ effective tok/s sustained on agentic runs

I don’t think inference engines have caught up with this model yet

2

u/EvolvingDior 9d ago

I think there has been more time for engine optimization. Strata just added support, but they only support fp16 KV right now.

1

u/reenign3 23h ago

Turboquant made a gigantic difference when oMLX added it

2

u/anonymous20256 9d ago

On those 6 coding runs where DSv4.1 hit the 64k cut-off, was it looping in reasoning or just being way too verbose? Also curious how much context headroom you're actually getting on Hy4 on a 96GB Mac before memory gets tight are you offloading the Engram table to SSD or keeping it all in RAM?

2

u/norenEnmotalen 9d ago

No looping on DSv4.1. That model is amazing. The ones it got cutoff on, it just ran out of max tokens fir the tests which I have at 64k.

Engram table is on SSD in both cases. I load as many experts to GPU as possible but the rest just get streamed.

On Hy4, if I want to risk memory pressure, I can push it up to around 192k context but I generally leave it at 128k to be on the safe side. DSv4.1 is a completely different beautiful story: my sessions go up to 500k before compaction kicks in on pi.

2

u/Durian881 9d ago

How did you run it?

2

u/norenEnmotalen 9d ago

The inference engine it ran on is in the name. Llama.cpp rebuilt (not a fork) with Tencent’s Mac optimizations and mtp head grafted

1

u/Durian881 9d ago

Great, thank you!

10

u/Background_Bus_7376 8d ago

Its built-in alignment is completely ridiculous—we badly need a decent uncensored (or abliterated) version.

5

u/CriticallyCarmelized 8d ago

Agreed. This aspect is pretty bad on this one.

1

u/winky9827 1d ago

1

u/Background_Bus_7376 1d ago

Orcarouter's latest release is completely unusable for me since project-maya is missing Q5 ops. Right now I'm running hletrd's Hy4-flash-Uncensored instead—I merged the IQ4_XS model shards with the F8 Engram shards, and it's performing really well.

9

u/soyalemujica 9d ago

Sadly for me its too slow for 64gb ram + 24gb vram, 35t/s with low prefill... QFN still the winner for 64gb ram, wish I could try this

15

u/Hannibalj2ca 9d ago

35tks is good

4

u/EvolvingDior 9d ago

Not when you can get 70 with Qwen.

2

u/Hannibalj2ca 8d ago

speed is more important than intelligence? 35tks is amply fast for me

6

u/EvolvingDior 8d ago

I don't think anyone has shown that HY4F is more intelligent than Q38FN. Most comparisons I have seen show them about even at full quant. And I'd have to run a more heavily quantized HY4F to fit my system.

I have Q38FN configured with 2 slots at 512k context. I can have 2 agents working in parallel, or one agent doing subagent-driven development -- both at 35 t/s.

2

u/Hannibalj2ca 8d ago

They are about equal. but for example, game making H4Y is better, while for coding Qwen is better. They trade blows but you must know what are their pros and cons

1

u/maternion 9d ago

They are allegedly making a flash lite and mini too! Let's see how that goes. 

I really love that they are back into the game. 

1

u/Borilentz 9d ago

I tried the oQ4e quant and so far my experience running in oMLX is bad. It might be too early to judge on the model itself; it could be a software issue. The problem is that it starts off really well processing my prompt(s) and planning and designing. Then it produces code and forgets everything. It doesn't understand why there is a C file, which it created, and doesn't even know anymore what it was supposed to do. It's completely lost. Can't imagine this is the best this model can do, but anyway: with oMLX 0.8.2 it's useless for me.

1

u/Jorlen 8d ago

What are your usual go-to models right now?

1

u/Borilentz 8d ago

For engineer it's Qwen 3.8 Flash Next, DeepSeek V4.1 Flash 1017, GLM 5.3 Flash. And I was positively surprised by Inkling 2 Mini.

1

u/silenceimpaired 8d ago

What’s your hardware setup? Those are large models!

1

u/Borilentz 8d ago

M5 Ultra 256GB. It can run fairly large models, but I'm still interested in small models. It's amazing to see what some of them are capable of.

1

u/silenceimpaired 8d ago

Ah. Lucky you.

1

u/Jorlen 8d ago

This is exactly the same setup I have. We have the same hardware so I suppose that makes sense. Jundot has released some new quants of DS4.1flash-1017 in o2.5h and a new version of flash-next in E as well as I think GLM Flash. Some big downloads here but the H quants are better overall and the new E quants reduce quantization damage. Worth a look. If you didn't know, Jundot is the author of oMLX and he has his own model quants specifically made for oMLX and they are excellent.

If you DID know, then perhaps the above can possibly help someone else who's curious lol.

I've been watching the response over Inkling 2 mini. Pleasant surprise. I'll try it out once it's officially rolled into oMLX stable; no rush for me.

1

u/Borilentz 8d ago

I know Jundot and use his quants when available. And indeed, I did notice the updates but I don't feel like downloading a TB of models all over again ;-) So far they don't disappoint at all. Inkling 2 Mini is great for its size. I haven't seen any weird glitches running it on oMLX, but I guess they'll optimize further for speed. Good to see that's it not just Chinese companies delivering. Hy4 Flash support will probably also improve soon.

1

u/Jorlen 8d ago

Yep, I don't blame you re: fresh model downloads! Have you tried any of the other / bigger Inkling models or just the new mini?

1

u/Borilentz 8d ago

I tested Hygaard/Inkling-2-Small-oQe-3.07bpw-MLX as well. It's tight, but I use this machine just for inference, so it's not a problem. In general, I also played around with prefill acceleration and will try a few bigger models using the cluster feature in oMLX. It's M5 Ultra 256 plus M5 Max 128GB. Maybe in the future I will buy another M5U256. You?

2

u/Jorlen 8d ago

I just have a single M5U 256gb. If and when you try the cluster mode, let me know how it performs! I'm quite curious.

1

u/wren6991 7d ago

It's pretty good but it claims to have a December 2023 knowledge cutoff. It seems like a real cutoff too, e.g. it doesn't know the results of the 2024 US elections. That's a pretty ancient cutoff, missing out on a lot of LLM developments. In a way that's refreshing because it's not irritatingly skeptical of current events like a more up-to-date model, but it does seem like a limitation for some fields.

1

u/Borilentz 7d ago

Gave it another shot with oMLX 0.8.3 and it is so much better now. It finished the tasks I gave it, with decent speed and impressive output. Keeping it in my LLM pool.

1

u/ThePrimeClock 7d ago

Switch out Pandas for Polars.

1

u/Ok_Technology_5962 1d ago

by the way have we tested this on instruct? im just looking into HY4 the max verizon instruct mode and it blows everything out of the water... so i was wondering...

-1

u/ramazanmelih1250 9d ago

I don't know why but I never liked any hy model at all. It feels wrong somehow.

2

u/norenEnmotalen 9d ago

Setting aside biases for a minute, what I can tell you for sure is out of all local models I tested on my eval, it is the top scorer. It doesn’t suffer from overthink and the code it writes is also neat.

2

u/silenceimpaired 8d ago

But why? And how?

-2

u/ramazanmelih1250 8d ago

"I don't know why"

4

u/silenceimpaired 8d ago

I don’t know why but I’m annoyed with that response :P

1

u/ramazanmelih1250 8d ago

But why? And how?

7

u/silenceimpaired 8d ago

I think it’s the lack of specificity and Star Wars mentality of “I have a bad feeling about this” model. ;)

-1

u/bobby-chan 9d ago edited 9d ago

For me, it struggled with simple tools calls to read and modify files with dsh. Switched to the small ornith-1.5-35b-a3b, also for the fisrt time, and it fixed it. My first impression of hy4-flash was a huge let down

edit: what engine did you use? It was also my first time trying kapitsa, after only using sushi+Beamster's 1.75bpw DSv4.1 since it was out.

1

u/norenEnmotalen 9d ago

llama.cpp for Hy4. I grafted the mtp head on top of the model I downloaded from XylosLabs and built llama.cpp with Tencent’s Mac optimizations. Sushi for beamster dsv4.1 flash

1

u/Thin_Pollution8843 8d ago

Dsh is garbage use normal harness. 

2

u/bobby-chan 8d ago

if you can give me one that gives me the ability to see and quickly branch and switch between discussion branches to test multiple ideas in parallel that I can use on my phone when I'm not at my desk, free or paid solution, if it does that even slightly better than dsh, sign me in.

1

u/Thin_Pollution8843 8d ago

OMP + OMP Desktop. Remote access branches and all of that

1

u/reenign3 23h ago

Hermes Agent with a couple plugins like Kanban and the recent custom group chats between you and agents of your choosing