Skip to content

add dsl algorithms support to bench collective - #887

Draft
RJ Souza (Empyreus) wants to merge 20 commits into
mainfrom
rjsouza/multinode-ci
Draft

add dsl algorithms support to bench collective#887
RJ Souza (Empyreus) wants to merge 20 commits into
mainfrom
rjsouza/multinode-ci

Conversation

@Empyreus

@Empyreus RJ Souza (Empyreus) commented Aug 25, 2026

Copy link
Copy Markdown
Contributor
  • add dsl algorithms support to bench collective
  • replace multinode pipeline tests with bench_collective tests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds multi-node DSL collective autotuning and CI coverage for AllReduce, AllGather, and ReduceScatter.

Changes:

  • Compiles and tunes runtime DSL variants with configurable launch geometry.
  • Adds ReduceScatter benchmarking and correctness validation.
  • Reworks multi-node CI to exercise DSL collectives.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
test/deploy/run_tests.sh Adds manual multi-node DSL test helpers.
python/mscclpp/default_algos/reducescatter_multi_nodes.py Adds a plan-generation CLI.
python/mscclpp_benchmark/tuner.py Supports candidate-specific tuning dimensions.
python/mscclpp_benchmark/correctness.py Validates ReduceScatter output.
python/mscclpp_benchmark/comm.py Compiles and executes DSL variants.
python/mscclpp_benchmark/bench_collective.py Adds DSL candidates and ReduceScatter benchmarking.
.azure-pipelines/multi-nodes-test.yml Adds three multi-node DSL benchmark jobs.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +306 to +309
for candidate in (
*_candidate_specs(case.collective, symmetric_memory=symmetric_memory),
*_dsl_candidate_specs(comm, case.collective),
):
Comment thread python/mscclpp_benchmark/bench_collective.py
Comment thread python/mscclpp_benchmark/comm.py Outdated
Comment on lines +200 to +204
collective=collective_op,
nranks_per_node=nranks_per_node,
world_size=world_size,
in_place=True,
instances=1,
Comment thread python/mscclpp_benchmark/bench_collective.py
Comment thread test/deploy/run_tests.sh Outdated
Comment on lines +67 to +68
function run_mscclpp_default_algos()
{
comm_group = comm.comm_group
nranks = getattr(comm_group, "nranks", 1) or 1
nranks_per_node = getattr(comm_group, "nranks_per_node", nranks) or nranks
n_nodes = nranks // nranks_per_node if nranks_per_node else 1
@Empyreus RJ Souza (Empyreus) changed the title Rjsouza/multinode ci add dsl algorithms support to bench collective Aug 25, 2026
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