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 746b770
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/distcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,35 @@ 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
sudo tee /etc/apt/sources.list.d/neuron.list > /dev/null << EOC
deb https://apt.repos.neuron.amazonaws.com jammy main
EOC
wget -qO - https://apt.repos.neuron.amazonaws.com/GPG-PUB-KEY-AMAZON-AWS-NEURON.PUB | sudo apt-key add -
sudo apt update -y
# Install Neuron Runtime
sudo apt-get install aws-neuronx-runtime-lib -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 746b770

Please sign in to comment.