Skip to content

Commit

Permalink
Add Neuron to the distcheck matrix
Browse files Browse the repository at this point in the history
Signed-off-by: Raghu Raja <[email protected]>
  • Loading branch information
rajachan committed Feb 26, 2024
1 parent 02dc354 commit 065c1b8
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/distcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,36 @@ jobs:
cc:
- gcc
- clang
sdk:
- cuda
- neuron
fail-fast: false
steps:
- name: Install Dependencies
run: |
sudo apt-get update -y
sudo apt-get install -y ${{ env.APT_PACKAGES }}
- name: Install CUDA
- name: Install CUDA SDK
if: matrix.sdk == 'cuda'
run: |
sudo apt-get install -y nvidia-cuda-toolkit
- name: Install Neuron SDK
if: matrix.sdk == 'neuron'
run: |
# Configure Linux for Neuron repository updates
. /etc/os-release
sudo tee /etc/apt/sources.list.d/neuron.list > /dev/null <<EOF
deb https://apt.repos.neuron.amazonaws.com ${VERSION_CODENAME} main
EOF
wget -qO - https://apt.repos.neuron.amazonaws.com/GPG-PUB-KEY-AMAZON-AWS-NEURON.PUB | sudo apt-key add -
# Install Neuron Runtime
sudo apt-get install aws-neuronx-collectives=2.* -y
sudo apt-get install aws-neuronx-runtime-lib=2.* -y
- uses: actions/checkout@v4
- name: Build and Distribution Checks
- name: Build and Distribution Checks (CUDA)
if: matrix.sdk == 'cuda'
run: |
set -x
Expand Down

0 comments on commit 065c1b8

Please sign in to comment.