pytorch / pytorch/gloo

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

Open
#464 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.5k
Forks
368
Avg merge
19h 32m
Merged PRs (30d)
3

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository files, tests, or entry points are mentioned. First clarify whether the request is for benchmark data or Java/CUDA setup guidance, then define the hardware, workloads, and metrics; done means a reproducible Gloo-versus-NCCL comparison or documented guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, java, pytorch
Domain
distributed-systems, machine-learning, performance
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.