Skip to content

Commit 8e4f26a

Browse files
committed
update workflow
1 parent b7b55e8 commit 8e4f26a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/01E_Deployment_PR_Train_And_Store.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,7 @@ jobs:
210210
-e NVIDIA_DRIVER_CAPABILITIES=compute,utility,graphics \
211211
-e NVIDIA_VISIBLE_DEVICES=all \
212212
--rm ${{ secrets.AWS_ECR_LOGIN_URI }}/${{ secrets.ECR_REPOSITORY_NAME }}:latest \
213-
python -c "
214-
import torch;
215-
from lightning.pytorch.accelerators import CUDAAccelerator;
216-
print(f'PyTorch CUDA: {torch.cuda.is_available()}');
217-
print(f'Lightning GPUs: {CUDAAccelerator.auto_device_count()}')
218-
"
213+
python -c "import torch; from lightning.pytorch.accelerators import CUDAAccelerator; print(f'PyTorch CUDA: {torch.cuda.is_available()}'); print(f'Lightning GPUs: {CUDAAccelerator.auto_device_count()}')"
219214
220215
- name: Run DVC commands in container
221216
run: |

0 commit comments

Comments
 (0)