Twitxy Saved

Alejandro AO πŸ€—

Verified account This account is verified. Learn more

@_alejandroao

AI Education | Developer Advocate @huggingface
EU alejandro-ao.com Joined November 2022
579 Following 4.5K Followers 1.2K Posts

Latest posts 5

Alejandro AO πŸ€— Verified account @_alejandroao
DeepSeek's DSH harness is built on a simple idea: everything is a plugin. Including the agent loop itself.

In this tutorial I break down cordis, the plugin system behind it:

> the architecture of dsh
> services, dependency injection, and events
> building a real plugin live

Thread πŸ‘‡
35:39
12 replies 18 reposts 264 likes 8.9K views View on X
Alejandro AO πŸ€— Verified account @_alejandroao
Crazy that this is free. I come from a SWE background. HF's educational material has always been a blessing and helped me get closer to the intersection of SWE and ML.

In the handbook:
> Train your first MoE
> Tune routing & load balancing
> Debug training & GPU bottlenecks
Thomas Wolf Verified account @Thom_Wolf 4d
18 of the 20 best open models today are Mixture-of-Experts. Dense is basically over.

And yet the know-how to train a good MoE still lives mostly in the heads of a handful of teams.

So we spent 800k GPU hours running the experiments ourselves and wrote everything down. Super happy to finally release "The Ultimate MoE Training Handbook", free and open, organized around the questions training teams hit:
- how many experts, how big, shared or not?
- why is half my step spent in all-to-all, and how do I hide it?
- why is my run 25x slower with no error in the logs?
- softmax, sigmoid or sqrt(softplus) router, and why keep it in fp32?
- aux loss or DeepSeek's loss-free bias?
- upcycle a dense checkpoint or train from scratch?
- can I serve with fewer experts per token than I trained with?

⚠️ Warning: it's long (~70k words, budget a few days, sorry) but with 55 interactive figures, code you can run and numbers from our own runs.

Read it here: huggingface.co/spaces/hugging…
View quoted post on X
2 replies 4 reposts 13 likes 1.1K views View on X
Alejandro AO πŸ€— Verified account @_alejandroao
i had a blast at the NEXXT AI Summit in Bucharest last week.

i was at a panel interview about how to delegate work to agents. interesting because half of the audience were non-technical, business users of claude code.

i also had a booth there. i was able to talk to a lot of interesting people about open models, local AI, and Reachy Mini, who accompanied me during the event.

lots of fun πŸ€—
8 replies 0 reposts 19 likes 653 views View on X