Megatron-LM
AI overview
Sign in and the AI will write an overview from our coverage.
Headlines · 8
- NVIDIA Teaches Megatron-LM Market Forecasting
NVIDIA Technical Blog published a tutorial for preprocessing intraday market bars into tensors and training a Megatron-LM model to forecast returns and trading volume across multiple horizons. The example keeps price and volume as continuous features, uses learned patch embeddings, and supports shared models across instruments while including safeguards against cross-split data leakage.
NVIDIA Technical Blog · 🔥 0 - NVIDIA Model Optimizer Combines Model Optimization Techniques
NVIDIA describes Model Optimizer as an open-source library that combines quantization, pruning, neural architecture search, distillation, speculative decoding and sparsity to accelerate models. It accepts Hugging Face, PyTorch and ONNX models, provides Python APIs for composing optimization techniques and exporting optimized quantized checkpoints, and integrates with Megatron-Bridge, Megatron-LM and Hugging Face Accelerate. The resulting checkpoints can be deployed in SGLang, TensorRT-LLM, TensorRT and vLLM. Its unified Hugging Face export API supports both transformers and diffusers models.
GitHub Trending · Python · 🔥 0 - Hugging Face releases a practical MoE training handbook for Megatron-LM
Hugging Face authors released a practical handbook for training Mixture-of-Experts models with Megatron-LM, along with 55 figures, scripts, and a consolidated block of recommended flags. It covers hardware testing, image building, dense-baseline training, a one-node MoE comparison, routing and load balancing, serving, and reinforcement learning. The authors say its lessons draw on about 800,000 GH200 GPU-hours of MoE training on CSCS's Alps cluster; this figure was not independently verified in the supplied reports.
r/LocalLLaMA · 🔥 0 - LLM Pretraining Engineering: Frameworks, Parallelism, and Scaling Laws
The supplied article surveys large-model pretraining, covering data, tokenization, optimizers, memory, distributed parallelism, checkpoints, and model evaluation. It compares Megatron-LM, DeepSpeed, and torchtitan; explains the different configuration guidance in Kaplan’s and Chinchilla’s scaling laws; and discusses cost estimation, loss spikes, checkpoint recovery, and resuming distributed training. Framework and performance characterizations are the article’s assessments, while its cost calculation is presented without accompanying source calculations.
掘金 · 人工智能 · 🔥 0 - SkyPilot: topology-aware scheduling for Grace Blackwell NVL72 racks
SkyPilot says running the same distributed training job over InfiniBand instead of NVLink can degrade performance by 43%, and that topology-aware scheduling can yield 27% more usable GPUs from the same Grace Blackwell racks. The post describes NVIDIA's NVL72 systems, which connect all 72 GPUs in a rack over a unified NVLink fabric (18 NVLink ports per GPU at 100 GB/s each, 130 TB/s aggregate internally), and how the SkyPilot Platform keeps multi-node jobs rack-local through Topology-Aware Scheduling, in-place recovery from hardware failures in Frontier Trainer, and Automatic Defragmentation of shared clusters. It also cites Meta's measured mean time between interruptions of roughly 490 days per 4-GPU node, implying about 27 days for an 18-node rack, and recommends leaving spare nodes in each rack.
Hacker News 首页(100+ 分) · 🔥 0 - LMSYS trains Qwen3 coding agent with asynchronous RL on AMD MI355X
LMSYS Blog reports that its team trained Qwen3-30B-A3B-Instruct for coding-agent tasks using fully asynchronous agentic reinforcement learning on AMD Instinct MI355X, with Miles, SGLang, Megatron-LM, and Harbor. On a vendor-run, 100-task stratified subset of SWE-bench Verified, pass@1 rose from 7.3% to 27.5% after supervised fine-tuning and agentic RL. The system used separate inference and training nodes, capped trajectories at 64K tokens, and moved sandboxes to E2B cloud microVMs, supporting 384 concurrent trajectories and about 3,480 trajectories per hour.
LMSYS Blog · 🔥 0 - vLLM open-sources bitwise-consistent RL training kernels and an agent skill
A vLLM blog post argues that inference-side optimizations in high-performance RL — low-precision compute, low-precision KV cache, kernel and communication tuning — shift the numerics, so the training engine assigns different probabilities to the same token than the engine that sampled it; on DeepSeek-V4-Flash the high-performance baseline's train-inference KL rose from 2e-3 to 29.9 as reward fell back. The proposed fix has the training forward call vLLM's inference kernels directly, modified so rollout and training produce bitwise-identical logprobs for every sampled token (diff = 0). The authors report diff of 0 at every one of 100 DeepSeek-V4-Flash steps at 91.3% of the baseline's rollout throughput, and say that on Nemotron-3.5 (a Mamba hybrid with NVFP4) the consistent run's SWE-bench Pro score held near 0.6 while the baseline's fell from 0.56 to 0.22. The workflow is packaged as an agent skill and released with recipes and code, and the team says DeepSeek-V4.1 has reached 0 diff with performance work still in progress.
vLLM Blog · 🔥 0 - Modal explores mixed-precision, mixed-accelerator RL samplers
Modal published a technical post exploring whether large-model reinforcement learning can use samplers at different precisions and on different accelerators while keeping training stable. It says sampling already consumes 80–85% of GPUs in large RL runs, and reports fully asynchronous training of Qwen3.6-35B-A3B on agentic coding tasks using off-policy correction and autoscaling serverless GPUs. Samplers spanned six accelerator types — B200, B300, H100, H200, A100 and RTX PRO 6000 — feeding a BF16 trainer on B200, with evaluation on SWE-bench Pro V2 and its HARD-51 subset.
Modal Blog · 🔥 0
Experience and discussion from the community
Share my Megatron-LM experienceAsk about Megatron-LM
Nobody has shared their experience with Megatron-LM yet.