diff --git a/.github/workflows/UT_common_models_d.yml b/.github/workflows/UT_common_models_d.yml index fd622bb4..df7bf9da 100644 --- a/.github/workflows/UT_common_models_d.yml +++ b/.github/workflows/UT_common_models_d.yml @@ -8,7 +8,7 @@ concurrency: cancel-in-progress: true jobs: - test-davit-models: + test-d-models: runs-on: ubuntu-latest strategy: matrix: diff --git a/.github/workflows/UT_common_models_e.yml b/.github/workflows/UT_common_models_e.yml index 4176dfa7..0e0a23b8 100644 --- a/.github/workflows/UT_common_models_e.yml +++ b/.github/workflows/UT_common_models_e.yml @@ -8,7 +8,7 @@ concurrency: cancel-in-progress: true jobs: - test-edgenet-models: + test-e-models: runs-on: ubuntu-latest strategy: matrix: diff --git a/.github/workflows/UT_common_models_f.yml b/.github/workflows/UT_common_models_f.yml index ab51034f..7b79a3fe 100644 --- a/.github/workflows/UT_common_models_f.yml +++ b/.github/workflows/UT_common_models_f.yml @@ -8,7 +8,7 @@ concurrency: cancel-in-progress: true jobs: - test-fastvit-models: + test-f-models: runs-on: ubuntu-latest strategy: matrix: @@ -41,52 +41,14 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install uv - python -m uv pip install coverage python -m uv pip install -r tests.txt - name: Fl_common Models Fastvit run: | - coverage run manage.py test fl_common.tests.tests_models_fastvit - coverage xml -o coverage-fastvit.xml - coverage report - - test-focalnet-models: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.12"] - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - needs: test-fastvit-models - steps: - - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@main - with: - # this might remove tools that are actually needed, - # if set to "true" but frees about 6 GB - tool-cache: false - - # all of these default to true, but feel free to set to - # "false" if necessary for your workflow - android: true - dotnet: true - haskell: true - large-packages: true - docker-images: false - swap-storage: true - - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - cache: 'pip' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install uv - python -m uv pip install coverage - python -m uv pip install -r tests.txt + python manage.py test fl_common.tests.tests_models_fastvit + rm -rf /home/runner/.cache/huggingface/* + rm -rf /home/runner/.cache/torch/* - name: Fl_common Models Focalnet run: | - coverage run manage.py test fl_common.tests.tests_models_focalnet - coverage xml -o coverage-focalnet.xml - coverage report + python manage.py test fl_common.tests.tests_models_focalnet + rm -rf /home/runner/.cache/huggingface/* + rm -rf /home/runner/.cache/torch/* diff --git a/.github/workflows/UT_common_models_g.yml b/.github/workflows/UT_common_models_g.yml index 2bf37584..a6bb17a3 100644 --- a/.github/workflows/UT_common_models_g.yml +++ b/.github/workflows/UT_common_models_g.yml @@ -8,7 +8,7 @@ concurrency: cancel-in-progress: true jobs: - test-gcvit-models: + test-g-models: runs-on: ubuntu-latest strategy: matrix: @@ -41,51 +41,14 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install uv - python -m uv pip install coverage python -m uv pip install -r tests.txt - name: Fl_common Models Gcvit run: | - coverage run manage.py test fl_common.tests.tests_models_gcvit - coverage xml -o coverage-gcvit.xml - coverage report - - test-ghostnet-models: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.12"] - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - steps: - - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@main - with: - # this might remove tools that are actually needed, - # if set to "true" but frees about 6 GB - tool-cache: false - - # all of these default to true, but feel free to set to - # "false" if necessary for your workflow - android: true - dotnet: true - haskell: true - large-packages: true - docker-images: false - swap-storage: true - - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - cache: 'pip' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install uv - python -m uv pip install coverage - python -m uv pip install -r tests.txt + python manage.py test fl_common.tests.tests_models_gcvit + rm -rf /home/runner/.cache/huggingface/* + rm -rf /home/runner/.cache/torch/* - name: Fl_common Models Gcvit run: | - coverage run manage.py test fl_common.tests.tests_models_ghostnet - coverage xml -o coverage-ghostnet.xml - coverage report + python manage.py test fl_common.tests.tests_models_ghostnet + rm -rf /home/runner/.cache/huggingface/* + rm -rf /home/runner/.cache/torch/* diff --git a/.github/workflows/UT_common_models_h.yml b/.github/workflows/UT_common_models_h.yml index 0c399ba2..714b1ba5 100644 --- a/.github/workflows/UT_common_models_h.yml +++ b/.github/workflows/UT_common_models_h.yml @@ -8,7 +8,7 @@ concurrency: cancel-in-progress: true jobs: - test-harcorenas-models: + test-h-models: runs-on: ubuntu-latest strategy: matrix: @@ -41,136 +41,24 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install uv - python -m uv pip install coverage python -m uv pip install -r tests.txt - name: Fl_common Models Hardcorenas run: | - coverage run manage.py test fl_common.tests.tests_models_hardcorenas - coverage xml -o coverage-hardcorenas.xml - coverage report - - test-hgnet-models: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.12"] - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - needs: test-harcorenas-models - steps: - - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@main - with: - # this might remove tools that are actually needed, - # if set to "true" but frees about 6 GB - tool-cache: false - - # all of these default to true, but feel free to set to - # "false" if necessary for your workflow - android: true - dotnet: true - haskell: true - large-packages: true - docker-images: false - swap-storage: true - - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - cache: 'pip' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install uv - python -m uv pip install coverage - python -m uv pip install -r tests.txt - - name: Fl_common Models Hgnet - run: | - coverage run manage.py test fl_common.tests.tests_models_hgnet - coverage xml -o coverage-hgnet.xml - coverage report - - test-hiera-models: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.12"] - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - needs: test-hgnet-models - steps: - - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@main - with: - # this might remove tools that are actually needed, - # if set to "true" but frees about 6 GB - tool-cache: false - - # all of these default to true, but feel free to set to - # "false" if necessary for your workflow - android: true - dotnet: true - haskell: true - large-packages: true - docker-images: false - swap-storage: true - - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - cache: 'pip' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install uv - python -m uv pip install coverage - python -m uv pip install -r tests.txt + python manage.py test fl_common.tests.tests_models_hardcorenas + rm -rf /home/runner/.cache/huggingface/* + rm -rf /home/runner/.cache/torch/* - name: Fl_common Models Hgnet run: | - coverage run manage.py test fl_common.tests.tests_models_hiera - coverage xml -o coverage-hiera.xml - coverage report - - test-hrnet-models: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.12"] - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - needs: test-hiera-models - steps: - - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@main - with: - # this might remove tools that are actually needed, - # if set to "true" but frees about 6 GB - tool-cache: false - - # all of these default to true, but feel free to set to - # "false" if necessary for your workflow - android: true - dotnet: true - haskell: true - large-packages: true - docker-images: false - swap-storage: true - - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - cache: 'pip' - - name: Install dependencies + python manage.py test fl_common.tests.tests_models_hgnet + rm -rf /home/runner/.cache/huggingface/* + rm -rf /home/runner/.cache/torch/* + - name: Fl_common Models Hiera run: | - python -m pip install --upgrade pip - python -m pip install uv - python -m uv pip install coverage - python -m uv pip install -r tests.txt + python manage.py test fl_common.tests.tests_models_hiera + rm -rf /home/runner/.cache/huggingface/* + rm -rf /home/runner/.cache/torch/* - name: Fl_common Models Hrnet run: | - coverage run manage.py test fl_common.tests.tests_models_hrnet - coverage xml -o coverage-hrnet.xml - coverage report + python manage.py test fl_common.tests.tests_models_hrnet + rm -rf /home/runner/.cache/huggingface/* + rm -rf /home/runner/.cache/torch/* diff --git a/.github/workflows/UT_common_models_i.yml b/.github/workflows/UT_common_models_i.yml index 3414f979..4126c077 100644 --- a/.github/workflows/UT_common_models_i.yml +++ b/.github/workflows/UT_common_models_i.yml @@ -8,7 +8,7 @@ concurrency: cancel-in-progress: true jobs: - test-inception-models: + test-i-models: runs-on: ubuntu-latest strategy: matrix: @@ -41,52 +41,14 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install uv - python -m uv pip install coverage python -m uv pip install -r tests.txt - name: Fl_common Models Inception run: | - coverage run manage.py test fl_common.tests.tests_models_inception - coverage xml -o coverage-inception.xml - coverage report - - test-inception_next-models: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.12"] - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - needs: test-inception-models - steps: - - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@main - with: - # this might remove tools that are actually needed, - # if set to "true" but frees about 6 GB - tool-cache: false - - # all of these default to true, but feel free to set to - # "false" if necessary for your workflow - android: true - dotnet: true - haskell: true - large-packages: true - docker-images: true - swap-storage: true - - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - cache: 'pip' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install uv - python -m uv pip install coverage - python -m uv pip install -r tests.txt + python manage.py test fl_common.tests.tests_models_inception + rm -rf /home/runner/.cache/huggingface/* + rm -rf /home/runner/.cache/torch/* - name: Fl_common Models Inception Next run: | - coverage run manage.py test fl_common.tests.tests_models_inceptionnext - coverage xml -o coverage-inceptionnext.xml - coverage report + python manage.py test fl_common.tests.tests_models_inceptionnext + rm -rf /home/runner/.cache/huggingface/* + rm -rf /home/runner/.cache/torch/* diff --git a/.github/workflows/UT_common_models_l.yml b/.github/workflows/UT_common_models_l.yml index 973b7587..061eda2a 100644 --- a/.github/workflows/UT_common_models_l.yml +++ b/.github/workflows/UT_common_models_l.yml @@ -8,7 +8,7 @@ concurrency: cancel-in-progress: true jobs: - test-levit-models: + test-l-models: runs-on: ubuntu-latest strategy: matrix: @@ -41,10 +41,9 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install uv - python -m uv pip install coverage python -m uv pip install -r tests.txt - name: Fl_common Models Levit run: | - coverage run manage.py test fl_common.tests.tests_models_levit - coverage xml -o coverage-levit.xml - coverage report + python manage.py test fl_common.tests.tests_models_levit + rm -rf /home/runner/.cache/huggingface/* + rm -rf /home/runner/.cache/torch/*