Replace os.dup2 stderr redirect with NCCL_DEBUG_FILE to avoid interfering with NCCL's internal logging. NCCL writes TRACE output to a temp file, then we filter and print only transport-related lines (NET/IB, GPU Direct, Channel, via NET/Socket). Co-Authored-By: Claude <noreply@anthropic.com>