[AMD CI] Remove SRT docker build. (#11850)
Co-authored-by: Hubert Lu <Hubert.Lu@amd.com>
This commit is contained in:
@@ -20,7 +20,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
gpu_arch: ['gfx942', 'gfx942-rocm700', 'gfx950']
|
gpu_arch: ['gfx942', 'gfx942-rocm700', 'gfx950']
|
||||||
build_type: ['all', 'srt']
|
build_type: ['all']
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -52,17 +52,8 @@ jobs:
|
|||||||
|
|
||||||
tag=v${version}-${rocm_tag}
|
tag=v${version}-${rocm_tag}
|
||||||
|
|
||||||
if [ "${{ matrix.build_type }}" = "all" ]; then
|
docker build . -f docker/Dockerfile.rocm --build-arg BUILD_TYPE=${{ matrix.build_type }} --build-arg GPU_ARCH=${{ matrix.gpu_arch }} -t rocm/sgl-dev:${tag}-${{ env.DATE }} --no-cache
|
||||||
tag_suffix=""
|
docker push rocm/sgl-dev:${tag}-${{ env.DATE }}
|
||||||
elif [ "${{ matrix.build_type }}" = "srt" ]; then
|
|
||||||
tag_suffix="-srt"
|
|
||||||
else
|
|
||||||
echo "Unsupported build type"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
docker build . -f docker/rocm.Dockerfile --build-arg BUILD_TYPE=${{ matrix.build_type }} --build-arg GPU_ARCH=${{ matrix.gpu_arch }} -t rocm/sgl-dev:${tag}-${{ env.DATE }}${tag_suffix} --no-cache
|
|
||||||
docker push rocm/sgl-dev:${tag}-${{ env.DATE }}${tag_suffix}
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
if: github.repository == 'sgl-project/sglang'
|
if: github.repository == 'sgl-project/sglang'
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
gpu_arch: ['gfx942', 'gfx942-rocm700', 'gfx950']
|
gpu_arch: ['gfx942', 'gfx942-rocm700', 'gfx950']
|
||||||
build_type: ['all', 'srt']
|
build_type: ['all']
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -43,14 +43,5 @@ jobs:
|
|||||||
|
|
||||||
tag=v${version}-${rocm_tag}
|
tag=v${version}-${rocm_tag}
|
||||||
|
|
||||||
if [ "${{ matrix.build_type }}" = "all" ]; then
|
docker build . -f docker/Dockerfile.rocm --build-arg BUILD_TYPE=${{ matrix.build_type }} --build-arg GPU_ARCH=${{ matrix.gpu_arch }} -t lmsysorg/sglang:${tag} --no-cache
|
||||||
tag_suffix=""
|
docker push lmsysorg/sglang:${tag}
|
||||||
elif [ "${{ matrix.build_type }}" = "srt" ]; then
|
|
||||||
tag_suffix="-srt"
|
|
||||||
else
|
|
||||||
echo "Unsupported build type"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
docker build . -f docker/rocm.Dockerfile --build-arg BUILD_TYPE=${{ matrix.build_type }} --build-arg GPU_ARCH=${{ matrix.gpu_arch }} -t lmsysorg/sglang:${tag}${tag_suffix} --no-cache
|
|
||||||
docker push lmsysorg/sglang:${tag}${tag_suffix}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user