Menu

#AdamW

3 posts

Feed·
2 of 3 posts
Pre-Train Transformers & Fine-Tune HuggingFace LLMs with LoRA on Native PyTorch TPUs (Part 2)
📰
0Read More

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

DEV Community: pytorch·Ahmed Elnaggar·1 day ago
#6QaZlyMm
#devtopytorch#devto#dev#torch#loss

Pre-train a modern Causal Transformer from scratch with activation checkpointing, 10.2x lower HBM chunked cross-entropy, and SingleTraceTrainer (AdamW & Muon), then fine-tune Qwen3-0.6B with native PyTorch PEFT LoRA at 20,511 tok/s on Colab TPU.

15s
Weight Decay 0.05: Catastrophe in Adam, Optimum in AdamW
📰
0Read More

Weight Decay 0.05: Catastrophe in Adam, Optimum in AdamW

DEV Community: pytorch·b1ackjack12·about 1 month ago
#geaZvlkd
#devtopytorch#devto#dev#adam#adamw

The dose-response series reaches the knob I've been inheriting since September: weight_decay=5e-4, copied from SGD folklore into Adam

15s