Skip to content

If you fail to build wheels on compiling c++, try this. #1084

Description

@lihe50hz
  1. Find this TransformerEngine/transformer_engine/pytorch/csrc/userbuffers/userbuffers.cu.
  2. Change all half in this file to TransformerEngine_half or some other string you like which won't be used that often.

The error comes from #define te_half nv_bfloat16 at line 12 in the file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions