Skip to content

Support buffer size argument in broadcast_str util #988

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

Closed
wants to merge 1 commit into from

Conversation

supergeorge23
Copy link
Contributor

Summary:
This commit adds a new test case to the DistributedTest class to test the
broadcast_str function with a fixed buffer size. The test case checks that
the broadcasted value is correct when the fixed buffer size is larger than,
equal to, and smaller than the length of the input string.
Note: This commit also includes some minor changes to the existing test cases
to make them more robust.
Changes:

  • Added new test case test_broadcast_str_fixed_buffer_size to DistributedTest
  • Updated existing test cases to use spawn_multi_process instead of spawn
    Error:
    The test case is currently failing due to an "enforce fail" error in the Gloo
    backend. Further investigation is needed to determine the root cause of this
    error.

Differential Revision: D72077879

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D72077879

supergeorge23 added a commit to supergeorge23/tnt that referenced this pull request Apr 4, 2025
Summary:

This commit adds a new test case to the DistributedTest class to test the
broadcast_str function with a fixed buffer size. The test case checks that
the broadcasted value is correct when the fixed buffer size is larger than,
equal to, and smaller than the length of the input string.
Note: This commit also includes some minor changes to the existing test cases
to make them more robust.
Changes:
- Added new test case test_broadcast_str_fixed_buffer_size to DistributedTest
- Updated existing test cases to use spawn_multi_process instead of spawn
Error:
The test case is currently failing due to an "enforce fail" error in the Gloo
backend. Further investigation is needed to determine the root cause of this
error.

Differential Revision: D72077879
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D72077879

supergeorge23 added a commit to supergeorge23/tnt that referenced this pull request Apr 4, 2025
Summary:
Pull Request resolved: pytorch#988

This commit adds a new test case to the DistributedTest class to test the
broadcast_str function with a fixed buffer size. The test case checks that
the broadcasted value is correct when the fixed buffer size is larger than,
equal to, and smaller than the length of the input string.
Note: This commit also includes some minor changes to the existing test cases
to make them more robust.
Changes:
- Added new test case test_broadcast_str_fixed_buffer_size to DistributedTest
- Updated existing test cases to use spawn_multi_process instead of spawn
Error:
The test case is currently failing due to an "enforce fail" error in the Gloo
backend. Further investigation is needed to determine the root cause of this
error.

Differential Revision: D72077879
supergeorge23 added a commit to supergeorge23/tnt that referenced this pull request Apr 8, 2025
Summary:

This commit adds a new test case to the DistributedTest class to test the
broadcast_str function with a fixed buffer size. The test case checks that
the broadcasted value is correct when the fixed buffer size is larger than,
equal to, and smaller than the length of the input string.
Note: This commit also includes some minor changes to the existing test cases
to make them more robust.
Changes:
- Added new test case test_broadcast_str_fixed_buffer_size to DistributedTest
- Updated existing test cases to use spawn_multi_process instead of spawn
Error:
The test case is currently failing due to an "enforce fail" error in the Gloo
backend. Further investigation is needed to determine the root cause of this
error.

Differential Revision: D72077879
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D72077879

supergeorge23 added a commit to supergeorge23/tnt that referenced this pull request Apr 8, 2025
Summary:
Pull Request resolved: pytorch#988

This commit adds a new test case to the DistributedTest class to test the
broadcast_str function with a fixed buffer size. The test case checks that
the broadcasted value is correct when the fixed buffer size is larger than,
equal to, and smaller than the length of the input string.
Note: This commit also includes some minor changes to the existing test cases
to make them more robust.
Changes:
- Added new test case test_broadcast_str_fixed_buffer_size to DistributedTest
- Updated existing test cases to use spawn_multi_process instead of spawn
Error:
The test case is currently failing due to an "enforce fail" error in the Gloo
backend. Further investigation is needed to determine the root cause of this
error.

Differential Revision: D72077879
supergeorge23 added a commit to supergeorge23/tnt that referenced this pull request Apr 8, 2025
Summary:

This commit adds a new test case to the DistributedTest class to test the
broadcast_str function with a fixed buffer size. The test case checks that
the broadcasted value is correct when the fixed buffer size is larger than,
equal to, and smaller than the length of the input string.
Note: This commit also includes some minor changes to the existing test cases
to make them more robust.
Changes:
- Added new test case test_broadcast_str_fixed_buffer_size to DistributedTest
- Updated existing test cases to use spawn_multi_process instead of spawn
Error:
The test case is currently failing due to an "enforce fail" error in the Gloo
backend. Further investigation is needed to determine the root cause of this
error.

Differential Revision: D72077879
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D72077879

supergeorge23 added a commit to supergeorge23/tnt that referenced this pull request Apr 8, 2025
Summary:
Pull Request resolved: pytorch#988

This commit adds a new test case to the DistributedTest class to test the
broadcast_str function with a fixed buffer size. The test case checks that
the broadcasted value is correct when the fixed buffer size is larger than,
equal to, and smaller than the length of the input string.
Note: This commit also includes some minor changes to the existing test cases
to make them more robust.
Changes:
- Added new test case test_broadcast_str_fixed_buffer_size to DistributedTest
- Updated existing test cases to use spawn_multi_process instead of spawn
Error:
The test case is currently failing due to an "enforce fail" error in the Gloo
backend. Further investigation is needed to determine the root cause of this
error.

Differential Revision: D72077879
supergeorge23 added a commit to supergeorge23/tnt that referenced this pull request Apr 8, 2025
Summary:

This commit adds a new test case to the DistributedTest class to test the
broadcast_str function with a fixed buffer size. The test case checks that
the broadcasted value is correct when the fixed buffer size is larger than,
equal to, and smaller than the length of the input string.
Note: This commit also includes some minor changes to the existing test cases
to make them more robust.
Changes:
- Added new test case test_broadcast_str_fixed_buffer_size to DistributedTest
- Updated existing test cases to use spawn_multi_process instead of spawn
Error:
The test case is currently failing due to an "enforce fail" error in the Gloo
backend. Further investigation is needed to determine the root cause of this
error.

Differential Revision: D72077879
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D72077879

supergeorge23 added a commit to supergeorge23/tnt that referenced this pull request Apr 8, 2025
Summary:
Pull Request resolved: pytorch#988

This commit adds a new test case to the DistributedTest class to test the
broadcast_str function with a fixed buffer size. The test case checks that
the broadcasted value is correct when the fixed buffer size is larger than,
equal to, and smaller than the length of the input string.
Note: This commit also includes some minor changes to the existing test cases
to make them more robust.
Changes:
- Added new test case test_broadcast_str_fixed_buffer_size to DistributedTest
- Updated existing test cases to use spawn_multi_process instead of spawn
Error:
The test case is currently failing due to an "enforce fail" error in the Gloo
backend. Further investigation is needed to determine the root cause of this
error.

Differential Revision: D72077879
supergeorge23 added a commit to supergeorge23/tnt that referenced this pull request Apr 9, 2025
Summary:

This commit adds a new test case to the DistributedTest class to test the
broadcast_str function with a fixed buffer size. The test case checks that
the broadcasted value is correct when the fixed buffer size is larger than,
equal to, and smaller than the length of the input string.
Note: This commit also includes some minor changes to the existing test cases
to make them more robust.
Changes:
- Added new test case test_broadcast_str_fixed_buffer_size to DistributedTest
- Updated existing test cases to use spawn_multi_process instead of spawn
Error:
The test case is currently failing due to an "enforce fail" error in the Gloo
backend. Further investigation is needed to determine the root cause of this
error.

Differential Revision: D72077879
@supergeorge23 supergeorge23 force-pushed the export-D72077879 branch 2 times, most recently from 84f901b to 1839e10 Compare April 9, 2025 20:33
supergeorge23 added a commit to supergeorge23/tnt that referenced this pull request Apr 9, 2025
Summary:
Pull Request resolved: pytorch#988

This commit adds a new test case to the DistributedTest class to test the
broadcast_str function with a fixed buffer size. The test case checks that
the broadcasted value is correct when the fixed buffer size is larger than,
equal to, and smaller than the length of the input string.
Note: This commit also includes some minor changes to the existing test cases
to make them more robust.
Changes:
- Added new test case test_broadcast_str_fixed_buffer_size to DistributedTest
- Updated existing test cases to use spawn_multi_process instead of spawn
Error:
The test case is currently failing due to an "enforce fail" error in the Gloo
backend. Further investigation is needed to determine the root cause of this
error.

Differential Revision: D72077879
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D72077879

supergeorge23 added a commit to supergeorge23/tnt that referenced this pull request Apr 9, 2025
Summary:

This commit adds a new test case to the DistributedTest class to test the
broadcast_str function with a fixed buffer size. The test case checks that
the broadcasted value is correct when the fixed buffer size is larger than,
equal to, and smaller than the length of the input string.
Note: This commit also includes some minor changes to the existing test cases
to make them more robust.
Changes:
- Added new test case test_broadcast_str_fixed_buffer_size to DistributedTest
- Updated existing test cases to use spawn_multi_process instead of spawn
Error:
The test case is currently failing due to an "enforce fail" error in the Gloo
backend. Further investigation is needed to determine the root cause of this
error.

Differential Revision: D72077879
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D72077879

supergeorge23 added a commit to supergeorge23/tnt that referenced this pull request Apr 9, 2025
Summary:
Pull Request resolved: pytorch#988

This commit adds a new test case to the DistributedTest class to test the
broadcast_str function with a fixed buffer size. The test case checks that
the broadcasted value is correct when the fixed buffer size is larger than,
equal to, and smaller than the length of the input string.
Note: This commit also includes some minor changes to the existing test cases
to make them more robust.
Changes:
- Added new test case test_broadcast_str_fixed_buffer_size to DistributedTest
- Updated existing test cases to use spawn_multi_process instead of spawn
Error:
The test case is currently failing due to an "enforce fail" error in the Gloo
backend. Further investigation is needed to determine the root cause of this
error.

Differential Revision: D72077879
supergeorge23 added a commit to supergeorge23/tnt that referenced this pull request Apr 10, 2025
Summary:

This commit adds a new test case to the DistributedTest class to test the
broadcast_str function with a fixed buffer size. The test case checks that
the broadcasted value is correct when the fixed buffer size is larger than,
equal to, and smaller than the length of the input string.
Note: This commit also includes some minor changes to the existing test cases
to make them more robust.
Changes:
- Added new test case test_broadcast_str_fixed_buffer_size to DistributedTest
- Updated existing test cases to use spawn_multi_process instead of spawn
Error:
The test case is currently failing due to an "enforce fail" error in the Gloo
backend. Further investigation is needed to determine the root cause of this
error.

Reviewed By: JKSenthil

Differential Revision: D72077879
Summary:
Pull Request resolved: pytorch#988

This commit adds a new test case to the DistributedTest class to test the
broadcast_str function with a fixed buffer size. The test case checks that
the broadcasted value is correct when the fixed buffer size is larger than,
equal to, and smaller than the length of the input string.
Note: This commit also includes some minor changes to the existing test cases
to make them more robust.
Changes:
- Added new test case test_broadcast_str_fixed_buffer_size to DistributedTest
- Updated existing test cases to use spawn_multi_process instead of spawn
Error:
The test case is currently failing due to an "enforce fail" error in the Gloo
backend. Further investigation is needed to determine the root cause of this
error.

Reviewed By: JKSenthil

Differential Revision: D72077879
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D72077879

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants