Skip to content

Creation of MXFP8 Tensor fails with AttributeError: module 'torch' has no attribute 'float8_e8m0fnu' #2783

@avizon-aws

Description

@avizon-aws

I tried to reproduce the code snippet from the tutorial: https://github.com/pytorch/ao/tree/main/torchao/prototype/mx_formats#mxtensor:~:text=Coming%20soon!-,MXTensor,-This%20is%20casts

And I see the error:
AttributeError: module 'torch' has no attribute 'float8_e8m0fnu'.

Is this expected? because the PR for supporting E8M0 was merged: pytorch/pytorch#147466 long back.

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