This commit is contained in:
flybird11111 2025-04-17 16:49:48 +08:00
parent dc60efe154
commit a2e623db78

View File

@ -34,7 +34,7 @@ jobs:
anyExtensionFileChanged: ${{ steps.find-extension-change.outputs.any_changed }} anyExtensionFileChanged: ${{ steps.find-extension-change.outputs.any_changed }}
changedLibraryFiles: ${{ steps.find-lib-change.outputs.all_changed_files }} changedLibraryFiles: ${{ steps.find-lib-change.outputs.all_changed_files }}
anyLibraryFileChanged: ${{ steps.find-lib-change.outputs.any_changed }} anyLibraryFileChanged: ${{ steps.find-lib-change.outputs.any_changed }}
runs-on: gpu-h20-10 runs-on: ubuntu-latest
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-detect-change group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-detect-change
cancel-in-progress: true cancel-in-progress: true
@ -87,7 +87,7 @@ jobs:
name: Build and Test Colossal-AI name: Build and Test Colossal-AI
needs: detect needs: detect
if: needs.detect.outputs.anyLibraryFileChanged == 'true' if: needs.detect.outputs.anyLibraryFileChanged == 'true'
runs-on: gpu-h20-10 runs-on: ubuntu-latest
container: container:
image: image-cloud.luchentech.com/hpcaitech/pytorch-cuda:2.2.2-12.1.0 image: image-cloud.luchentech.com/hpcaitech/pytorch-cuda:2.2.2-12.1.0
options: --gpus all --shm-size=2g --rm -v /dev/shm -v /data/scratch:/data/scratch options: --gpus all --shm-size=2g --rm -v /dev/shm -v /data/scratch:/data/scratch