@@ -35,19 +35,6 @@ inputs:
3535 description : " Run tests on CPU only"
3636 required : false
3737 default : " false"
38- azure-client-id :
39- description : " Azure Client ID"
40- required : true
41- azure-tenant-id :
42- description : " Azure Tenant ID"
43- required : true
44- azure-subscription-id :
45- description : " Azure Subscription ID"
46- required : true
47- has-azure-credentials :
48- description : " Has Azure credentials"
49- required : false
50- default : " false"
5138 HF_TOKEN :
5239 description : " Hugging Face Token"
5340 required : true
@@ -74,30 +61,6 @@ inputs:
7461runs :
7562 using : " composite"
7663 steps :
77- - name : Install Azure CLI
78- if : ${{ inputs.has-azure-credentials == 'true' }}
79- shell : bash
80- run : |
81- for i in 1 2 3; do
82- curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash && break
83- echo "Attempt $i failed, retrying in 10s..."
84- sleep 10
85- done
86-
87- - name : Azure Login
88- if : ${{ inputs.has-azure-credentials == 'true' }}
89- uses : azure/login@v2
90- with :
91- client-id : ${{ inputs.azure-client-id }}
92- tenant-id : ${{ inputs.azure-tenant-id }}
93- subscription-id : ${{ inputs.azure-subscription-id }}
94-
95- - name : Azure ACR Login
96- if : ${{ inputs.has-azure-credentials == 'true' }}
97- shell : bash
98- run : |
99- az acr login --name nemoci
100-
10164 - name : Install uuidgen
10265 shell : bash -x -e -u -o pipefail {0}
10366 if : ${{ contains(inputs.runner, 'aws') }}
11376 env :
11477 HF_TOKEN : ${{ inputs.HF_TOKEN }}
11578 run : |
116- MNT_PATH=${{ steps.azure-fileshare.outputs.mnt_path }}
117-
11879 ARG=("")
11980 if [[ "${{ inputs.cpu-only }}" == "false" ]]; then
12081 ARG=("--runtime=nvidia --gpus all")
0 commit comments