Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Aug 30, 2024
1 parent 9d6e0d4 commit b13d7e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test_api_rocm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ jobs:
- name: Set up ROCM_DOCKER_DEVICES env var
run: |
chmod +x scripts/rocm_docker_devices.sh
scripts/rocm_docker_devices.sh
shell: bash
./scripts/rocm_docker_devices.sh
- name: Set outputs
# use script to get the devices
id: rocm_docker_devices
run: echo "rocm_docker_devices={$ROCM_DOCKER_DEVICES}" >> $GITHUB_OUTPUT
run: echo "rocm_docker_devices=$(./scripts/rocm_docker_devices.sh)" >> $GITHUB_ENV

- name: Print outputs
run: echo "${{ steps.rocm_docker_devices.outputs.rocm_docker_devices }}"
Expand Down
5 changes: 1 addition & 4 deletions scripts/rocm_docker_devices.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,4 @@ for INDEX in "${DEVICE_INDICES[@]}"; do
fi
done

echo "ROCM_DOCKER_DEVICES=$ROCM_DOCKER_DEVICES"

# export the ROCM_DOCKER_DEVICES variable
export ROCM_DOCKER_DEVICES=$ROCM_DOCKER_DEVICES
echo $ROCM_DOCKER_DEVICES

0 comments on commit b13d7e9

Please sign in to comment.