Skip to content

Commit dc59d74

Browse files
[CI] fix wrong ip was used (#1333)
1 parent a24e7a1 commit dc59d74

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/unit_tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ jobs:
417417
if [ "$gpu_id" -lt 0 ]; then
418418
echo "http://${{ needs.check-vm.outputs.ip }}/gpu/get?id=${{ github.run_id }}&timestamp=$timestamp&test=${{ matrix.test_script }}&runner=${RUNNER_NAME}&exclusive=${{ github.event.inputs.exclusive-gpu }} returned $gpu_id"
419419
echo "No available GPU, waiting 5 seconds..."
420-
curl http://${{ needs.check-vm.outputs.ip }}/gpu/status2
420+
curl http://10.0.14.248/gpu/status2
421421
sleep 5
422422
else
423423
echo "Allocated GPU ID: $gpu_id"
@@ -429,7 +429,7 @@ jobs:
429429
echo "CUDA_VISIBLE_DEVICES=$gpu_id" >> $GITHUB_ENV
430430
echo "STEP_TIMESTAMP=$timestamp" >> $GITHUB_ENV
431431
echo "CUDA_VISIBLE_DEVICES set to $gpu_id, timestamp=$timestamp"
432-
curl http://${{ needs.check-vm.outputs.ip }}/gpu/status2
432+
curl http://10.0.14.248/gpu/status2
433433
434434
- name: Run tests
435435
if: ${{ (!github.event.inputs.test_names || contains(github.event.inputs.test_names, matrix.test_script)) && !cancelled() }}
@@ -666,7 +666,7 @@ jobs:
666666
667667
show-statistics:
668668
runs-on: [ self-hosted, xeon5 ]
669-
if: github.event.inputs.exclusive-gpu != 'true'
669+
if: github.event.inputs.exclusive-gpu == 'true'
670670
container:
671671
image: modelcloud/gptqmodel:alpine-ci-v1
672672
needs:

0 commit comments

Comments
 (0)