About and sources¶
Daniel Zurita's public PyTorch learning reference connects explanations, visual checks, and runnable projects. It is an independent companion for understanding concepts, not an official course site.
Design principles¶
- Explain the mechanism before adding abstractions.
- Keep shapes and data flow visible.
- Prefer fewer substantial guides over repeated small pages.
- Keep default project runs small enough for an ordinary CPU computer.
- Separate smoke tests, illustrative diagrams, and measured model results.
- Explain failures and limitations, not only successful outputs.
- Publish a future guide only when it contains useful material.
- Store no accounts, analytics, progress, or personal learning history.
How the library grows¶
Each PyTorch guide uses two substantial pages: mechanisms and applied decisions. Six guides connect Fundamentals, Training, Vision, Text, Advanced architectures and Deployment. The same concepts recur deliberately: shape contracts, split quality, optimizer ownership, evaluation and resource measurements. The function finder provides a direct route back to code.
The compact guide index and short reviews live at dazu.xyz/learn/pytorch/. This detailed library remains separate so it can grow without adding a build process to DaZu.
Primary technical sources¶
- PyTorch documentation
- TorchVision documentation
- Hugging Face Transformers
- Optuna
- Lightning
- TorchMetrics
- MLflow tracking
- ONNX Runtime
- torchao quantization
- Diffusers
- Material for MkDocs documentation
- EMNIST Letters dataset
- CIFAR-10 dataset
- CIFAR-100 dataset
Study context and content boundary¶
The topic sequence is informed by DeepLearning.AI's PyTorch for Deep Learning certificate, covering all three courses. The 2026-09-30 review covered Course 1/2 sources; the 2026-10-10 review added all four local Course 3 slide decks and 17 lab/assignment exports, and checked the three public course syllabi online. The guides synthesize mechanisms with original examples; they do not redistribute those source files.
This site does not reproduce Coursera assessments, protected notebooks, quizzes, or graded solutions. Explanations, diagrams, examples, and project structures are original. Course names belong to their respective owners and are used descriptively.
Study map¶
Use the course/module names only as an orientation to topics. The public library is arranged by practical questions rather than exercise order.
| Study context | Concepts carried into this library | Start here |
|---|---|---|
| Fundamentals · module 1 | regression, features, activations, tensor creation/manipulation/math | Core workflow |
| Fundamentals · module 2 | batching, classification, losses, gradients, optimizers, devices | Training loop |
| Fundamentals · module 3 | lazy access, labels, resizing, normalization, split transforms, corrupt files | Reliable image data |
| Fundamentals · module 4 | CNNs, pooling, modularity, inspection, dropout, BatchNorm, overfitting | Vision fundamentals |
| Techniques and Ecosystem Tools · module 1 | metrics, hyperparameters, schedules, flexible architectures, Optuna, quality/cost | Metrics and tuning |
| Techniques and Ecosystem Tools · module 2 | TorchVision datasets/utilities, transforms, impulse noise, task outputs, transfer | Transforms and noise |
| Techniques and Ecosystem Tools · module 3 | tokenization, representations, GloVe/context, pooled classifiers, imbalance, DistilBERT | Tokens and embeddings |
| Techniques and Ecosystem Tools · module 4 | loader settings, Lightning, profiling, AMP, accumulation, callbacks | Efficient pipelines |
| Advanced Architectures and Deployment · module 1 | shared encoders, similarity/retrieval, ResNet, DenseNet and efficient backbones | Advanced vision |
| Advanced Architectures and Deployment · module 2 | hooks, features, saliency, CAM/Grad-CAM and diffusion | Interpretability and generation |
| Advanced Architectures and Deployment · module 3 | attention, positional information, encoder/decoder, masks and sequence generation | Transformers |
| Advanced Architectures and Deployment · module 4 | model state, MLflow, export, pruning, static/dynamic quantization and QAT | Model lifecycle · Deployment |
Detection and segmentation are covered as pretrained inference and output interpretation. Advanced architectures and deployment now have two connected pages each. Extra comparisons such as Gaussian versus impulse noise are labelled as explanatory extensions.
Visuals and measurements¶
- Complete diagrams and comparisons use local HTML and SVG and remain readable without JavaScript. Optional interactive calculations use browser-side JavaScript.
- Conceptual charts are explicitly labelled illustrative.
- Model-quality metrics are published only when generated by retained, reproducible experiments.
- Complete project code is included from the maintained scripts rather than copied by hand.
- The DaZu mark is used with the owner's permission.