PyTorch

21 stories

PyTorch is an open-source deep learning framework maintained by Meta, built around Python tensors and dynamic neural networks with GPU acceleration. Recent coverage centers on backends and performance: PyTorch 2.15 added FP8 and 5–6.5x faster MoE decoding on Mac MPS, while Hugging Face introduced TorchTPU and TorchNeuron so Transformers and Diffusers run natively on TPU and AWS Trainium. Tutorials on manual transformer backpropagation and GPT-2 KV caching also appeared.

Related topics

Practical notes for GPU kernel dev setup

An r/MachineLearning post collects setup pitfalls for GPU kernel development: CUDA 13 drops Maxwell, Pascal and Volta, so toolkits must match compute capability; PyTorch's bundled CUDA runtime says nothing about nvcc availability; and GPU launches are async, so naive timing measures queueing and requires warmup, sync and CUDA events.

r/MachineLearning ·

pytorch

Tensors and dynamic neural networks in Python with strong GPU acceleration.

▲ 315 · GitHub Trending ·

pytorch

Tensors and dynamic neural networks in Python with strong GPU acceleration.

▲ 84 · GitHub Trending ·

PyTorch

Tensors and dynamic neural networks in Python with strong GPU acceleration.

▲ 81 · GitHub Trending ·

MaRN: a PyTorch library for low-dimensional parameter mapping

The author released MaRN, a PyTorch library that optimizes a compact latent representation instead of all model parameters. Benchmarks show an MNIST CNN cut from 107,998 to 1,872 trainable parameters (57.7x) at 91.80% accuracy, though mapped models train much slower; the author calls results exploratory, not evidence of general superiority.

r/MachineLearning ·

Foundation Model Engineering textbook

Foundation Model Engineering is a technical textbook for engineers and research-focused readers that explains architectures, training and inference pipelines, retrieval, evaluation, and engineering trade-offs; it includes concept-focused PyTorch examples, quizzes, and interactive visualizers to build coherent engineering judgment.

Hacker News ·
That is everything