Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import fails when working from a TE directory #1400

Open
ksivaman opened this issue Jan 10, 2025 · 0 comments
Open

Import fails when working from a TE directory #1400

ksivaman opened this issue Jan 10, 2025 · 0 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@ksivaman
Copy link
Member

When working from a TE directory in the case where TE is installed at a different location, import fails as the shared object cannot be found. This is because import transformer_engine call in transformer_engine/common/__init__.py prioritizes importing from current working directory as opposed to the actual install location, and then get_te_path returns the incorrect result.

@ksivaman ksivaman added the good first issue Good for newcomers label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants