-
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
[Pylint] Pylint integration_tests folder #11672
[Pylint] Pylint integration_tests folder #11672
Conversation
9811e4e
to
e2f00a2
Compare
23408a4
to
a6a04db
Compare
@ashutosh-arm this is now ready for review |
a6a04db
to
81d3b1c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @AndrewZhaoLuo. Looks nice 👍 . Just a few nits and queries.
|
||
|
||
@T.prim_func | ||
def tensorcore_gemm(a: T.handle, b: T.handle, c: T.handle) -> None: | ||
def tensorcore_gemm(handle_a: T.handle, handle_b: T.handle, handle_c: T.handle) -> None: | ||
# pylint: disable=missing-function-docstring |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we not able to get rid of it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is tir script or whatever it's called, we can't actually insert a docstring since the parser does not handle it
@autotvm.template("testing/conv2d_no_batching") | ||
def conv2d_no_batching(N, H, W, CI, CO, KH, KW): | ||
def conv2d_no_batching( # pylint: disable=unused-variable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not able to remove the pylint disable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the function isn't used so yeah unfortunately not :/, however it is registered in the big autotvm task table or something
81d3b1c
to
a439386
Compare
PTAL @ashutosh-arm |
* add folder to pylint * add init py * lint test_arm_mrpofile_dsp.py * one more change to tests/python/integratoin/test_arm_mprofile_dsp.py * add test_dot * test_ewise_fpga.py * test_ewise.py * test gemm * test_lower.py * test_meta_schedule_auto_tensorize.py * test_reduce.py pt1 * test_reduce.py pt2 * test_scan.py * test_tuning.py * test_winograd_nnpack.py * final test pass * comments * clean up test_lower more
* add folder to pylint * add init py * lint test_arm_mrpofile_dsp.py * one more change to tests/python/integratoin/test_arm_mprofile_dsp.py * add test_dot * test_ewise_fpga.py * test_ewise.py * test gemm * test_lower.py * test_meta_schedule_auto_tensorize.py * test_reduce.py pt1 * test_reduce.py pt2 * test_scan.py * test_tuning.py * test_winograd_nnpack.py * final test pass * comments * clean up test_lower more
* add folder to pylint * add init py * lint test_arm_mrpofile_dsp.py * one more change to tests/python/integratoin/test_arm_mprofile_dsp.py * add test_dot * test_ewise_fpga.py * test_ewise.py * test gemm * test_lower.py * test_meta_schedule_auto_tensorize.py * test_reduce.py pt1 * test_reduce.py pt2 * test_scan.py * test_tuning.py * test_winograd_nnpack.py * final test pass * comments * clean up test_lower more
See #11414