Skip to content

Commit f5419fa

Browse files
committed
update workflow
1 parent 300c395 commit f5419fa

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/ec2-pipeline.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
runs-on: [self-hosted, cml-gpu]
2828
needs: launch-runner
2929
timeout-minutes: 20
30-
container:
31-
image: docker://pytorch/pytorch:2.4.0-cuda12.4-cudnn9-runtime
32-
options: --gpus all
30+
# container:
31+
# image: docker://pytorch/pytorch:2.4.0-cuda12.4-cudnn9-runtime
32+
# options: --gpus all
3333
# runs-on: ubuntu-latest
3434
steps:
3535
# - name: Set node environment
@@ -138,13 +138,13 @@ jobs:
138138
# - name: Login to Amazon ECR
139139
# id: login-ecr
140140
# uses: aws-actions/amazon-ecr-login@v2
141-
- name: CUDA Check
142-
run: |
143-
docker run --gpus all -it pytorch/pytorch:2.3.1-cuda11.8-cudnn8-runtime python3 -c "
144-
import torch;
145-
print(f'CUDA Available: {torch.cuda.is_available()}');
146-
if torch.cuda.is_available():
147-
print(f'Device: {torch.cuda.get_device_name(0)}')"
141+
# - name: CUDA Check
142+
# run: |
143+
# docker run --gpus all -it pytorch/pytorch:2.3.1-cuda11.8-cudnn8-runtime python3 -c "
144+
# import torch;
145+
# print(f'CUDA Available: {torch.cuda.is_available()}');
146+
# if torch.cuda.is_available():
147+
# print(f'Device: {torch.cuda.get_device_name(0)}')"
148148

149149
- name: Pull Docker image from ECR
150150
run: |

0 commit comments

Comments
 (0)