Skip to content

Qwen3-vl-embedding-2B训练爆显存 #9885

Description

@ma-biao

Checklist / 检查清单

  • I have searched existing issues, and this is a new question or discussion topic. / 我已经搜索过现有的 issues,确认这是一个新的问题与讨论。

Question Description / 问题描述

8*A100
swift4.1+deepspeed0.18.9可以正常训练
swift4.4.2+deepspeed0.18.9/0.18.0/0.16.0都会爆显存
训练脚本 examples/train/embedding/qwen3/qwen3_vl_emb.sh 中都改成全参--tuner_type full、长度max_length 1024、gradient accumulation 4以及在swift4.4.2上加上了--mrl_dims '{"1024": 1.0}'

swift4.4.2显存第一个step单卡显存占用直接到50G,然后一直增加直到爆显存。

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions