DEV Community

Python

import antigravity

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Scaling PyTorch Across Cloud TPU Slices & Pods: SimpleFSDP, DTensor TP, Pallas RDMA & vLLM (Part 5)

Scaling PyTorch Across Cloud TPU Slices & Pods: SimpleFSDP, DTensor TP, Pallas RDMA & vLLM (Part 5)

11
Comments 1
8 min read
Pre-Train Transformers & Fine-Tune HuggingFace LLMs with LoRA on Native PyTorch TPUs (Part 2)

Pre-Train Transformers & Fine-Tune HuggingFace LLMs with LoRA on Native PyTorch TPUs (Part 2)

9
Comments
8 min read
Run Any PyTorch LLM Natively on Google TPUs: A Zero-to-Hero Guide to TorchTPU (Part 1)

Run Any PyTorch LLM Natively on Google TPUs: A Zero-to-Hero Guide to TorchTPU (Part 1)

9
Comments
10 min read
Dev log # 33 Hole-punching, CI firefighting, and the quest for p2p interop

Dev log # 33 Hole-punching, CI firefighting, and the quest for p2p interop

6
Comments 1
5 min read
Post-Training Alignment (DPO) & Live Online GRPO Reinforcement Learning on TPUs with TorchTPU (Part 3)

Post-Training Alignment (DPO) & Live Online GRPO Reinforcement Learning on TPUs with TorchTPU (Part 3)

8
Comments
7 min read
FlashAttention on TPUs (splash_sdpa), Custom Verified Pallas Kernels & XProf in TorchTPU (Part 4)

FlashAttention on TPUs (splash_sdpa), Custom Verified Pallas Kernels & XProf in TorchTPU (Part 4)

9
Comments
8 min read
👑 Birbal Ki Khichdi: Learn Python Modules

👑 Birbal Ki Khichdi: Learn Python Modules

42
Comments 2
3 min read
I rebuilt Taalas's mask-ROM trick in Python. Two of their numbers didn't add up.

I rebuilt Taalas's mask-ROM trick in Python. Two of their numbers didn't add up.

1
Comments 3
7 min read
Receipts: verify an LLM's answer on a different machine, bit for bit

Receipts: verify an LLM's answer on a different machine, bit for bit

Comments
6 min read
Why Prompt-Only Agent Skills Fail — And 3 Zero-Dependency Python CLI Skills Built to the agentskills.io Spec

Why Prompt-Only Agent Skills Fail — And 3 Zero-Dependency Python CLI Skills Built to the agentskills.io Spec

Comments
3 min read
Three process models, each tested against a closed-form answer

Three process models, each tested against a closed-form answer

Comments
6 min read
The inbox that reads back

The inbox that reads back

Comments
5 min read
I let 8 AI agents audit my 2024 Django project. Here's what they found and how I rebuilt it.

I let 8 AI agents audit my 2024 Django project. Here's what they found and how I rebuilt it.

Comments
5 min read
Richer Docstrings Didn't Change Which Tool My Agent Picked

Richer Docstrings Didn't Change Which Tool My Agent Picked

Comments
5 min read
How to extract entities and noun phrases from a page with Python and spaCy

How to extract entities and noun phrases from a page with Python and spaCy

Comments
4 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.