Python

Installation, good habits, and day-to-day tips for writing clean, idiomatic Python.

Python Optimization

Practical techniques for making Python code faster — profiling, data structures, and common bottlenecks.

PyTorch

Tensors, datasets/dataloaders, training loops, and the idioms that show up in almost every PyTorch project.

More Topics (Coming Soon)

More on this hub soon. For GPU-specific PyTorch performance, see PyTorch on GPU.

related topics

C++ — a full beginner-to-advanced C++ track, the other half of this site's Programming coverage.
GPU Programming & Performance Engineering — what changes once this code needs to run on a GPU.
Machine Learning — the ML concepts most of this code is actually implementing.
Developer Tools: Debugging & Profiling — debugging and profiling notes that apply directly here.

reference

Python documentation
PyTorch documentation