Thanks for your efforts on building NGC torch image for the community. But recently we found torch in NGC image is different from the torch official distribution. Because it loses the post-processing procedure in the torch wheel. For example, the rpath is set to the relative path for pip in the torch official distribution by the following scripts
This may lead to different behavior for user program. For example, if we further install nvidia-nccl-cu12 on top of the NGC image, the official torch would load libnccl.so from the pip installed directory, due to the rpath settings. However, based on NGC, we still load the default version in the LD_LIBRARY_PATH.