From a083914a19d1d65749d2e3940b48c48ee2ad2310 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sun, 10 Mar 2024 13:17:51 +0100 Subject: [PATCH] Limit TF export to `tensorflow<2.15.1` (#12800) * Update ci-testing.yml Signed-off-by: Glenn Jocher * bump tests to 3.12 Signed-off-by: Glenn Jocher * Update ci-testing.yml Signed-off-by: Glenn Jocher * Update ci-testing.yml Signed-off-by: Glenn Jocher * Update ci-testing.yml Signed-off-by: Glenn Jocher --------- Signed-off-by: Glenn Jocher --- .github/workflows/ci-testing.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci-testing.yml b/.github/workflows/ci-testing.yml index 1e2dd3bad914..4a300314f65c 100644 --- a/.github/workflows/ci-testing.yml +++ b/.github/workflows/ci-testing.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: ["3.11"] # requires python<=3.10 + python-version: ["3.11"] # requires python<=3.11 model: [yolov5n] steps: - uses: actions/checkout@v4 @@ -29,7 +29,7 @@ jobs: - name: Install requirements run: | python -m pip install --upgrade pip wheel - pip install -r requirements.txt coremltools openvino-dev tensorflow-cpu --extra-index-url https://download.pytorch.org/whl/cpu + pip install -r requirements.txt coremltools openvino-dev "tensorflow-cpu<2.15.1" --extra-index-url https://download.pytorch.org/whl/cpu yolo checks pip list - name: Benchmark DetectionModel @@ -51,16 +51,10 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest] # macos-latest bug https://github.com/ultralytics/yolov5/pull/9049 + os: [ubuntu-latest, windows-latest, macos-14] # macos-latest bug https://github.com/ultralytics/yolov5/pull/9049 python-version: ["3.11"] model: [yolov5n] include: - - os: ubuntu-latest - python-version: "3.8" # '3.6.8' min - model: yolov5n - - os: ubuntu-latest - python-version: "3.9" - model: yolov5n - os: ubuntu-latest python-version: "3.8" # torch 1.8.0 requires python >=3.6, <=3.8 model: yolov5n