[GH-ISSUE #5157] [Other] PSA: NCCL on nvidia #3068

Open
opened 2026-11-07 14:37:48 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @mamama1 on GitHub (Nov 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5157

my brother, you need to optionally enable nccl on nvidia. there are driver patches out there that enable that path on consumer gpus.
4 GPU setup layer split with NCCL rips in prompt processing.
And it took Claude like 3 minutes to figure it out.

strata version 0.2.10

4 cards, Huihui v2 Q4, MTP, 1 slot, vision off.
 
  ┌────────────────────────────────────────────┬───────────────┬─────────────┬───────┬───────┬──────┬────────┐
  │                  Variant                   │  32K prompt   │ 206K prompt │ Story │ Code  │ Edit │ Greedy │
  ├────────────────────────────────────────────┼───────────────┼─────────────┼───────┼───────┼──────┼────────┤
  │ Host exchange, overlap off (s4h, "before") │ 1,220 / 1,218 │ 1,216       │ 67–83 │ 67–72 │ 86   │ 98     │
  ├────────────────────────────────────────────┼───────────────┼─────────────┼───────┼───────┼──────┼────────┤
  │ NCCL, overlap off (s4n)                    │ 1,565 / 1,573 │ 1,559       │ 75–83 │ 74–77 │ 87   │ 94     │
  ├────────────────────────────────────────────┼───────────────┼─────────────┼───────┼───────┼──────┼────────┤
  │ NCCL + overlap (s4no)                      │ 2,106 / 2,072 │ 2,106       │ 78–85 │ 72–76 │ 86   │ 96     │
  └────────────────────────────────────────────┴───────────────┴─────────────┴───────┴───────┴──────┴────────┘

Originally created by @mamama1 on GitHub (Nov 3, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5157 my brother, you need to optionally enable nccl on nvidia. there are driver patches out there that enable that path on consumer gpus. 4 GPU setup layer split with NCCL rips in prompt processing. And it took Claude like 3 minutes to figure it out. strata version 0.2.10 ``` 4 cards, Huihui v2 Q4, MTP, 1 slot, vision off. ┌────────────────────────────────────────────┬───────────────┬─────────────┬───────┬───────┬──────┬────────┐ │ Variant │ 32K prompt │ 206K prompt │ Story │ Code │ Edit │ Greedy │ ├────────────────────────────────────────────┼───────────────┼─────────────┼───────┼───────┼──────┼────────┤ │ Host exchange, overlap off (s4h, "before") │ 1,220 / 1,218 │ 1,216 │ 67–83 │ 67–72 │ 86 │ 98 │ ├────────────────────────────────────────────┼───────────────┼─────────────┼───────┼───────┼──────┼────────┤ │ NCCL, overlap off (s4n) │ 1,565 / 1,573 │ 1,559 │ 75–83 │ 74–77 │ 87 │ 94 │ ├────────────────────────────────────────────┼───────────────┼─────────────┼───────┼───────┼──────┼────────┤ │ NCCL + overlap (s4no) │ 2,106 / 2,072 │ 2,106 │ 78–85 │ 72–76 │ 86 │ 96 │ └────────────────────────────────────────────┴───────────────┴─────────────┴───────┴───────┴──────┴────────┘ ```
Author
Owner

@github-actions[bot] commented on GitHub (Nov 3, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".
  • Add the Strata version (Settings > About, or strata --version).

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6616412902 --> @github-actions[bot] commented on GitHub (Nov 3, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". - [ ] Add the Strata version (Settings > About, or `strata --version`). Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Nov 3, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6617663347 --> @github-actions[bot] commented on GitHub (Nov 3, 2026): Thanks, this follows the format now.
Author
Owner

@KodeMunkie commented on GitHub (Nov 4, 2026):

Related to this, Pascal Tesla series, and possibly other old Nvidias also support Nvidia's own P2P implementation.
If Strata doesn't already use that then this might be a big workaround for the poor PP in cards without Tensor cores but only if...

  1. Multiple GPUs are available
  2. The motherboard supports it (test with nvidia-smi topo -p2p p)
  3. The GPUs support P2P (either via Nvidias' or the OP's mention of NCCL patches)

Then Strata may just make old cards even more relevant again, a P100 doing ~200t/s PP (in my experience) could be hitting 370t/s based on the OP's calculations.

<!-- gh-comment-id:6622968411 --> @KodeMunkie commented on GitHub (Nov 4, 2026): Related to this, Pascal Tesla series, and possibly other old Nvidias also support Nvidia's own P2P implementation. If Strata doesn't already use that then this might be a big workaround for the poor PP in cards without Tensor cores but only if... 1. Multiple GPUs are available 2. The motherboard supports it (test with nvidia-smi topo -p2p p) 3. The GPUs support P2P (either via Nvidias' or the OP's mention of NCCL patches) Then Strata may just make old cards even more relevant again, a P100 doing ~200t/s PP (in my experience) could be hitting 370t/s based on the OP's calculations.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3068
No description provided.