diff --git a/.github/mergify.yml b/.github/mergify.yml index 7e810ae..057c323 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -28,18 +28,18 @@ pull_request_rules: # e2e medium workflow - or: - and: - # note this should match the triggering criteria in 'e2e-nvidia-a10g-x1.yml' + # note this should match the triggering criteria in 'e2e-nvidia-l4-x1.yml' - check-success~=e2e-medium-workflow-complete - or: - files~=\.py$ - files=pyproject.toml - files~=^requirements.*\.txt$ - - files=.github/workflows/e2e-nvidia-a10g-x1.yml + - files=.github/workflows/e2e-nvidia-l4-x1.yml - and: - -files~=\.py$ - -files=pyproject.toml - -files~=^requirements.*\.txt$ - - -files=.github/workflows/e2e-nvidia-a10g-x1.yml + - -files=.github/workflows/e2e-nvidia-l4-x1.yml # lint must pass if files change that would trigger this job - or: diff --git a/.github/workflows/e2e-nvidia-a10g-x1.yml b/.github/workflows/e2e-nvidia-l4-x1.yml similarity index 94% rename from .github/workflows/e2e-nvidia-a10g-x1.yml rename to .github/workflows/e2e-nvidia-l4-x1.yml index 441db68..d7fb435 100644 --- a/.github/workflows/e2e-nvidia-a10g-x1.yml +++ b/.github/workflows/e2e-nvidia-l4-x1.yml @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 -name: E2E (NVIDIA A10G x1) +name: E2E (NVIDIA L4 x1) on: # run against every merge commit to 'main' and release branches @@ -18,7 +18,7 @@ on: - '**.py' - 'pyproject.toml' - 'requirements**.txt' - - '.github/workflows/e2e-nvidia-a10g-x1.yml' # This workflow + - '.github/workflows/e2e-nvidia-l4-x1.yml' # This workflow concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} @@ -55,7 +55,7 @@ jobs: mode: start github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} ec2-image-id: ${{ vars.AWS_EC2_AMI }} - ec2-instance-type: g5.4xlarge + ec2-instance-type: g6.8xlarge subnet-id: subnet-02d230cffd9385bd4 security-group-id: sg-06300447c4a5fbef3 iam-role-name: instructlab-ci-runner @@ -117,18 +117,18 @@ jobs: nvidia-smi python3.11 -m pip cache remove llama_cpp_python - CMAKE_ARGS="-DLLAMA_CUDA=on" python3.11 -m pip install . + CMAKE_ARGS="-DLLAMA_CUDA=on" python3.11 -m pip install -v . # https://github.com/instructlab/instructlab/issues/1821 # install with Torch and build dependencies installed - python3.11 -m pip install packaging wheel setuptools-scm - python3.11 -m pip install .[cuda] -r requirements-vllm-cuda.txt + python3.11 -m pip install -v packaging wheel setuptools-scm + python3.11 -m pip install -v .[cuda] -r requirements-vllm-cuda.txt - name: Update instructlab-eval library working-directory: ./eval run: | . ../instructlab/venv/bin/activate - pip install . + pip install -v . - name: Run e2e test working-directory: ./instructlab diff --git a/README.md b/README.md index e81090f..f96bd6f 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ ![Release](https://img.shields.io/github/v/release/instructlab/eval) ![License](https://img.shields.io/github/license/instructlab/eval) -![`e2e-nvidia-a10g-x1.yml` on `main`](https://github.com/instructlab/eval/actions/workflows/e2e-nvidia-a10g-x1.yml/badge.svg?branch=main) +![`e2e-nvidia-l4-x1.yml` on `main`](https://github.com/instructlab/eval/actions/workflows/e2e-nvidia-l4-x1.yml/badge.svg?branch=main) ![`e2e-nvidia-l40s-x4.yml` on `main`](https://github.com/instructlab/eval/actions/workflows/e2e-nvidia-l40s-x4.yml/badge.svg?branch=main) Python Library for Evaluation