Skip to content

Disable channel cache#463

Merged
Binyang2014 merged 17 commits intomainfrom
qinghuazhou/disable_channel_cache
Feb 19, 2025
Merged

Disable channel cache#463
Binyang2014 merged 17 commits intomainfrom
qinghuazhou/disable_channel_cache

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

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@Binyang2014
Copy link
Contributor

/azp run

@azure-pipelines
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
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