Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mi300x to the amd workflow matrix. #148

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions .github/workflows/amd_workflow.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: AMD PyTorch Job
on:
pull_request:
branches: [ main ]
workflow_dispatch:
inputs:
payload:
Expand All @@ -13,10 +15,18 @@ on:

jobs:
run:
runs-on: [amdgpu-mi250-x86-64]
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
include:
- name: mi300
runs-on: amdgpu-mi300-x86-64
venv-dir: ${{ github.workspace }}
- name: mi250
runs-on: amdgpu-mi300-x86-64
venv-dir: /groups/aig_sharks/pytorch_venv
timeout-minutes: 10
env:
VENV_DIR: /groups/aig_sharks/pytorch_venv
steps:
- uses: actions/checkout@v3
- name: Setup Python
Expand All @@ -35,8 +45,8 @@ jobs:
- name: Setup Virtual Environment and Install Dependencies
shell: bash
run: |
python -m venv ${VENV_DIR}
source ${VENV_DIR}/bin/activate
python -m venv ${{ matrix.venv-dir }}
source ${{ matrix.venv-dir }}/bin/activate
pip install --upgrade pip

if [[ -n "${{ github.event.inputs.requirements }}" ]]; then
Expand All @@ -55,6 +65,6 @@ jobs:
uses: actions/upload-artifact@v4
if: always()
with:
name: run-result
name: run-result-${{ matrix.name }}
path: |
result.json
Loading