Skip to content

cherry pick DDA lazy init#31

Closed
kingchc wants to merge 2 commits intogenai-2.18.3from
dda-lazy-init
Closed

cherry pick DDA lazy init#31
kingchc wants to merge 2 commits intogenai-2.18.3from
dda-lazy-init

Conversation

@kingchc
Copy link
Copy Markdown

@kingchc kingchc commented Oct 8, 2023

No description provided.

Ching-Hsiang Chu added 2 commits October 7, 2023 21:56
Summary: Use `commHash`, instead of commId, as the UID for DDA. Unlike commId, commHash will be stored in `ncclComm_t` and it is derived from commId at init time. Use this as key can give us flexibility to lazily allocate DDA resource on-demand.

Reviewed By: cenzhaometa

Differential Revision: D49962123

fbshipit-source-id: c52369aa674fdbe02c2e8c46807d8e32c3e4a6a1
Summary: Postpone DDA allocation to later to reduce resource consumption at init time, and only be allocating resource when used

Reviewed By: cenzhaometa

Differential Revision: D49962764

fbshipit-source-id: 371834903f2d0fddbd80f6ba9c3e6bbe0b0d0d81
@facebook-github-bot
Copy link
Copy Markdown

@kingchc has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot pushed a commit that referenced this pull request Oct 9, 2023
Summary: Pull Request resolved: #31

Reviewed By: cenzhaometa

Differential Revision: D50063012

Pulled By: kingchc

fbshipit-source-id: 9b64bee4639f3fd58764b953cd6d8f8274565af6
@kingchc kingchc closed this Oct 11, 2023
@kingchc kingchc deleted the dda-lazy-init branch October 11, 2023 00:58
minsii pushed a commit that referenced this pull request Nov 8, 2023
Summary: Pull Request resolved: #31

Reviewed By: cenzhaometa

Differential Revision: D50063012

Pulled By: kingchc

fbshipit-source-id: 9b64bee4639f3fd58764b953cd6d8f8274565af6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants