Skip to content

Expected all tensors to be on the same device #2

@zeinabfarhoudi

Description

@zeinabfarhoudi

When I run transllm, I face this error:

RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument index in method wrapper_CUDA__index_select).

I set the device_map with the default value: "auto"
Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions