From 8c4eaba1f7cc0d67fdf6d2442682877db27242de Mon Sep 17 00:00:00 2001 From: Daniel King <43149077+dakinggg@users.noreply.github.com> Date: Tue, 3 Sep 2024 11:06:05 -0700 Subject: [PATCH] Update ci-testing to 0.2.2 (#3590) Co-authored-by: Brian <23239305+b-chu@users.noreply.github.com> --- .github/workflows/code-quality.yaml | 2 +- .github/workflows/coverage.yaml | 2 +- .github/workflows/daily.yaml | 6 +++--- .github/workflows/pr-cpu.yaml | 2 +- .github/workflows/pr-gpu.yaml | 12 ++++++------ .github/workflows/smoketest.yaml | 2 +- setup.py | 1 + 7 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/code-quality.yaml b/.github/workflows/code-quality.yaml index 5a2c86221f..f78bdfe60b 100644 --- a/.github/workflows/code-quality.yaml +++ b/.github/workflows/code-quality.yaml @@ -34,7 +34,7 @@ jobs: uses: actions/checkout@v3 with: repository: mosaicml/ci-testing - ref: v0.0.9 + ref: v0.2.2 path: ./ci-testing - uses: ./ci-testing/.github/actions/code-quality with: diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index fc511d7e60..8e8222d4c6 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -16,7 +16,7 @@ jobs: uses: actions/checkout@v3 with: repository: mosaicml/ci-testing - ref: v0.0.9 + ref: v0.2.2 path: ./ci-testing - uses: ./ci-testing/.github/actions/coverage with: diff --git a/.github/workflows/daily.yaml b/.github/workflows/daily.yaml index 2d5dc12f12..f54c69cd81 100644 --- a/.github/workflows/daily.yaml +++ b/.github/workflows/daily.yaml @@ -72,7 +72,7 @@ jobs: composer_package_name: mosaicml steps: - name: Run PR CPU Tests - uses: mosaicml/ci-testing/.github/actions/pytest-cpu@v0.1.2 + uses: mosaicml/ci-testing/.github/actions/pytest-cpu@v0.2.2 with: name: ${{ matrix.name }} pip_deps: "[all]" @@ -165,7 +165,7 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - name: Run PR GPU Tests - uses: mosaicml/ci-testing/.github/actions/pytest-gpu@v0.1.2 + uses: mosaicml/ci-testing/.github/actions/pytest-gpu@v0.2.2 with: name: ${{ matrix.name }} composer_package_name: ${{ matrix.composer_package_name }} @@ -179,4 +179,4 @@ jobs: gpu_num: ${{ matrix.gpu_num }} mcloud_api_key: ${{ secrets.MCLOUD_DAILY_API_KEY }} gha_timeout: 5400 - ci_repo_gpu_test_ref: v0.1.2 + ci_repo_gpu_test_ref: v0.2.2 diff --git a/.github/workflows/pr-cpu.yaml b/.github/workflows/pr-cpu.yaml index fe41fe1fca..41572cf190 100644 --- a/.github/workflows/pr-cpu.yaml +++ b/.github/workflows/pr-cpu.yaml @@ -34,7 +34,7 @@ jobs: pytest_command: coverage run -m pytest tests/test_docs.py steps: - name: Run PR CPU Tests - uses: mosaicml/ci-testing/.github/actions/pytest-cpu@v0.1.2 + uses: mosaicml/ci-testing/.github/actions/pytest-cpu@v0.2.2 with: name: ${{ matrix.name }} pip_deps: "[all]" diff --git a/.github/workflows/pr-gpu.yaml b/.github/workflows/pr-gpu.yaml index e85bab43d2..27ea68917f 100644 --- a/.github/workflows/pr-gpu.yaml +++ b/.github/workflows/pr-gpu.yaml @@ -24,7 +24,7 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - name: Run PR GPU Tests - uses: mosaicml/ci-testing/.github/actions/pytest-gpu@v0.1.2 + uses: mosaicml/ci-testing/.github/actions/pytest-gpu@v0.2.2 with: name: ${{ matrix.name }} composer_package_name: ${{ matrix.composer_package_name }} @@ -37,7 +37,7 @@ jobs: python_version: 3.9 gpu_num: 1 mcloud_api_key: ${{ secrets.MCLOUD_API_KEY }} - ci_repo_gpu_test_ref: v0.1.2 + ci_repo_gpu_test_ref: v0.2.2 pytest-gpu-2: name: ${{ matrix.name }} runs-on: ubuntu-latest @@ -54,7 +54,7 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - name: Run PR GPU Tests - uses: mosaicml/ci-testing/.github/actions/pytest-gpu@v0.1.2 + uses: mosaicml/ci-testing/.github/actions/pytest-gpu@v0.2.2 with: name: ${{ matrix.name }} composer_package_name: ${{ matrix.composer_package_name }} @@ -67,7 +67,7 @@ jobs: python_version: 3.9 gpu_num: 2 mcloud_api_key: ${{ secrets.MCLOUD_API_KEY }} - ci_repo_gpu_test_ref: v0.1.2 + ci_repo_gpu_test_ref: v0.2.2 pytest-gpu-4: name: ${{ matrix.name }} runs-on: ubuntu-latest @@ -84,7 +84,7 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - name: Run PR GPU Tests - uses: mosaicml/ci-testing/.github/actions/pytest-gpu@v0.1.2 + uses: mosaicml/ci-testing/.github/actions/pytest-gpu@v0.2.2 with: name: ${{ matrix.name }} composer_package_name: ${{ matrix.composer_package_name }} @@ -97,4 +97,4 @@ jobs: python_version: 3.9 gpu_num: 4 mcloud_api_key: ${{ secrets.MCLOUD_API_KEY }} - ci_repo_gpu_test_ref: v0.1.2 + ci_repo_gpu_test_ref: v0.2.2 diff --git a/.github/workflows/smoketest.yaml b/.github/workflows/smoketest.yaml index a0a6c445d2..f4d714bb3e 100644 --- a/.github/workflows/smoketest.yaml +++ b/.github/workflows/smoketest.yaml @@ -33,7 +33,7 @@ jobs: uses: actions/checkout@v3 with: repository: mosaicml/ci-testing - ref: v0.0.9 + ref: v0.2.2 path: ./ci-testing - uses: ./ci-testing/.github/actions/smoketest with: diff --git a/setup.py b/setup.py index 665cfb80ee..26c44738e4 100644 --- a/setup.py +++ b/setup.py @@ -154,6 +154,7 @@ def package_files(prefix: str, directory: str, extension: str): } extra_deps['deepspeed'] = [ + 'numpy<2', 'deepspeed==0.8.3', 'pydantic>=1.0,<2', ]