feat(docker): add AMD ROCm image build from vllm-openai-rocm

Add image_type=amd that auto-resolves the newest concrete Docker Hub
tag, probes rocm/python/torch without GPU, installs modelscope from the
build branch, and tags as ubuntu*-rocm*-py*-torch*-{version}.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
suluyan
2026-07-17 11:19:02 +08:00
parent b5c6f8a462
commit 5ee9b27220
3 changed files with 376 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ on:
description: 'ModelScope branch to build from(release/x.xx)'
required: true
image_type:
description: 'The image type to build(base/old/stable/latest)'
description: 'The image type to build(base/old/stable/latest/amd/ascend)'
required: true
modelscope_version:
description: 'ModelScope version to use(x.xx.x)'