AI engineering glossary · MLOps, LLMOps cloud

What is dependency pinning?

Dependency pinning: Fixing the exact versions of libraries a project uses, for example in a lock file, so builds and deployments install identical packages every time. It prevents surprise breakages when a library publishes a new release.

Level: intermediateTopic: MLOps, LLMOps cloud

Dependency pinning: an example

A requirements file lists `numpy==1.26.4` rather than `numpy`, so a build next month still uses the same version.

Related terms

More MLOps, LLMOps cloud terms

Where you learn it

Dependency pinning is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.