@@ -301,37 +301,6 @@ jobs:
301301 echo "--- uninstalling required deps..."
302302 python .github/scripts/ci_deps.py uninstall ${{ matrix.test_script }}
303303
304- # - name: Install Evalution
305- # run: |
306- # uv pip install git+https://x-access-token:${{ secrets.REPO_TOKEN }}@github.com/ModelCloud/Evalution.git
307- # - name: Install requirements
308- # run: |
309- # bash -c "$(curl -L http://${RUNNER}/scripts/env/init_compiler_no_env.sh)" @ ${{ needs.check-vm.outputs.cuda_version }} ${{ env.TORCH_VERSION }} $python_version${{ env.PYTHON_VERSION }}
310-
311- # - name: Download source from local
312- # continue-on-error: true
313- # run: |
314- # curl -s -O http://$RUNNER/whl/${{ env.repo }}/${{ github.run_id }}/gptqmodel_source.tar.gz
315- # ls -ahl .
316- # sha256=$(sha256sum $file_name)
317- # echo "sha256=$sha256"
318- # echo "SOURCE_DOWNLOADED=1" >> $GITHUB_ENV
319-
320- # - name: Download source from github
321- # if: env.SOURCE_DOWNLOADED == '' && !cancelled()
322- # uses: actions/download-artifact@v8
323- # with:
324- # name: source
325- # path: dist
326- # run-id: ${{ github.run_id }}
327-
328- # - name: Uncompress source
329- # continue-on-error: true
330- # run: |
331- # find . -mindepth 1 ! -name "gptqmodel_source.tar.gz" -exec rm -rf {} +
332- # ls -ahl .
333- # tar -zxf gptqmodel_source.tar.gz
334-
335304 - name : Install package from source
336305 run : |
337306 uv pip uninstall gptqmodel || true
@@ -394,12 +363,14 @@ jobs:
394363 run : |
395364 if grep -q '^# GPU=-1$' "${{ matrix.test_script }}"; then
396365 echo "SKIP_GPU_ALLOCATION=true" >> "$GITHUB_ENV"
366+ elif [[ "${{ matrix.test_script }}" == *xpu* ]]; then
367+ echo "SKIP_GPU_ALLOCATION=true" >> "$GITHUB_ENV"
397368 else
398369 echo "SKIP_GPU_ALLOCATION=false" >> "$GITHUB_ENV"
399370 fi
400371
401372 - name : Find suitable GPU
402- if : ${{ !contains(matrix.test_script, 'ipex') && !contains(matrix.test_script, 'xpu') && ! cancelled() && env.SKIP_GPU_ALLOCATION != 'true' }}
373+ if : ${{ !cancelled() && env.SKIP_GPU_ALLOCATION != 'true' }}
403374 run : |
404375 python .github/scripts/ci_gpu.py allocate \
405376 --base-url "${GPU_ALLOCATOR_URL}" \
@@ -413,9 +384,6 @@ jobs:
413384 - name : Run tests
414385 run : |
415386 extra_args=()
416- if [[ "${{ matrix.test_script }}" == *ipex* ]]; then
417- extra_args+=(--clear-cuda)
418- fi
419387 if [[ "${{ matrix.test_script }}" == *xpu* ]]; then
420388 extra_args+=(--clear-cuda --xpu-mode)
421389 fi
@@ -436,7 +404,7 @@ jobs:
436404 --test-script "${{ matrix.test_script }}"
437405
438406 - name : Release GPU
439- if : always() && !contains(matrix.test_script, 'ipex') && !contains(matrix.test_script, 'xpu') && env.SKIP_GPU_ALLOCATION != 'true'
407+ if : always() && env.SKIP_GPU_ALLOCATION != 'true'
440408 run : |
441409 python .github/scripts/ci_gpu.py release \
442410 --base-url "${GPU_ALLOCATOR_URL}" \
@@ -628,6 +596,8 @@ jobs:
628596 run : |
629597 if grep -q '^# GPU=-1$' "${{ matrix.test_script }}"; then
630598 echo "SKIP_GPU_ALLOCATION=true" >> "$GITHUB_ENV"
599+ elif [[ "${{ matrix.test_script }}" == *xpu* ]]; then
600+ echo "SKIP_GPU_ALLOCATION=true" >> "$GITHUB_ENV"
631601 else
632602 echo "SKIP_GPU_ALLOCATION=false" >> "$GITHUB_ENV"
633603 fi
0 commit comments