[cambricon] Support for llava1.5_7b with patch (#212) #675
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
concurrency: | |
group: ${{ github.event.pull_request.number }}-${{ github.actor }} | |
cancel-in-progress: true | |
jobs: | |
# Megatron Unit Tests with Matrix | |
megatron-unit-tests: | |
uses: ./.github/workflows/unit-tests.yml | |
strategy: | |
matrix: | |
subset: | |
- data | |
- dist_checkpointing | |
- distributed | |
- fusions | |
- inference | |
- models | |
- pipeline_parallel | |
- tensor_parallel | |
- transformer/moe | |
- transformer | |
- ./ | |
name: "megatron-${{ matrix.subset }}" | |
with: | |
backend: megatron | |
subset: ${{ matrix.subset }} | |
# Flagscale Unit Tests with Matrix | |
flagscale-unit-tests: | |
uses: ./.github/workflows/unit-tests.yml | |
strategy: | |
matrix: | |
subset: | |
- launcher | |
- ./ | |
name: "flagscale-${{ matrix.subset }}" | |
with: | |
backend: flagscale | |
subset: ${{ matrix.subset }} | |
# Functional Tests with Model and Type Matrix | |
functional-tests-train: | |
needs: | |
- megatron-unit-tests | |
- flagscale-unit-tests | |
uses: ./.github/workflows/functional-tests.yml | |
strategy: | |
matrix: | |
model: | |
- aquila | |
- mixtral | |
name: "train-${{ matrix.model }}" | |
with: | |
model: ${{ matrix.model }} | |
type: train | |
functional-tests-hetero: | |
needs: functional-tests-train | |
uses: ./.github/workflows/functional-tests.yml | |
strategy: | |
matrix: | |
model: | |
- aquila | |
name: "hetero_train-${{ matrix.model }}" | |
with: | |
model: ${{ matrix.model }} | |
type: hetero_train | |
# Megatron Coverage Test | |
megatron-coverage-test: | |
needs: functional-tests-hetero | |
if: ${{ github.event_name == 'pull_request' }} | |
uses: ./.github/workflows/coverage-tests.yml | |
with: | |
backend: megatron | |
# Flagscale Coverage Test | |
flagscale-coverage-test: | |
needs: functional-tests-hetero | |
if: ${{ github.event_name == 'pull_request' }} | |
uses: ./.github/workflows/coverage-tests.yml | |
with: | |
backend: flagscale | |
# Add in the feature for inference | |
# functional-tests-inference: | |
# needs: functional-tests-hetero | |
# uses: ./.github/workflows/functional-tests.yml | |
# strategy: | |
# matrix: | |
# model: | |
# - from_vllm | |
# name: "inference-${{ matrix.model }}" | |
# with: | |
# model: ${{ matrix.model }} | |
# type: inference |