From 23766e4cf5c51538392a2959e400bdb816d8a54d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Sep 2023 12:00:15 +0200 Subject: [PATCH] Bump contributor-assistant/github-action from 2.3.0 to 2.3.1 (#4950) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Glenn Jocher Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .github/workflows/ci.yaml | 17 ++++++++++------- .github/workflows/cla.yml | 2 +- tests/test_cuda.py | 1 + 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 70c92fc5..989934a6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,18 +16,22 @@ on: description: 'Run HUB' default: false type: boolean - tests: - description: 'Run Tests' - default: false - type: boolean benchmarks: description: 'Run Benchmarks' default: false type: boolean + tests: + description: 'Run Tests' + default: false + type: boolean gpu: description: 'Run GPU' default: false type: boolean + conda: + description: 'Run Conda' + default: false + type: boolean jobs: HUB: @@ -237,7 +241,7 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} Conda: - if: github.repository == 'ultralytics/ultralytics' && (github.event_name == 'workflow_dispatch' || github.event_name == 'schedule') + if: github.repository == 'ultralytics/ultralytics' && (github.event_name != 'workflow_dispatch' || github.event.inputs.conda == 'true' || github.event_name == 'schedule') runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -260,8 +264,7 @@ jobs: conda config --set solver libmamba - name: Install Ultralytics package from conda-forge run: | - conda install pytorch torchvision cpuonly -c pytorch - conda install -c conda-forge ultralytics + conda install -c pytorch -c conda-forge pytorch torchvision ultralytics - name: Install pip packages run: | pip install pytest 'coremltools>=7.0.b1' # 'openvino-dev>=2023.0' diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index bb9c26a1..2d9bfe97 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -18,7 +18,7 @@ jobs: steps: - name: CLA Assistant if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I sign the CLA') || github.event_name == 'pull_request_target' - uses: contributor-assistant/github-action@v2.3.0 + uses: contributor-assistant/github-action@v2.3.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # must be repository secret token diff --git a/tests/test_cuda.py b/tests/test_cuda.py index 7063271b..36d19fa4 100644 --- a/tests/test_cuda.py +++ b/tests/test_cuda.py @@ -80,6 +80,7 @@ def test_predict_sam(): @pytest.mark.skipif(not CUDA_IS_AVAILABLE, reason='CUDA is not available') +@pytest.mark.skipif(True, reason="RayTune Error pyarrow.lib.ArrowInvalid: URI has empty scheme: './runs/tune'") def test_model_ray_tune(): with contextlib.suppress(RuntimeError): # RuntimeError may be caused by out-of-memory YOLO('yolov8n-cls.yaml').tune(use_ray=True,