OS Manuals

/usr/bin/torchrun

commands for python3.10 version of torch

From py3.10-torch-cuda-12.6-bin 2.14.1-r0 (extra-packages), captured 2026-11-05 by running torchrun --help (exit 1) · terse output. permalink

Traceback (most recent call last):
  File "/usr/bin/torchrun", line 3, in <module>
    from torch.distributed.run import main
  File "/usr/lib/python3.10/site-packages/torch/__init__.py", line 496, in <module>
    from torch._C import *  # noqa: F403
ImportError: /usr/lib/python3.10/site-packages/torch/lib/libtorch_python.so: undefined symbol: _ZN5torch8profiler4impl27cuptiMonitorBufferCompletedEPhmmPv

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.