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

[PyTorch] NGC Pytorch Image 24.02 has excessive debug logging #1391

Open
FelixSchneiderZoom opened this issue May 17, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@FelixSchneiderZoom
Copy link

Related to NGC PyTorch Image 24.02 (and maybe later)

Describe the bug
I'm sorry if this is not the correct place to report, I could not find any Github repo or contact address for maintainers of the NVIDIA NGC PyTorch images.

The PyTorch version in the NGC images is compiled from source (I find the choice of just using the latest commit at the time of building, rather than the latest stable release, problematic, but that is not the topic of this issue). Unfortunately, it is compiled with the flag PGNCCL_ENABLE_HASH enabled, so NCCL will print a hash for every collective operation on every rank, making all log output practically unreadable when using distributed training, especially when using deepspeed ZeRO. There is no way to suppress this log output other than recompiling PyTorch.

To Reproduce

  • Use nvcr.io/nvidia/pytorch:24.02-py3
  • Run a distributed training using NCCL
  • Observe excessive logging

Expected behavior
This debug logging is not necessary and should not be enabled.

Environment

  • Container version: pytorch:24.02-py3
  • GPUs in the system: Any, more than 1 required.
  • CUDA driver version 545.23
@FelixSchneiderZoom FelixSchneiderZoom added the bug Something isn't working label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant