From f7e8d12109ea1897503c8487df53fc43e50f908b Mon Sep 17 00:00:00 2001 From: Raphael Glon Date: Tue, 9 Apr 2024 10:15:06 +0200 Subject: [PATCH] Refacto bump dev version, use a single workflow for TGI, simplify a bit the implicit env test Signed-off-by: Raphael Glon --- .github/workflows/inf2_integration_tests.yml | 62 -------------- .github/workflows/test_inf2_tgi.yml | 7 ++ optimum/neuron/version.py | 2 +- .../integration-tests/test_implicit_env.py | 81 ++++++------------- 4 files changed, 32 insertions(+), 120 deletions(-) delete mode 100644 .github/workflows/inf2_integration_tests.yml diff --git a/.github/workflows/inf2_integration_tests.yml b/.github/workflows/inf2_integration_tests.yml deleted file mode 100644 index c2f4277a5..000000000 --- a/.github/workflows/inf2_integration_tests.yml +++ /dev/null @@ -1,62 +0,0 @@ -name: Optimum neuron / TGI integration tests on INF2 - -on: - workflow_dispatch: - push: - branches: [ main ] - paths: - - "setup.py" - - "optimum/**.py" - - "text-generation-inference/**" - pull_request: - branches: [ main ] - paths: - - "setup.py" - - "optimum/**.py" - - "text-generation-inference/**" - -concurrency: - group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} - cancel-in-progress: true - -jobs: - do-the-job: - name: Run TGI integration tests - runs-on: [self-hosted, 1-aws-inf2, 32-cpu, ci] # run the job on the newly created runner - env: - AWS_REGION: us-east-1 - steps: - - name: Misc installs - shell: bash - run: | - sudo apt-get update -y - sudo apt-get install -y wget sudo gnupg - - name: Install Neuron runtime - shell: bash - run: | - . /etc/os-release - sudo tee /etc/apt/sources.list.d/neuron.list > /dev/null <