Skip to content

ERROR: Failed building wheel for transformer-engine #857

@Weifan1226

Description

@Weifan1226

Hello mates!

I had a problem while installing transformer-engine wheels:

I have used two ways to install the engine: but all failed.
1:pip install git+https://github.com/NVIDIA/TransformerEngine.git@stable
2:git clone --branch stable --recursive https://github.com/NVIDIA/TransformerEngine.git
cd TransformerEngine
export NVTE_FRAMEWORK=pytorch
git submodule update --init --recursive
pip install .

Hope to get your help
Thanks!


“ Please use int64_t instead” Is that the problem really happen?

/root/miniconda3/lib/python3.8/site-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:203:37: error: static assertion failed: You tried to register a kernel with an unsupported
integral input type. Please use int64_t instead.
203 | static_assert(guts::false_t::value,
| ^~~~~
error: command 'gcc' failed with exit status 1

ERROR: Failed building wheel for transformer-engine


Terminal output:
It seems successfully to buiild
截屏2024-05-20 18 50 59
截屏2024-05-20 18 51 15

But it faild:
截屏2024-05-20 18 51 51
截屏2024-05-20 18 52 25

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