Skip to content

Commit

Permalink
Update gpu test
Browse files Browse the repository at this point in the history
  • Loading branch information
bcui-db committed Dec 24, 2024
1 parent 5d0a05f commit ceeb5c6
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/pr-gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,33 @@ jobs:
fail-fast: false
matrix:
include:
- name: "gpu-2.3.1"
container: mosaicml/pytorch:2.3.1_cu121-python3.11-ubuntu20.04
- name: "gpu1-llmfoundry2.5.1-1"
container: mosaicml/llm-foundry:2.5.1_cu124-latest
gpu_num: 1
markers: "gpu"
pip_deps: "[all]"
pytest_command: "coverage run -m pytest"
pip_deps: "[gpu]"
gpu_num: 1
python_version: 3.11
ci_repo_gpu_test_ref: v0.2.2
- name: "gpu2-llmfoundry2.5.1-1"
container: mosaicml/llm-foundry:2.5.1_cu124-latest
gpu_num: 2
markers: "gpu"
pip_deps: "[all]"
pytest_command: "coverage run -m pytest"
ci_repo_gpu_test_ref: v0.2.2
steps:
- name: ${{ matrix.name }}
uses: mosaicml/ci-testing/.github/actions/[email protected]
# - name: ${{ matrix.name }}
- name: Run PR GPU Tests
uses: mosaicml/ci-testing/.github/actions/[email protected]
with:
container: ${{ matrix.container }}
git_repo: databricks/Compose-RL
mcloud_timeout: 1800
mcloud_timeout: 3600
name: ${{ matrix.name }}
pip_deps: ${{ matrix.pip_deps }}
pytest_command: ${{ matrix.pytest_command }}
pytest_markers: ${{ matrix.markers }}
python_version: ${{ matrix.python_version }}
mcloud_api_key: ${{ secrets.MCLOUD_API_KEY }}
gpu_num: ${{ matrix.gpu_num }}
composer_package_name: mosaicml # Required as Composer is built from source

0 comments on commit ceeb5c6

Please sign in to comment.