Skip to content

Does INC not support torch.bfloat16 during the pruning process #42

@tianyil1

Description

@tianyil1

Hi, when I use the magnitude pruning on models with torch.bfloat16 tensor, if fails:

TypeError: Got unsupported ScalarType BFloat16

I find this error is due to the unsupported operation when converting torch.bfloat16 to numpy array. Why INC does not try to support bfloat16 operation? Is there any special consideration?

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