NVIDIA / NVIDIA/TransformerEngine

Problem encountered while compiling version v2.6

Open
#2,504 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug installation
Dominant language
Python
Stars
3.5k
Forks
831
Avg merge
3d 11h
Merged PRs (30d)
65

Description

When I compiled version 2.6 from source code, I encountered the following problem when importing packages: File "/home/hadoop-friday-studio/.conda/envs/verl/lib/python3.12/ctypes/init.py", line 379, in init

self._handle = _dlopen(self._name, mode)

               ^^^^^^^^^^^^^^^^^^^^^^^^^

OSError: /home/hadoop-friday-studio/.conda/envs/verl/lib/python3.12/site-packages/transformer_engine/libtransformer_engine.so: undefined symbol: _ZN18transformer_engine9to_stringERK15NVTEScalingMode

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the import failure while compiling version v2.6, then inspect the loading of site-packages/transformer_engine/libtransformer_engine.so and the reported undefined symbol. Compare the build and runtime versions involved. Done means importing the packages after compilation no longer raises the OSError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.