[AMD CI] Update docker release workflows docker file name. (#13028)
This commit is contained in:
@@ -38,6 +38,7 @@ jobs:
|
|||||||
- name: Build and Push
|
- name: Build and Push
|
||||||
run: |
|
run: |
|
||||||
version=$(cat python/sglang/version.py | cut -d'"' -f2)
|
version=$(cat python/sglang/version.py | cut -d'"' -f2)
|
||||||
|
echo "Version: ${version}"
|
||||||
|
|
||||||
if [ "${{ matrix.gpu_arch }}" = "gfx942" ]; then
|
if [ "${{ matrix.gpu_arch }}" = "gfx942" ]; then
|
||||||
rocm_tag="rocm630-mi30x"
|
rocm_tag="rocm630-mi30x"
|
||||||
@@ -52,7 +53,7 @@ jobs:
|
|||||||
|
|
||||||
tag=v${version}-${rocm_tag}
|
tag=v${version}-${rocm_tag}
|
||||||
|
|
||||||
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
|
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 }} --no-cache
|
||||||
docker push rocm/sgl-dev:${tag}-${{ env.DATE }}
|
docker push rocm/sgl-dev:${tag}-${{ env.DATE }}
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
@@ -83,6 +84,7 @@ jobs:
|
|||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
|
||||||
version=$(cat python/sglang/version.py | cut -d'"' -f2)
|
version=$(cat python/sglang/version.py | cut -d'"' -f2)
|
||||||
|
echo "Version: ${version}"
|
||||||
|
|
||||||
if [ "${{ matrix.gpu_arch }}" = "gfx942" ]; then
|
if [ "${{ matrix.gpu_arch }}" = "gfx942" ]; then
|
||||||
rocm_tag="rocm630-mi30x"
|
rocm_tag="rocm630-mi30x"
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ jobs:
|
|||||||
- name: Build and Push
|
- name: Build and Push
|
||||||
run: |
|
run: |
|
||||||
version=$(cat python/sglang/version.py | cut -d'"' -f2)
|
version=$(cat python/sglang/version.py | cut -d'"' -f2)
|
||||||
|
echo "Version: ${version}"
|
||||||
|
|
||||||
if [ "${{ matrix.gpu_arch }}" = "gfx942" ]; then
|
if [ "${{ matrix.gpu_arch }}" = "gfx942" ]; then
|
||||||
rocm_tag="rocm630-mi30x"
|
rocm_tag="rocm630-mi30x"
|
||||||
@@ -43,5 +44,5 @@ jobs:
|
|||||||
|
|
||||||
tag=v${version}-${rocm_tag}
|
tag=v${version}-${rocm_tag}
|
||||||
|
|
||||||
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
|
docker build . -f docker/rocm.Dockerfile --build-arg BUILD_TYPE=${{ matrix.build_type }} --build-arg GPU_ARCH=${{ matrix.gpu_arch }} -t lmsysorg/sglang:${tag} --no-cache
|
||||||
docker push lmsysorg/sglang:${tag}
|
docker push lmsysorg/sglang:${tag}
|
||||||
|
|||||||
Reference in New Issue
Block a user