Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable channel cache #463

Merged
merged 17 commits into from
Feb 19, 2025
Merged

Disable channel cache #463

merged 17 commits into from
Feb 19, 2025

Conversation

seagater
Copy link
Contributor

@seagater seagater commented Feb 18, 2025

Add workaround of disabling channel cache.
Related runtime parameter: -x MSCCLPP_DISABLE_CHANNEL_CACHE=TRUE (Default value: False)
In this PR, some other features (e.g., ncclCommSplit) come from branch binyangli/nccl-api

@Binyang2014
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@Binyang2014
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@Binyang2014 Binyang2014 enabled auto-merge (squash) February 19, 2025 19:22
@Binyang2014 Binyang2014 merged commit 591276f into main Feb 19, 2025
14 checks passed
@Binyang2014 Binyang2014 deleted the qinghuazhou/disable_channel_cache branch February 19, 2025 19:26
@@ -51,6 +52,15 @@ void mscclppDebugInit() {
tempNcclDebugLevel = MSCCLPP_LOG_TRACE;
}

const char* disable_channel_cache = getenv("MSCCLPP_DISABLE_CHANNEL_CACHE");
Copy link
Contributor

@chhwang chhwang Feb 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use the env() function in env.cpp instead of calling getenv directly.
https://github.com/microsoft/mscclpp/blob/main/src/env.cpp

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.

4 participants