Skip to content

Conversation

@take-cheeze
Copy link

@take-cheeze take-cheeze commented Nov 14, 2025

Description

Fixes crashs for binary linked with both libtorch and libtransformer_engine running with nsys profile .
It was caused by wrong libcudnn.so loaded when system package like libcudnn9-cuda-12 is installed current Transfomer Engine use it instead of nvidia-cudnn-cu12 pypi package.
Though by setting export LD_LIBRARY_PATH=$(pip show nvidia-cudnn-cu12 | awk '/Location:/ { print $2 }')/nvidia/cudnn/lib maybe a workaround.

May also need NVIDIA/cudnn-frontend#180

Type of change

  • Documentation change (change only to the documentation, either a fix or a new content)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Infra/Build change
  • Code refactoring

Changes

Checklist:

  • I have read and followed the contributing guidelines
  • The functionality is complete
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Signed-off-by: take-cheeze <takechi101010@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant