Skip to content

在eager attention下,加载float16模型会输出大量感叹号 #66

@RuiZiHan

Description

@RuiZiHan

解决方案torch_dtype="auto"或者torch_dtype=torch.bfloat16
先torch_dtype=torch.float16再model = model.half()同样会出现这个问题

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