Embodied AI Glossary中文

uv

Advanced

An extremely fast Python package and virtual-environment manager written in Rust.

uv is a Python package manager open-sourced in 2024 by Astral (also the maker of the Ruff linter), implemented in Rust. It folds the jobs of pip (installing packages), virtualenv (creating virtual environments), pip-tools (locking versions), and pyenv (managing Python versions) into a single command, and resolves dependencies and installs packages far faster than pip. A project declares its dependencies in pyproject.toml, and uv generates a uv.lock file that pins exact versions, so the same environment can be reproduced on a different machine. Open-source embodied-AI code tends to have many dependencies and frequent version conflicts, and more and more projects are switching to uv to manage their environments. A mirror can be configured for faster access from mainland China.

ExampleFollowing the openpi repository's instructions, clone the code and run uv sync once to install every dependency, then use uv run to launch the training script.

Also called
Astral uv
Related
Conda · Docker · openpi (Physical Intelligence) · Package Mirror Sources in China (pip / conda / apt / Docker mirrors) · LeRobot
Sources
uv documentation
astral-sh/uv GitHub

See it in the full glossary →