Skip to content
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

PR #22800: Change the default value of print_operand_shape_ to false and print_large_constants_ to true. #23028

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

copybara-service[bot]
Copy link

PR #22800: Change the default value of print_operand_shape_ to false and print_large_constants_ to true.

Imported from GitHub PR #22800

Operand shape in long hlo text adds redundant information, which shouldn't be required. Changing the default value to off.

The large constants were also printed earlier by default print options, and it is required for parsability and reproducibility. Turning this on by default. This is still controlled by debug option and the default value of that flag disables the large constants, and that behavior is not changed. Just the default print options change here.

Copybara import of the project:

--
e30dea2 by Shraiysh Vaishay [email protected]:

Change the default value of print_operand_shape_ to false and print_large_constants_ to true.

Operand shape in long hlo text adds redundant information, which
shouldn't be required. Changing the default value to off.

The large constants were also printed earlier by default print options,
and it is required for parsability and reproducibility. Turning this on by default.
This is still controlled by debug option and the default value of that
flag disables the large constants, and that behavior is not changed. Just the
default print options change here.

--
7008af0 by Shraiysh Vaishay [email protected]:

Handle tests

--
b22d5f9 by Shraiysh Vaishay [email protected]:

Fix more tests

--
d51579c by Shraiysh Vaishay [email protected]:

Fix more tests

Merging this change closes #22800

FUTURE_COPYBARA_INTEGRATE_REVIEW=#22800 from shraiysh:change_default_print_op_shape d51579c

@copybara-service copybara-service bot force-pushed the test_730428975 branch 4 times, most recently from c48c09b to 3f1c0c1 Compare February 27, 2025 15:40
…and print_large_constants_ to true.

Imported from GitHub PR #22800

Operand shape in long hlo text adds redundant information, which shouldn't be required. Changing the default value to off.

The large constants were also printed earlier by default print options, and it is required for parsability and reproducibility. Turning this on by default. This is still controlled by debug option and the default value of that flag disables the large constants, and that behavior is not changed. Just the default print options change here.

Copybara import of the project:

--
e30dea2 by Shraiysh Vaishay <[email protected]>:

Change the default value of print_operand_shape_ to false and print_large_constants_ to true.

Operand shape in long hlo text adds redundant information, which
shouldn't be required. Changing the default value to off.

The large constants were also printed earlier by default print options,
and it is required for parsability and reproducibility. Turning this on by default.
This is still controlled by debug option and the default value of that
flag disables the large constants, and that behavior is not changed. Just the
default print options change here.

--
7008af0 by Shraiysh Vaishay <[email protected]>:

Handle tests

--
b22d5f9 by Shraiysh Vaishay <[email protected]>:

Fix more tests

--
d51579c by Shraiysh Vaishay <[email protected]>:

Fix more tests

Merging this change closes #22800

FUTURE_COPYBARA_INTEGRATE_REVIEW=#22800 from shraiysh:change_default_print_op_shape d51579c
PiperOrigin-RevId: 730428975
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.

1 participant