Skip to content

Commit

Permalink
Use uv pip install (#1001)
Browse files Browse the repository at this point in the history
Signed-off-by: Glenn Jocher <[email protected]>
  • Loading branch information
glenn-jocher authored Jan 30, 2025
1 parent c07792c commit 64932ae
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,16 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip" # caching pip dependencies
- uses: astral-sh/setup-uv@v5
with:
enable-cache: false
- name: Install requirements
run: |
python -m pip install --upgrade pip wheel
pip install ultralytics --extra-index-url https://download.pytorch.org/whl/cpu
uv pip install --system ultralytics hub-sdk --extra-index-url https://download.pytorch.org/whl/cpu
- name: Check environment
run: |
yolo checks
pip list
uv pip list
- name: Test HUB training
continue-on-error: false
shell: python
Expand Down

0 comments on commit 64932ae

Please sign in to comment.