Skip to content

internlm-xcomposer2_5-7b fine-tuning with multiple gpus reports an error "all tensors to be on the same device" #1335

@thonglv21

Description

@thonglv21

CUDA_VISIBLE_DEVICES=0,1 swift sft --model_type internlm-xcomposer2_5-7b-chat --dataset myData.jsonl

Expected all tensors to be on the same device, but found at least two devices

Looking forward to your answer!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions