Removing the necessity of prompt details in data preparation #588
Workflow file for this run
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: Integration tests | |
on: | |
pull_request: | |
branches: [ "main" ] | |
types: [opened, synchronize, reopened, labeled] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
gpu-tests-llama: | |
runs-on: self-hosted-nemo-skills | |
if: ${{ github.event.label.name == 'run GPU tests' }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
path: ${{ github.run_id }} | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
cd ${{ github.run_id }} | |
python -m pip install --upgrade pip | |
pip install -e . | |
pip install -r requirements/common-tests.txt | |
python -m nemo_skills.dataset.prepare | |
- name: Run GPU tests | |
timeout-minutes: 120 | |
env: | |
HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
run: | | |
cd ${{ github.run_id }} | |
nvidia-smi | |
set -o pipefail # this will make sure next line returns non-0 exit code if tests fail | |
./tests/gpu-tests/run_llama.sh | |
gpu-tests-qwen: | |
runs-on: self-hosted-nemo-skills | |
if: ${{ github.event.label.name == 'run GPU tests' }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
path: ${{ github.run_id }} | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
cd ${{ github.run_id }} | |
python -m pip install --upgrade pip | |
pip install -e . | |
pip install -r requirements/common-tests.txt | |
python -m nemo_skills.dataset.prepare | |
- name: Run GPU tests | |
timeout-minutes: 120 | |
env: | |
HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
run: | | |
cd ${{ github.run_id }} | |
nvidia-smi | |
set -o pipefail # this will make sure next line returns non-0 exit code if tests fail | |
./tests/gpu-tests/run_qwen.sh |