TLDRocket
Sign in
Latest Nemotron 3.5 Makes Nvidia’s Open A.I. Model Twice as Smart — Trending Topics Ex-OpenAI worker accused of planting device had Saudi support says cou... — BBC News People are using AI to make their smart TVs dumb again — TechCrunch Launch HN: Laminar (YC S24) – We trained a model to catch silent agent... — Hacker News With Timestral, Mistral Takes On Austria’s NXAI in Time-Series A.I. — Trending Topics Nvidia launches new open models to run agents in the enterprise and on... — TechCrunch Motive brings agentic AI to physical operations with agents that act b... — SiliconANGLE Disney found a way to buy Character.AI without buying its lawsuits — Ars Technica

The AI intelligence platform

Every AI story that matters — and the intelligence behind it.

TLDRocket reads all relevant sources, removes duplicate coverage, and publishes a short neutral summary of every story, linking back to the original. Free, no spam, unsubscribe anytime.

Add to Slack

Every story also updates live profiles event timelines weekly rankings the AI Market Index

Monday, 2 May 2022

Accelerate Large Model Training using PyTorch Fully Sharded Data Parallel

Hugging Face 4 years ago 20

PyTorch's Fully Sharded Data Parallel (FSDP) feature, integrated into the Accelerate library, enables training of large models by distributing parameters and gradients across multiple GPUs without requiring code changes. On two 24GB GPUs, FSDP allowed batch sizes of 22 for the 762M-parameter GPT-2 Large model compared to batch size 7 with standard distributed data parallel, and successfully trained the 1.5B-parameter GPT-2 XL model with batch size 14 when using CPU offloading, whereas standard methods ran out of memory. Users can now train large models on minimal hardware by adjusting the minimum parameter threshold for layer wrapping and enabling CPU offloading, though they must prepare the model before creating the optimizer to avoid memory waste.

The daily briefing

Every AI story that matters, in your inbox by 8am.

TLDRocket reads all relevant sources, removes duplicate coverage, and summarises the day in two minutes. Follow companies and topics for alerts, or get the briefing in Slack. Free, no spam, unsubscribe anytime.