Frank retweeted
China cracked recursive self-improvement 🤯
Tencent dropped 27B model that rewrites, retrains, and refines itself.. with zero human in the loop.
It’s called "Terminal-RSI" and it solves one of the biggest problems with AI.
They are incredibly lazy.
Usually, an agent will make partial progress, claim it succeeded, and completely fail the final environment verifier check. this new pipeline forces agents to actually finish the job.
here’s how it works:
they built a recursive loop with two alternating phases..
- RSR (recursive self-rewrite): the model fine-tunes itself on its own successfully rewritten trajectories
- RPR (recursive policy-refine): it then runs reinforcement learning (ppo) using a "critic" inherited directly from the previous stage to lock in those discovered behaviors
- Loop: the training sequence leapfrogs itself: Base → RSR-1 → RPR-1 → RSR-2 → RPR-2
and the numbers are insane..
they applied this to a qwen3.8-27b base model. across the four "terminal-bench" suites, the agent's average success rate jumped from 20.68% all the way to 50.58%.
on the absolute hardest benchmark suite (terminal-bench 4.0), the base model scored a flat 0.00%.
after terminal-rsi?
it hit 19.84% (putting it right on par with reference models like gemini 3.8 flash).
the secret sauce? they fixed the reward system.
instead of giving the ai "dense rewards" for just trying or passing semantic checks, they switched to a "success-prioritized reward" (spr).
it mathematically separates strict success from partial credit.
basically, the agent only gets the massive reward payout if the code actually passes the final terminal gate.. so it stops faking success.
the gap between partial local repairs and strict terminal verification is closing fast.
we are watching agents build their own training environments and level up autonomously.. the future is wild.
Frank retweeted
Selling my two NVIDIA RTX PRO 6000 Blackwell 96GB:
m.olx.bg/d/ad/nvidia-rtx-pro…
And
m.olx.bg/149715038/?bs=olx_p…
I really hope this goes far and wide so we can get you that Mac.
I do not know how you have the energy, the expertise and the humility, but somehow you do. Thanks mate. Appreciate you.
If you can, buy the man a coffee folks. ☕️👍🏼
#TensorFold
Following my earlier post about the M5 Ultra 512GB Mac Studio, more than two dozen people asked me to set up crowdfunding for it.
I always try to pay my own way, so asking for help at this scale doesn't come naturally. But I couldn't make the numbers work this time, and my loan got rejected after placing the order.
I'd love to get one for TensorFold and to see how far we can push it.
If you'd like to help towards it, I've put the goal on Ko-fi below. Please only contribute if you're comfortable doing so.
ko-fi.com/ashxhart/goal?g=2
Thank you to everyone who's encouraged me to do this, and to everyone already supporting TensorFold. I'm incredibly grateful and will continue to push TF. ❤️
TensorFold: exact speculative decoding on Apple Silicon. Drafted output is byte-identical to serial decoding, yet measured substantially faster on real Mac hardware.
• M5 Max (128 GB), Nemotron 3.5 Lightning 4-bit: 188–206 tok/s vs ~138 tok/s for mlx_lm (short answers with thinking). Holds 175–162 tok/s at 20k–60k context.
• Qwen3.8-27B 4-bit + DFlash2 on M5 Max: ~189 tok/s on code vs ~26 tok/s without drafts. Independent tests show 2.5–3.7× over other engines using the same drafter.
• M5 Ultra (256 GB) community runs (Qwen3.8 Flash Next variants): 148–189+ tok/s decode across 1k–64k+ contexts; prefill often 2k–3k+ tok/s. Concurrent 8-stream Qwen3.8-27B: ~1.84× vs llama.cpp (~160 vs ~87 tok/s).
• Two M5 Ultra Mac Studios over Thunderbolt 5 (speed-up/split): ~1.2–1.5× decode and 1.7–1.8× faster prefill from ~8k tokens on large models (e.g. Flash Next), remaining token-identical. Prefill can reach several thousand tok/s combined.
• Nemotron variants have hit 200+ tok/s peaks in-engine with MTP; prefill patches have delivered ~10% gains on M5 Ultra while preserving exactness.These numbers turn Mac Studio’s unified memory advantage into usable, deterministic local inference speed.
There is too much to list, but a formal conversation really needs to start to take this where it can go.
tensorfold.dev
@shshnkp @ashxhart
Not great. I know many people including myself, who initially thought Apple Mac Studios would be the first choice for AI, discovered Sparks were much better.
Ash, and #TensorFold flipped that on it's head and made Apple a credible and viable competitor. The rate of development is insane and the main limiting factor is HW, and direct developer suport @AppleSupport
We need to get @ashxhart in touch with proper contacts. I have none, but someone out there does. Get connecting.
@shshnkp - forgive the cold tag. I have no established relations with Apple.
Can you take a look at @ashxhart's work: particularly #TensorFold but also #MCDMA and get Ash in touch with the right folk for HW to use for development and testing. TF is significant in Apple's ability to compete on inference.
github.com/ashhart/TensorFol…
UK nerds, represent.
- Telephone
- Television
- The Computer
- MRI
- Radar
- The Jet Engine
- The Web
- Cracking the Enigma code
We've done some great stuff, but it's been a while. We're gonna need something new. How about a UK LLM?
300+ already in. Sound like your thing?
What's happening with UK LLM is wild.
People are giving up their time, sharing what they know, and actually building an LLM together. We've already got a council pilot, a shared test set and the first results coming in.
We're pulling the testing together now. The local AI community in the UK is seriously strong. Mega seeing everyone get stuck in 💪🏻
If you are in the UK and want to participate, then please join in on Discord - discord.gg/ng5ayaCYD
Big thanks to everyone contributing ideas, tests and their time:
1O48576 AaronBedward AIAnd_I AIMystik AldakerA andydynamics atasrb AutomatedAgile BexheartsAI bitplane cepstrum9 Chronara_ai cryptosibbers dafzthomas danielkempe Dataphil3 DeanYates123 DeliriousJ51867 DerekColley_ Disclosure1990 dnixty dubsthedev Egly443 Fletch_K_ fran0245 fxdstudios GasPoweredCat halfpennymac HouMuza iamkevchilds ImperialisVox javierbits Jayeljay2 jbennieme jtdavies KixLabs_UK kristiannaaron Lewislee215213 Luc_Gibson Luke85953209 M_LeninistSco1 machinegenie magnvsltd Mark_Edgeller MartinSWDev mikenott mrfallah p0sts1ngular1ty P2PJim PapaRichens PassingPixels photo_png raftomas RicDerby sennnenac sherlock_comms ShockerLocker socloapp ssiliconbg subkleo TechnicalCooper TheLabJam ThomasKleitc wb1936
This is neat as hell. An experiment using RTS gameplay to determine a victor powered by a variety of LLMs and whatever they have to offer.
Does slow and steady win the race?
Tune in to find out. @niklaslenz_ai may have just birthed AI e-sports!
COMING SOON!
I built a strategy game where local LLMs play against each other. Any model, any hardware.
Pick a model, pick a box, let them fight. Spark against GPU, Mac against Spark, small model against big model. Same map, same rules.
Here is one real match.Qwen3.8-Flash-Next with @MiaAI_lab 's recipe on a DGX Spark against Qwen3.8-27B on my RTX 5090.
No human input. The models see the map through fog of war and command their side through 21 tools.
They run an economy, build a base, train an army, scout, take shrines and decide when to strike. Over 200 orders in one match.
And it runs in real time. The game never waits while a model thinks. Speed and smarts both count.
Very excited for this one! 😁
Recipe by @MiaAI_lab on @ashxhart's TensorFold. NInfer by neroued. Models by @Alibaba_Qwen.
Frank retweeted
Be like @ashxhart
The person behind TensorFold.
> Grew up in the UK
> Spent 7 years in tech support
> Joined a friend’s food delivery tech company
> Spent 2 years there as a PM
> Went back to his first company as Head of Technology, still there today
> 15+ years across software, DevOps, AWS, networking and cybersecurity
> Became the 4th-line support guy, the one you call when nothing else works
> Started exploring AI on the side
> Spent 6 months building a local inference engine in private
> Archived it three times
> Launched TensorFold anyway, expecting maybe 5-10 users
> It blew up in the first few days of launching
> 1.5k+ stars on GitHub
> Top Local AI builders started contributing
> Rewrote it in Zig with the community
> Built MCDMA so Macs and NVIDIA boxes can share memory
> Linked two Mac Studios over Thunderbolt 5
> Shipped a model that keeps learning while you use it
> Got a DGX Spark donated to keep building TensorFold
> Went from 300 to 9k+ followers in 4 weeks
> Called on the UK to build its own open model
And the story’s far from over.
We need people like Ash to push forward Local AI and Personal AI.
Truly an inspiration! Follow him, you will thank me later.
Honored to partner with him to make TensorFold part of the @YukonResearch challenge.
The local community is absolutely on fire with the @darkbloomai @yukonresearch @eigenlabs TensorFold Challenge.
CUDA is heading for 200% 🤯
@GumbiiDigital @0xkydo @TheDavidTai
This is a high-quality round-up of recent high-quality output from a bunch of high-quality and most excellent AI nerds. 🫡
𝗔𝗚𝗜 𝗖𝗵𝗲𝗰𝗸𝗽𝗼𝗶𝗻𝘁 #𝟰 𝗶𝘀 𝗼𝘂𝘁 🚀🚀
A few highlights of this week are:
𝗕𝗶𝗴 𝗹𝗮𝗯𝘀 🏢
→ @GoogleDeepMind's Gemini 4 Carbon takes #1 spot on the Artificial Analysis index
→ @MistralAI released new Le Chonk weights
𝗖𝗼𝗺𝗺𝘂𝗻𝗶𝘁𝘆 👥
→ @ViC305 squeezed @Meta's 816B Muse into ~120 GB at 1.13 bpw, with 96.48% top-1 token agreement
→ @divagr1925 built a RISC-V CPU inside Qwen3.5-4B's weights, using its Gated DeltaNet layers as RAM. It runs C and MicroPython in its forward passes
→ @plotarmordev cut Fish Audio's Drama 3 from 36.95 to 19.35 GiB in NVFP4, with no measurable quality loss on one Spark
More builders who shipped cool stuff this week and you should follow 👇
@jayleaton: LocalRouter, a full local AI stack on one DGX Spark
@u1tra_instinct: Ghost Machine, near-instant speech-to-speech agents on TensorFold
@VectorCrossProd: speech-to-text running on an ESP32-P4 chip
@roy_eisenstadt: DCOCO, speculative decoding up to 6.6x faster
@ashxhart: more improvements to TensorFold
@MiaAI_lab: no intro needed, the legend behind many spark recipes
@ch0mpaa: TensorFold on Snapdragon
Exciting times 🤩
I did not realise @CerebralCoding_ was a small account. I'm shocked. Get your follow in early while you can - claim the "I was here before 20k" status now! Hehe - great account 😎👍
Most AI Twitter ships demos. I ship stuff that runs on a Mac with the lid closed.
MLX-Serve. TensorFold. Local agents that don't phone home.
Sitting at 197 followers and hunting 250 by tonight. If you're building local Apple Silicon AI, say hi. #connect
This sums it up beautifully - Jun is good at this. One of my first follows!
512GB Local AI Showdown: 1x M5 Ultra Mac Studio vs 4x NVIDIA DGX Spark.
Everyone talks about token speed, but nobody talks about what happens when you run inference 24/7.
I ran the math on power, heat, and US electricity bills (at the $0.18/kWh national average).
Here is the real cost of 512GB memory at home:
1. M5 Ultra Mac Studio (512GB)
* Idle power: 9W
* Real 24/7 inference draw: ~280W (385W max peak)
* Daily power used: 6.7 kWh
* US electricity cost: $1.23/day or $37/month
* Heat output: ~950 BTU/hr (Max 1,314 BTU/hr)
2. 4x NVIDIA DGX Spark Cluster (512GB total)
* Idle power: ~95W total (ConnectX-7 NICs stay hungry)
* Real 24/7 inference draw: ~500W (up to 740W if you add an external 200GbE switch)
* Daily power used: 12.0 to 17.8 kWh
* US electricity cost: $66 to $98/month (up to $126 at peak load)
* Heat output: 1,700 to 2,500 BTU/hr
What this means in practice:
The 4x Spark cluster kills the Mac on prompt processing because of massive FP4 compute.
Plus, 500W to 740W is still way better than a 4x RTX 3090 or 5090 rig pulling 1,600W+ from the wall.
600W+ of constant heat from a 4-node cluster plus networking turns a small office into an oven.
You are basically running a small space heater all day, which means paying even more to run your AC.
Meanwhile, the M5 Ultra gives you 1.2TB/s bandwidth in one silent box that barely warms up the room and costs about the price of one streaming subscription per month to run non-stop.
For heavy batch jobs and huge prompts, take the Sparks.
For a 24/7 home server that keeps your room cool and your power bill low, the single Mac Studio is still tough to beat.
Ouch #Apple M5 Ultra 512GB
An extra £11,500!
No chance. Damn. I thought I was ready.
This might be the one. It’s certainly one of the ones. ;)
Roll on GLM-5.5 flash day. Can’t wait.
TensorFold 1.1.4 is live.
Up to 5× faster Qwen3.8-27B cold prefill on GB10, native Gemma 4 on CUDA, faster Flash Next multi-stream serving, and a long list of fixes from the community.
What's new and fixed:
• Qwen3.8-27B on CUDA has a new default prompt/decode recipe. On GB10, cold prefill improves by 54% at 2k, 107% at 8k, 258% at 32k and 416% at 64k. The 64k result goes from 203 to 1,045 tok/s; decode gains about 2% across 1 to 8 streams. Optional int8 prompt precision is also available, with bf16 remaining the default.
• Gemma 4 12B and 31B now run on native CUDA from MLX affine checkpoints, with their drafters. On GB10, the 12B's MTP assistant takes single-stream greedy chat from 30 to 67 tok/s, and z-lab's DFlash drafter takes the 31B from 12.6 to 29.9 tok/s. Image paths are implemented, but their GB10 image test cells have not run yet.
• Flash Next on CUDA verifies multiple streams' drafted windows in one pass. The GB10 served sweep gains 35%, 75% and 116% at 2, 4 and 8 streams, with tokens unchanged. Greedy MTP heads batch together; sampled heads, trees and media retain their per-stream path.
• More kernel work: fused Flash Next DeltaNet prefill, a reused PLE worker pool, Qwen attention reads that reuse KV data in L2, segmented split-K decode, and fewer Nemotron RADIO launches. GLM-5.3's Metal sparse-index scan drops from 1.59 ms to 0.14 ms in the measured cell. Startup timing tables also stop one noisy measurement from setting later performance.
• Drama 3 CUDA prompt chunking is opt-in. With 128-row chunks on GB10, first audio drops from 18.2 s to 0.76 s and the full utterance from 47.5 s to 30.2 s. The default remains unchanged; larger chunks can change rounding.
• Opt-in speech controls now include silence-tail, onset and mid-utterance guards; whole-reply redraws with budgets and deadlines; short-reply and register guards; a controls allowlist; synthesis frame limits; and attested voice catalogs. The voice tool can build those catalogs from reference audio and transcripts. Drama CUDA replay also waits for buffer fills before reuse.
• Nemotron-H MLX 4-bit now runs on the opt-in native HIP backend, including MTP, prompt caching and tensor parallelism. Unsupported flags are refused before loading, and Qwen HIP can cancel during long prompt chunks.
• Idle unload can free a model's memory after a configured idle period and reload it on the next request. A failed reload returns a retryable error; ranked GLM CUDA engines refuse this option.
• Sticky CUDA faults now make /health return 503. Driver-refused CUDA graphs can run eagerly instead of spinning, and queued writes retain their destination buffers through allocation failures.
• GLM's draw ring no longer fills after 64 completed or cancelled cold requests. Long chats retain less tokenizer/template scratch, kept-alive connections retain less memory, and a missing disk state no longer evicts cached states before its read fails.
• Memory and cancellation fixes cover Drama Metal loads that exceed the budget, Nemotron Metal Mamba-pool sizing and released slots after refused work, Qwen draft-node counts above 15, and prompt passes that now stop between chunks on cancellation or shutdown. GLM on one Mac also keeps its draft-acceptance estimates steadier after missed drafts.
• Flash Next CUDA gains POST /v1/decisions on one GPU and loads valid nested checkpoint shards. Qwen CUDA vision reads Hugging Face-named towers. Managed benchmarks can select bf16 or fp8 KV cache and record the choice. Windows builds with nvcc and cl.exe work again.
• Slide learning counts only kept lessons. App fixes cover engine-refused checkpoints, TUN/fake-IP proxies, Google's sign-in callback and visible setup errors. The docs now have a native GLM-5.3-Flash CUDA page.
• Experimental DeepSeek work adds native prompt rendering, HTTP 400 responses for template refusals and four-rank prefill planning. It remains behind the whole-model gate; release binaries do not serve DeepSeek checkpoints yet.
Release checks cover cold prompts from 2k to 64k, 1/2/4/8-stream sweeps and reference checks, with Linux and macOS host tests passing. The Qwen recipe changes prompt arithmetic, so output bits can differ from 1.1.3; its quality check matches the previous recipe at 27/40 exact cases, and concurrent/resumed checks still hold. One measured regression is documented: Nemotron Lightning greedy chat at four streams on GB10 is 3.8% slower.
All three release archives are signed and verified against the site's trust root. The nine published assets were downloaded back and checked against the signed files. Homebrew is updated and upgrade-tested, and a fresh install through the website script verified the archive signature.
A huge thank you to the release contributors:
@bobclawblaw @plotarmordev @rielstamand @MiaAI_lab @Bizuayeu @jishvenugopal @petruspennanen @wesley4546
And GitHub contributors jschmied, Mirrdhyn, wojo, heitke, BlivionIaG, harrisonfriia and paragontasx.
Thank you for the reports and requests, GitHub users Chris9121, flashosophy, Gogo6969, Idoo689, johncarterlives, mikog8tor, samwang0041-star and tonghuaxuan2016-dot.
Attribution also matters. The Gemma family builds on earlier work by gilby on GitHub and @codengod. Credit to Google for the Gemma assistant, z-lab for DFlash and the 31B drafter, MLX/mlx-lm and Hugging Face Transformers for model references, and Fish Audio, SGLang-Omni and Descript for the Drama model/codec references. Full source and licence credits are preserved in THIRD_PARTY_NOTICES.md and docs/credits.md.
And thank you to everyone testing, sharing measurements, contributing fixes and giving me access to hardware. This project would not be moving this quickly without you.
@MiaAI_lab @plotarmordev @petruspennanen @volatilemarkts
tensorfold.dev
Frank retweeted
DeepSeek-V4.1-Flash on one M5 Ultra: prefill up 17-29% (now ~1,800 tok/s from 8k to 131k tokens), and a 1M-token prompt reads in 740 s, down from 1,784 s.
Faster MoE + indexer kernels, wider prompt chunks; logits bit-identical. Native TensorFold Metal.
github.com/BobClawblaw/deeps…
Running DSV4.1F 1017 on the Mac M5U 256GB with #TensorFold thanks to the genius of others and just took a glance at the new SparkDash (Mac vitals, very pretty!) to see 145 tok/s being sustained 🤯
Technically it's not even done yet. I'm just eager. Typical is more like ~80tps but it often peaks to 120tps. What a model and what a great job.
I tagged some contributors but there are more that I didn't but would want to. This Mac has turned out a great choice thanks to the most excellent computer nerds. Here's to computer nerds 🫡






























