|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
name: NeMo E2E Export Deploy Tests |
|
|
on: |
|
|
workflow_call: |
|
|
inputs: |
|
|
test_to_run: |
|
|
required: true |
|
|
type: string |
|
|
image-name: |
|
|
required: false |
|
|
default: nemo_container_export_deploy |
|
|
type: string |
|
|
|
|
|
jobs: |
|
|
build: |
|
|
uses: ./.github/workflows/_build_container.yml |
|
|
with: |
|
|
image-name: ${{ inputs.image-name }} |
|
|
dockerfile: docker/Dockerfile.ci.export_deploy |
|
|
|
|
|
unit-tests: |
|
|
strategy: |
|
|
fail-fast: false |
|
|
matrix: |
|
|
include: |
|
|
- script: L0_Unit_Tests_GPU_Export_Deploy |
|
|
runner: self-hosted-azure |
|
|
is-optional: true |
|
|
- script: L0_Unit_Tests_CPU_Export_Deploy |
|
|
runner: self-hosted-azure-cpu |
|
|
cpu-only: true |
|
|
- script: L0_Unit_Tests_Eval_Legacy |
|
|
runner: self-hosted-azure |
|
|
- script: L0_Unit_Tests_Eval |
|
|
runner: self-hosted-azure |
|
|
- script: L0_Unit_Tests_Eval_Adapters |
|
|
runner: self-hosted-azure |
|
|
needs: [build] |
|
|
runs-on: ${{ matrix.runner }} |
|
|
name: ${{ matrix.is-optional && 'PLEASEFIXME_' || '' }}${{ matrix.script }} |
|
|
steps: |
|
|
- name: Checkout |
|
|
uses: actions/checkout@v4 |
|
|
with: |
|
|
path: ${{ github.run_id }} |
|
|
- name: main |
|
|
uses: NVIDIA/NeMo/.github/actions/test-template@main |
|
|
with: |
|
|
runner: ${{ runner.name }} |
|
|
script: ${{ matrix.script }} |
|
|
is_unit_test: true |
|
|
tests_to_run: ${{ inputs.test_to_run }} |
|
|
image: ${{ inputs.image-name }} |
|
|
cpu-only: ${{ matrix.cpu-only || false }} |
|
|
is_optional: ${{ matrix.is-optional || false }} |
|
|
e2e-tests: |
|
|
strategy: |
|
|
fail-fast: false |
|
|
matrix: |
|
|
include: |
|
|
|
|
|
- script: L2_NeMo_2_Export_HF_TRT_LLM |
|
|
runner: self-hosted-azure |
|
|
- script: L2_NeMo_2_Export_Deploy_Query_In_Framework |
|
|
runner: self-hosted-azure |
|
|
is-optional: true |
|
|
- script: L2_ONNX_TRT_LLM_Embedding_Export |
|
|
runner: self-hosted-azure |
|
|
- script: L2_NeMo_2_Export_TRT_LLM |
|
|
runner: self-hosted-azure |
|
|
- script: L2_NeMo_2_vLLM_Export_Llama |
|
|
runner: self-hosted-azure |
|
|
- script: L2_NeMo_2_vLLM_Export_Mixtral |
|
|
runner: self-hosted-azure |
|
|
- script: L2_NeMo_2_Export_In_Framework |
|
|
runner: self-hosted-azure |
|
|
- script: L2_NeMo_2_Export_Qnemo_TRT_LLM |
|
|
runner: self-hosted-azure |
|
|
- script: L2_NeMo_2_VLLM_VISION |
|
|
runner: self-hosted-azure |
|
|
- script: L2_NeMo_2_EVAL_Legacy |
|
|
runner: self-hosted-azure-gpus-1 |
|
|
- script: L2_NeMo_2_EVAL_gsm8k |
|
|
runner: self-hosted-azure-gpus-1 |
|
|
- script: L2_NeMo_2_EVAL_arcc |
|
|
runner: self-hosted-azure-gpus-1 |
|
|
needs: [unit-tests] |
|
|
runs-on: ${{ matrix.runner }} |
|
|
name: ${{ matrix.is-optional && 'PLEASEFIXME_' || '' }}${{ matrix.script }} |
|
|
steps: |
|
|
- name: Checkout |
|
|
uses: actions/checkout@v4 |
|
|
with: |
|
|
path: ${{ github.run_id }} |
|
|
- name: main |
|
|
uses: NVIDIA/NeMo/.github/actions/test-template@main |
|
|
with: |
|
|
runner: ${{ runner.name }} |
|
|
script: ${{ matrix.script }} |
|
|
tests_to_run: ${{ inputs.test_to_run }} |
|
|
image: ${{ inputs.image-name }} |
|
|
is_optional: ${{ matrix.is-optional || false }} |
|
|
|