Reading up on PyTorch
6 deep · digging since may 09
- What is the best harness for each model?
A Hacker News discussion explores which software testing harness or framework works best for different machine learning model types, with no single consensus emerging for all cases.
- Don't Write Kernels, Derive Them
tang's tensor IR derives high-performance GPU and CPU kernels entirely through algebraic rewrites of two constructs (affine views and monoid comprehensions), matching or beating hand-tuned libraries on some workloads while trailing on others.
- Software is slow because of bad design, not slow languages
Software slowness is primarily due to inefficient design rather than slow programming languages, and rewriting in faster languages like Rust or C rarely yields significant speedups for most programs.
- ZeroModels
ZeroModels provides 100+ pretrained transformer models in pure Keras 3 that run on JAX, PyTorch, or TensorFlow without requiring transformers or torch at runtime.
- LLMs are complicated now – Ian’s Blog
Modern LLMs have grown complex with many attention variants and mixture-of-experts, echoing the messy evolution of recommendation systems.
- Train Your Own LLM from Scratch
A hands-on workshop guides readers through building a ~10M-parameter GPT model from scratch in PyTorch, trainable on a laptop in under an hour.