Tag
A beginner-friendly, hands-on GitHub repository that breaks down GPT-like LLM architecture into simple parts, with 10 Jupyter notebooks covering tokenization, attention, transformer blocks, and a mini GPT implementation in PyTorch.
Justin Angel released a complete YouTube workshop teaching you how to build your own large language model from scratch (based on GPT-2 and Qwen3.6 style), covering Transformer architecture, training pipeline, and providing Excel manual operations and Python/PyTorch code practice, with no prerequisites in math or ML.
Helion is a Python DSL that compiles to optimized Triton code for performance-portable GPU kernels. This tutorial at PLDI 2026 covers Helion's architecture, autotuning, and CuteDSL backend.
The PyTorch Foundation project Helion is hosting a Helion DSL Tutorial at PLDI 2026 in Denver. It's an interactive workshop for compiler researchers, kernel authors, and ML systems engineers to write, autotune, and run Helion kernels.
A hands-on PyTorch curriculum that teaches LLM training from transformer basics through fine-tuning and alignment, including RLHF and GRPO.
The author shares lessons from building NeuralDBG, an open-source debugger for PyTorch training loops that detects localized failures like vanishing/exploding gradients by monitoring per-layer gradient norm transitions instead of global loss. Practical code snippets and community questions are included.
A beginner-friendly guide to using PyTorch's torch.profiler for profiling and optimizing neural network operations, starting with matrix multiplication and bias addition. It explains how to read profiler traces and understand CPU/GPU interactions.
EAGLE 3.1, the next evolution of speculative decoding, introduces new FC normalization for improved efficiency, developed by EagleCorp in collaboration with PyTorch, vLLM, and TorchSpec.
This post from NVIDIA explains how to use the NVIDIA Model Optimizer library to quantize a CLIP model to FP8 using post-training quantization, reducing VRAM usage and improving inference performance on consumer GPUs.
Meta open-sources TLX Block Attention, a warp-specialized Triton kernel that achieves 2.3x speedup for block-diagonal self-attention on NVIDIA Blackwell GPUs, with up to 3.5x speedup when fused with rotary embeddings.
Thermocompute is a PyTorch emulator for thermodynamic probabilistic computing that enables neural network layers to achieve constant modeled physical time inference by exploiting parallel thermodynamic substrate, with immediate GPU-usable stochastic layers.
A comprehensive blog post explaining how to optimize deep learning performance by understanding three key components: compute, memory bandwidth, and overhead, using first principles to identify the performance regime and focus on effective optimizations.
The author presents SM1, a variant of Mamba1 with d_state=1, using two native PyTorch ops to replace the selective scan, reducing memory by 16x compared to d_state=16. The closed-form solution eliminates the state dimension, enabling efficient inference with constant memory per token.
NVIDIA FLARE's latest version enables federated learning without requiring refactoring of existing training scripts, using a client API and job recipes for seamless deployment across simulation and production environments.
HanLP is an open-source multilingual NLP library supporting 130 languages with 10 joint tasks, built on PyTorch and TensorFlow 2.x.
An open-source repository called train-llm-from-scratch enables training billion-parameter LLMs on a single GPU, with a configurable pipeline from raw text to inference, including dataset streaming and checkpointing, under MIT License.
Promotional post for the book 'CUDA for Deep Learning' by Elliot Arledge, offering a first chapter summary video that explains GPU performance, the CUDA programming model, and when to write custom CUDA kernels.
Edward Z. Yang celebrates PyTorch reaching 100,000 GitHub stars, thanking the community for trusting their ML workloads to the framework.
An overview of the PyTorch ecosystem, covering key tools, libraries, and community resources.
This paper presents MiniGPT, a compact from-scratch implementation of GPT-style autoregressive language modeling in PyTorch, built after studying nanoGPT. It evaluates the model on the Tiny Shakespeare dataset using character-level tokenization, achieving a validation loss of 1.4780 with a 10.77M-parameter configuration.