Skip to content

RuntimeError: expected scalar type Float but found Half #9

@tanshuai0219

Description

@tanshuai0219

prompt_embeds = self.text_encoder( text_input_ids.to(device), attention_mask=attention_mask, )

get eroor "RuntimeError: expected scalar type Float but found Half"

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