r/LocalLLaMA
•
u/petuman
•
1d ago
•
1
New Model GLM-5.4: Toward Generalized Coding with Our First Loop Transformer
https://z.ai/blog/glm-5.4GLM 5.4 blog post, found by changing 5.3 to 5.4 in URL.
To mods, open weights release announced the post:
Open Weights: We plan to open-source the model weights responsibly after completing necessary safety hardening.
1.1k
Upvotes
•
u/WithoutReason1729 1d ago
Your post is getting popular and we just featured it on our Discord! Come check it out!
You've also been given a special flair for your contribution. We appreciate your post!
Stylome classified this post's text as human-written. View analysis Learn ^more
I am a bot and this action was performed automatically.
18
u/petuman 1d ago
Apparently I was just lucky with timing, that blog post URL is public as of 15 minutes ago:
https://x.com/Zai_org/status/2124805514722771349
(also says "Model weights will be released responsibly.")
7
u/fgnm 1d ago
Would we talk about the Hello World song?.. it's literally the best presentation even made from an LLM I've ever seen :D
660
u/LegacyRemaster 1d ago
We plan to open-source the model weights responsibly after completing necessary nerf to cybersecurity skill
193
u/DoorStuckSickDuck 1d ago
“Before committing our flagship model to it, we validated the Loop architecture progressively across 1B, 4B, 30B, and 750B base models.”
Where are the <30B models Mansley?
113
u/MaCl0wSt 1d ago
huh. what?
306
u/RedMatterGG 1d ago
I dont really like the cyber sec nerf, wasnt open weights supposed to be the backup for everyone that doesnt have access to frontier models and want to defend themselves against groups/ppl that do?
94
u/Pro-editor-1105 1d ago
i guess qwen4 is what we met along the way
29
u/No-Refrigerator-1672 vLLM 1d ago
Is that a hint that they might release a 30B GLM too?
27
u/artisticMink 1d ago
So no cybersecurity and softened bio/hardware-engineering and reverse-engineering capabilities.
90
u/__JockY__ 1d ago
So disappointing to see all the Chinese models nerfing the cybersecurity capabilities of open weights models. Bad, bad sign.
17
u/Xonzo 1d ago
Oh FFS…. Here we go again.
16
u/One-Reference-7355 1d ago
The great nerfing begins
21
u/JustinPooDough 1d ago
We already have GLM 5.3 which is uncensored basically. We could use it to teach 5.4.
It’s futile ultimately.
10
u/Better_Opposite6533 1d ago
Bro got accurate, 4 days diff from Antrhopic IPO
https://www.reddit.com/r/LocalLLaMA/comments/1xwy3ka/probable_glm_model/
9
u/Dense-Ad6315 1d ago
I'm hoping there will be a flash of the same size as 5.3f
14
u/goingbankai 1d ago
Damn if they released those too it would be sick. More labs competing to show (even semi outdated) versions of their flagship architectures in smaller forms is a fantastic way to show off imo, would be super interested in what a looped 4gb can produce. Mainly because my old crap servers could even run it
7
u/Murky_Ad_6858 1d ago
Will there be a 5.4 Flash?
7
u/CryptographerOne7003 1d ago edited 21h ago
So.... The community needs cyber sec traces, we should gather that as a community.
5
u/NandaVegg 1d ago
Interesting thing is that they only looped mid-layers, which would make interpretability significantly easier (mid-layers are always chaotic with non-loop Transformer anyway) and likely faster than looping the whole thing. I suppose there are many "holes" that are severely underutilized in a single pass in those large dim models.
I still think Engram would have more gain in the long term given that it is like giving the model precomputed "layers" at the beginning of each token, or maybe hybrid so we can have the best of both worlds.
5
u/Hannibalj2ca 1d ago
But...Is it FINALLY multimodal?
4
u/seamonn 1d ago
Where are the open weight vs open source stans?
4
u/naftalinus 1d ago
interesting, glm 5.4 loops only 2 times (inkling 2 mini 3, varloop 1 to 5) and pass 2 just continue from pass 1, reusing its keys/values and sparse attention indices.
in inkling every pass restart from the same input and only get a per-token message from the previous one also glm is a pre-trained model converted to loop, not trained looped from scratch
4
u/silenceimpaired 1d ago
Looping is also a strict test of Scaling Correctness: any architectural change must still work at scale. Before committing our flagship model to it, we validated the Loop architecture progressively across 1B, 4B, 30B, and 750B base models.
On a 30B model with the exact same architecture as our 750B base, we ran a controlled iso-parameter comparison. With identical parameter counts and only ~10% more total training compute, the looped version showed clear gains:
And will we see this 30b model? Even if it’s under trained I would like to.
4
u/ShenGahMing 1d ago
So the receipe is : GPT first, so that the model structures layers into : decoding, processing, encoding. Then train again with looped processing.
And they found a trick to avoid explosion of the residual stream caused by repetition of the processing step.
46
u/VotZeFuk 1d ago
Deliberately screwing the general capabilities and turning your models autistic only to have them suck even in the intended use case. Nice! With the way things are going, we're falling through a downward spiral of degradation. LANGUAGE models have their LANGUAGE capabilities turned to crap in favor of some beep-boop nerd numbers.
(folks over /r/SillyTavernAI have already noticed that GLM's capabilities were reduced via API somehow, just before this thing was announced... so yeah, it was this yet another Rain Man of a model being tested)
11
u/FrogsJumpFromPussy 1d ago
"We plan to open-source the model after we nerf the shit out of it and practically becomes useless."
The issue with China will ALWAYS be that if Xi gives the order, nothing ever decent will ever come open weights. And I think after the talk with that POTUS muppet, he might had already.
3
u/Psyko38 1d ago
He should release the weights for the other test models as well.
4
u/Substantial_Catch661 1d ago
Even after nerfing I’m sure the community can work some magic to make it whole again ;)
2
u/cibernox 1d ago
My understading of this loop approach is that it essentially doubles the passes per token, so a model that's ,say, 18B models active passes through to parameters twice, thus running at a similar speed than a model with 36B active, but without requiring twice the vram?
2
u/AppealSame4367 1d ago
We should also mention that this intro video on their blog is really cool. Something new compared to the David Attenborough documentation Apple feeling that Anthropic and OpenAI bore us with in every release.
2
u/bblankuser 1d ago
oh for fucks sake
2
u/the_other_brand 21h ago
Sounds like GLM 5.4 was a proof of concept before they create a larger model that can take on OpenAI's Astra. We might see GLM 6 soon.
3
u/sabine_world 1d ago
Bought out
2
u/Icy_Accident_3847 1d ago
Not preview? LOL
1
u/Informal-Trouble2183 1d ago
Good strategy they didn't release the benchmarks. Blind test approach. And AA/Vals usually reuse published benchmarks to quickly sort out the ranking, this time it will take few days.
1
u/silenceimpaired 1d ago
As a result, an extra loop only costs one sliding window of KV cache rather than a full context cache. At 1M context lengths, this keeps GLM-5.4’s deployment cost increase over GLM-5.3 well under control.
Haha… thinking machines inkling could learn a thing or two.
1
u/Cool-Chemical-5629 1d ago
So they are specifically mentioning loop transformer models 30B and 750B and show videos as examples of what their new model is capable of. They are also showing some partial benchmark for that 30B model which they however specifically named as the base for their 750B model, so unfortunately those posts speculating about GLM 5.5 as smaller models around 30B up to like 200B that were circulating a while ago were most likely fake news or someone's wishful thinking. That's incredibly sad.
1
u/Horny_Dinosaur69 1d ago
What do they hope to gain by botching cyber security? Nobody is going to use a botched model when there’s near functional alternatives lacking that censorship.
1
u/MalkoRM 1d ago
As a heavy user of GLM5.3 and Kimi, I'm glad if they make a little bit of effort to discipline their models.
It's not about neutering its capabilities so please hold your horses, I haven't seen any refusal so far. But the GLM family is notoriously goal oriented and takes a lot of liberties ignoring, bypassing, or even evading instructions just for the sake of producing a result. And that is annoying as fuck when a minimum of engineering discipline is required, the model needing a lot more guardrails.
The Kimi models on the other hand are a lot more civilised.
1
u/montdawgg 1d ago
The fix is some third party doing a training run on cybersecurity-related material and thus restoring the function to equal whatever the pre-nerf evals are from the provider. THEN we obliterate it. lol.
1
u/maternion 1d ago
Wait so looped transformer means new base model? 👀
1
u/ixfd64 23h ago
I'm optimistically thinking that this is about normal safeguards rather than the nerfing of cybersecurity capabilities.
1
u/Positive-Secret-3112 22h ago edited 22h ago
We really should start curating/preparing our own dataset slowly (on where these models are lacking, like cybersecurity) so some who have the hardware can finetune those lobotomized models
1
u/Special_Base_3103 20h ago
the loop transformer design is interesting, but I'm more curious about how it handles incremental code edits, does it track state across multiple edits like a real dev would?
1
u/jannycideforever 19h ago
This will be a big moment for open weights. When it comes to API pricing, OpenAI has been eating open weights lunch since Luna 6/Sol 6.1, and by quite a wide margin. At least some part of this is looped transformers. Since this will be the first major open weight release with this tech, it will potentially be the first open model in a while that's truly competitive on cost relative to intelligence.
1
u/noonetoldmeismelled 11h ago
All I care about is coding. Looking forward to Proton upgrading to 5.4 when the weights are out
-5
u/okyaygokay 1d ago
F YEAH! Been waiting for this. I love zhipu. Thx for everything. 5.3 was a beast!