Loading tutorials
pip install, and train a model in PyTorch or scikit-learn. It also assumes you know what a transitive dependency is: a package your requirements don't name but that one of them needs. Later chapters fix the problems described he5 min readrequirements.txt, and have trained a model with a framework such as PyTorch or scikit-learn. It separates two lists that people often treat as one: the packages you ask for and the packages you get.5 min readpip install, and read a requirements.txt. It also assumes you have trained a model with a framework such as PyTorch or scikit-learn. Earlier chapters covered why environments drift and the difference between declared and resolved dep5 min readrequirements.txt. It also assumes you know why declared and resolved dependencie4 min readrequirements.lock from pip-compile. It covers how Docker decides to reuse work, how to order instructions so a code edit does not reinstall PyTorch, and the cases where the cache hides problems.5 min readrequirements.lock or uv.lock) and a Dockerfile that installs from it. If you don't, read the earlier chapters on lock files and Dockerfiles first.4 min read