-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[TVMScript] Use environment variable TVM_BLACK_FORMAT for .show() #15762
[TVMScript] Use environment variable TVM_BLACK_FORMAT for .show() #15762
Conversation
Love this PR. Moving my comments from the previous one.
|
BTW, |
Great PR! It's a great solution to make people with different tastes happy! Thanks @Lunderberg |
ecaca89
to
3f64cf5
Compare
This unit test is failing on unrelated PRs (e.g. apache#15762 at [CI link](https://ci.tlcpack.ai/blue/organizations/jenkins/tvm-arm/detail/PR-15762/4/tests)). Local testing resulted in a failed test 44 times out of 100 iterations.
This unit test is failing on unrelated PRs (e.g. apache#15762 at [CI link](https://ci.tlcpack.ai/blue/organizations/jenkins/tvm-arm/detail/PR-15762/4/tests)). Local testing resulted in a failed test 44 times out of 100 iterations.
This unit test is failing on unrelated PRs (e.g. #15762 at [CI link](https://ci.tlcpack.ai/blue/organizations/jenkins/tvm-arm/detail/PR-15762/4/tests)). Local testing resulted in a failed test 44 times out of 100 iterations.
2c38d10
to
4987c42
Compare
Prior to this commit, the default behavior of the `black_format` argument in TVMScript printing has changed back and forth, based on conflicting user preferences. This commit allows the default to be specified by each using using the `TVM_BLACK_FORMAT` environment variable. If unspecified in a `obj.show()` method call, this environment variable is used to determine the default.
4987c42
to
1f787c6
Compare
…ache#15762) Prior to this commit, the default behavior of the `black_format` argument in TVMScript printing has changed back and forth, based on conflicting user preferences. This commit allows the default to be specified by each using using the `TVM_BLACK_FORMAT` environment variable. If unspecified in a `obj.show()` method call, this environment variable is used to determine the default.
Prior to this commit, the default behavior of the
black_format
argument in TVMScript printing has changed back and forth, based on conflicting user preferences. This commit allows the default to be specified by each using using theTVM_BLACK_FORMAT
environment variable. If unspecified in aobj.show()
method call, this environment variable is used to determine the default.