Skip to content

Shut off NCCL when using only 1 device - #1678

Open
elliottslaughter wants to merge 1 commit into
flexflow:masterfrom
elliottslaughter:nccl-single-device
Open

Shut off NCCL when using only 1 device#1678
elliottslaughter wants to merge 1 commit into
flexflow:masterfrom
elliottslaughter:nccl-single-device

Conversation

@elliottslaughter

@elliottslaughter elliottslaughter commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

A bit of hack: when we only have 1 device, initializing NCCL wastes about half a GB of memory that we can use for something else. This reclaims that space by shutting off NCCL in that situation.


This change is Reviewable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant