Skip to content

hi, I want to know the performance benchmark about gloo with nccl #464

@mullerhai

Description

@mullerhai

I want to know how ‌Gloo‌ compares to ‌NCCL‌ in terms of performance for distributed training on ‌NVIDIA GPUs (CUDA)‌, as we currently plan to use ‌Gloo‌ for distributed inference in ‌Java‌ with ‌javacpp-pytorch‌.

Key Points:
‌Gloo vs. NCCL‌:

‌NCCL‌ is optimized for NVIDIA GPUs (CUDA), offering ‌higher throughput and lower latency‌ in GPU clusters.
‌Gloo‌ is a ‌cross-platform‌ alternative but may underperform NCCL in CUDA environments unless specific optimizations are applied.
‌Java Integration with PyTorch (javacpp-pytorch)‌:

‌Gloo‌ is supported in PyTorch, but ‌NCCL‌ is the default for GPU training.
If using ‌Gloo in Java‌, ensure compatibility with CUDA and distributed inference workflows.
Would you like a deeper comparison (e.g., benchmarks, setup guidance) for your specific use case?
thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions