Skip to content

Fix #651#662

Merged
chhwang merged 5 commits intomainfrom
chhwang/fix-651
Oct 24, 2025
Merged

Fix #651#662
chhwang merged 5 commits intomainfrom
chhwang/fix-651

Conversation

@chhwang
Copy link
Contributor

@chhwang chhwang commented Oct 23, 2025

  • Python cannot distinguish Communicator::connect(const Endpoint&, ...) from Communicator::connect(const EndpointConfig&, ...). Temporarily removed the former one.
  • A few other fixes in Python bindings.

@chhwang
Copy link
Contributor Author

chhwang commented Oct 23, 2025

/azp run mscclpp-test

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@chhwang
Copy link
Contributor Author

chhwang commented Oct 23, 2025

/azp run mscclpp-test

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Binyang2014 Binyang2014 requested a review from Copilot October 24, 2025 18:04
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses issue #651 by resolving Python binding ambiguity and standardizing parameter naming conventions. The changes temporarily remove Communicator::connect(const Endpoint&, ...) to eliminate confusion with Communicator::connect(const EndpointConfig&, ...), and update parameter names across multiple Python binding files to follow snake_case convention.

Key changes:

  • Removed ambiguous Communicator::connect overload with Endpoint parameter
  • Standardized all Python binding parameter names from camelCase to snake_case
  • Added config() method binding to the Endpoint class

Reviewed Changes

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

Show a summary per file
File Description
python/mscclpp/port_channel_py.cpp Updated parameter names to snake_case for ProxyService, BasePortChannel, and PortChannel bindings
python/mscclpp/nvls_py.cpp Converted parameter names to snake_case in SwitchChannel::DeviceHandle, NvlsConnection, and connect_nvls_collective
python/mscclpp/gpu_utils_py.cpp Changed dataType parameter to data_type in toDlpack binding
python/mscclpp/executor_py.cpp Reformatted execute method parameters to snake_case across multiple lines
python/mscclpp/core_py.cpp Removed ambiguous Endpoint-based connect overloads, standardized parameter names, added Endpoint::config binding, and fixed lambda capture from Communicator to Context

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Binyang2014
Copy link
Contributor

/azp run mscclpp-test

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@chhwang chhwang merged commit 09219c1 into main Oct 24, 2025
7 checks passed
@chhwang chhwang deleted the chhwang/fix-651 branch October 24, 2025 21:25
@chhwang chhwang linked an issue Oct 24, 2025 that may be closed by this pull request
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.

[Bug] allreduce_bench.py failed

3 participants