Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions docs/source/reference/yaml-spec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1137,6 +1137,25 @@ OR
conda activate myenv
pip install torch torchvision

.. tip::

`uv <https://docs.astral.sh/uv/>`_, the fast Python package installer, is **pre-installed on all SkyPilot clusters**.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The statement that uv is "pre-installed on all SkyPilot clusters" is not entirely accurate. Based on the setup templates, uv is not installed on local clusters (i.e., clusters with provider: local). To avoid user confusion, it would be more precise to state that uv is pre-installed on all SkyPilot cloud clusters.

Suggested change
`uv <https://docs.astral.sh/uv/>`_, the fast Python package installer, is **pre-installed on all SkyPilot clusters**.
`uv <https://docs.astral.sh/uv/>`_, the fast Python package installer, is **pre-installed on all SkyPilot cloud clusters**.

You can use it in your ``setup`` commands for faster package installation:

.. code-block:: yaml

setup: |
uv pip install -r requirements.txt

Or create a virtual environment and install packages:

.. code-block:: yaml

setup: |
uv venv ~/myenv
source ~/myenv/bin/activate
uv pip install torch torchvision

.. _yaml-spec-run:

``run``
Expand Down
Loading