Skip to content

Please release latest Docker image for v4.0.4 or above (with Gemma 4 support) #9023

@mmarmonier

Description

@mmarmonier

Checklist / 检查清单

  • I have searched existing issues, and this is a new feature request. / 我已经搜索过现有的 issues,确认这是一个新的 Feature Request。

Feature Request Description / Feature Request 描述

Description

Currently, the latest Docker images available on the registry (e.g., modelscope:ubuntu22.04-cuda12.8.1-py311-torch2.10.0-vllm0.17.1-modelscope1.34.0-swift4.0.3) only support up to ms-swift version 4.0.3.

Version 4.0.3 does not appear to include the model mapping registry or the updated transformers library required to load and finetune the newly released Gemma 4 architecture. Running --model_type gemma4 immediately throws a ValueError.

Request

Could the team please trigger a build and publish the Docker images for v4.0.4?

If there is a delay in the official release, could you please point me to the exact Dockerfile or build_image.py script used to generate these official registry images so I can build it locally in the meantime?

Environment

  • Current Image: swift4.0.3
  • Error: ValueError: model_type: 'gemma4' not in [...]

Pull Request / Pull Request 信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions