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

Stabilize CUDA runners and jobs #829

Merged
merged 3 commits into from
Aug 10, 2022
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
library: ILGPU.Algorithms
framework: net471
fail-fast: false
runs-on: ${{ matrix.os }}
runs-on: ${{ contains(matrix.os, 'cuda') && format('{0}-{1}-{2}', matrix.os, matrix.library, matrix.framework) || matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/runners.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,9 @@ jobs:
env:
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
GOOGLE_PROJECT: ${{ secrets.GOOGLE_PROJECT }}
GOOGLE_REGION: ${{ secrets.GOOGLE_REGION }}
GOOGLE_ZONE: ${{ secrets.GOOGLE_ZONE }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}
PULUMI_BACKEND_URL: ${{ secrets.PULUMI_BACKEND_URL }}
PULUMI_CONFIG_PASSPHRASE: ${{ secrets.PULUMI_CONFIG_PASSPHRASE }}
PULUMI_SKIP_CONFIRMATIONS: "true"
Expand All @@ -95,9 +94,10 @@ jobs:
REPO: ${{ github.event.repository.name }}
working-directory: pulumi
run: |
cd aws
case ${{ github.event.inputs.action }} in
'requested')
cp ../ilgpu/.github/workflows/runners/config.yaml Pulumi.$PULUMI_STACK_NAME.yaml
cp ../../ilgpu/.github/workflows/runners/config.yaml Pulumi.$PULUMI_STACK_NAME.yaml
pulumi stack init $PULUMI_STACK_NAME
pulumi config set labels $LABEL
pulumi config set owner $OWNER
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/runners/config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
config:
ephemeral-github-runner-gcp:bootDiskSizeInGB: "100"
ephemeral-github-runner-gcp:bootDiskType: pd-balanced
ephemeral-github-runner-gcp:machineImage: ubuntu-2004-focal-v20220419-ghr22940-nv510
ephemeral-github-runner-gcp:machineType: a2-highgpu-1g
ephemeral-github-runner-gcp:runnersCount: "1"
ephemeral-github-runner:bootDiskSizeInGB: "100"
ephemeral-github-runner:bootDiskType: gp2
ephemeral-github-runner:machineImage: ubuntu-focal-2004-amd64-server-20211129-ghr22940-nv510
ephemeral-github-runner:machineType: g4dn.xlarge
ephemeral-github-runner:runnersCount: "1"