From 5d4295c5ec41e7ea42975a552790bd15459c9e0c Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Fri, 31 May 2024 22:25:19 +0200 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 77fa4b1..07ebb5a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,7 +30,9 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip wheel build twine toml - pip install -e . ultralytics --extra-index-url https://download.pytorch.org/whl/cpu + pip install ultralytics --extra-index-url https://download.pytorch.org/whl/cpu + pip uninstall thop -y # uninstall older thop that conflicts with this repo + pip install -e . - name: Check PyPI version shell: python run: |