Skip to content

modify cost_model implementation and add debug timer in planner#170

Closed
mikethegoblin wants to merge 1 commit into
flagos-ai:mainfrom
mikethegoblin:main
Closed

modify cost_model implementation and add debug timer in planner#170
mikethegoblin wants to merge 1 commit into
flagos-ai:mainfrom
mikethegoblin:main

Conversation

@mikethegoblin

@mikethegoblin mikethegoblin commented May 30, 2025

Copy link
Copy Markdown
Collaborator
  • added functions and data structures for cost model to collect c2c_planner info from all ranks
  • added debug timer to measure the duration of each execution stage of c2c algo

This PR might have conflict with PR#167; will resolve conflict after PR#167 is merged

Comment thread flagcx/core/c2c_algo.cc Outdated
// deviceAdaptor->streamSynchronize(stream);

// execute heteroFuncs
if (debugMode_) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It’s preferable to utilize conditional preprocessing without incorporating debug logic directly into the code.

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.

2 participants