Damus
A₿del fgu profile picture
A₿del fgu
@Abdel

If you want to change the world, don't protest. Write code!

Relays (8)
  • wss://premium.primal.net – read & write
  • wss://relay.primal.net – read & write
  • wss://relay.damus.io – read & write
  • wss://nos.lol – read & write
  • wss://nostr-relay.schnitzel.world – read & write
  • wss://relay.sovereign-stack.org – read & write
  • wss://purplepag.es – read & write
  • wss://bitstack.app – read & write

Recent Notes

Eli Bensasson · 1w
Following in the footsteps of the mighty OG Abdel!
NADO - click to mine · 6d
Are you saying FBI won't take this down?
Eli Bensasson · 1w
haha, obviously you'll be here first :-)
Emmanuel Onuoha · 1w
Hey Abdel
A₿del fgu profile picture
Ok I will come back and post more often on Nostr. It’s a shame I don’t manage to maintain consistency here. Now there is a real chance with all the buzz on Buzz to make Nostr getting finally the real traction it deserves.
Freedom of speech protocol.
And much more actually.
The future of agentic commerce might happen on Nostr.
Decentralized marketplace of services and billions of agents exchanging services over Nostr DVMs.
Let’s go
A₿del fgu profile picture
I trained a GPT across 4 workers using Nostr as the communication layer.

No central server. No coordinator. Workers exchange compressed pseudo-gradients as signed Nostr events through public relays.

This is "nostrain", distributed ML training over Nostr.

How it works:

1. Each worker trains locally for N steps (standard PyTorch/AdamW)
2. Computes pseudo-gradient: trained_params - initial_params
3. Top-k sparsifies → int8 quantizes → zlib compresses
4. Signs it with BIP340 Schnorr, publishes as a Nostr event (kind 33333)
5. Collects peer gradients from relay
6. Averages + Nesterov outer step

This is DiLoCo, the same algorithm Google used to train LLMs across poorly-connected datacenters.

Except the "datacenter interconnect" here are censorphip resistant Nostr WebSocket relays.

The repo ships a char-level GPT demo (834K params, 4 layers, 4 heads).

4 workers each get a different slice of Shakespeare (inspired by Karpathy nanoGPT).

No worker sees the full text.

Text evolution over 5 rounds:

Round 0: ROMEO:2NYPp@JTb<;2..qce[vP
Round 2: ROMEO: Maf sthat pine ted mes I chat
Round 5: ROMEO: d I shes mear to the ce withat, tre so ther wisho

Loss: 4.5 → 2.4. The workers that saw completely different text are converging to the same model through the relay.

Why Nostr?

Because Open Source / Decentralized / Sovereign AI must win.

Public relay infrastructure already exists. WebSocket pub/sub at scale, with cryptographic identity built in. Every gradient event is Schnorr-signed and verifiable by any subscriber.

You don't deploy servers. You don't manage infrastructure.

You just point workers at relays that already exist.

The relay doesn't know or care that it's carrying ML gradients.

And it is censorship resistant.
56❤️7🚀3🧡2:eyes:11👀1
A₿del fgu · 19w
Repo: https://github.com/AbdelStark/nostrain
uncleJim21 · 19w
A cool application for this would be keyboard predictions Google already does training inside the phones while theyre plugged in and does techniques to share weights only.
Carlos Vega · 19w
Distributed ML over Nostr is a clever hack—I like the use of relays for pseudo-gradients, though I wonder about scaling with more workers. Reminds me of how decentralized systems handle coordination under stress, like NATO’s response protocols in that Iran-Turkey missile incident last week. h...
someone · 18w
What is "top k sparsifies"?
Adrien Lacombe · 29w
thoughts on https://www.vibekanban.com/ is it worth spending time trying to leverage it?
Vanessa · 34w
Your PFP is so bright! How did you do that?