Skip to content

Conversation

@AndrewZhaoLuo
Copy link
Contributor

See #11414

@AndrewZhaoLuo AndrewZhaoLuo force-pushed the aluo/pylint/integration-tests branch from 9811e4e to e2f00a2 Compare June 23, 2022 20:33
@AndrewZhaoLuo AndrewZhaoLuo changed the title [WIP][Pylint] Pylint integration_tests folder [Pylint] Pylint integration_tests folder Jun 23, 2022
@AndrewZhaoLuo AndrewZhaoLuo force-pushed the aluo/pylint/integration-tests branch from 23408a4 to a6a04db Compare June 23, 2022 22:07
@AndrewZhaoLuo
Copy link
Contributor Author

@ashutosh-arm this is now ready for review

@AndrewZhaoLuo AndrewZhaoLuo force-pushed the aluo/pylint/integration-tests branch from a6a04db to 81d3b1c Compare June 23, 2022 22:19
Copy link
Contributor

@asparkhi asparkhi left a 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
Copy link
Contributor

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?

Copy link
Contributor Author

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
Copy link
Contributor

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?

Copy link
Contributor Author

@AndrewZhaoLuo AndrewZhaoLuo Jun 24, 2022

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

@AndrewZhaoLuo AndrewZhaoLuo force-pushed the aluo/pylint/integration-tests branch from 81d3b1c to a439386 Compare June 24, 2022 18:06
@AndrewZhaoLuo
Copy link
Contributor Author

PTAL @ashutosh-arm

@masahi masahi merged commit a8e3294 into apache:main Jul 7, 2022
masahi pushed a commit to masahi/tvm that referenced this pull request Jul 15, 2022
* 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
junrushao pushed a commit to yelite/tvm that referenced this pull request Jul 27, 2022
* 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
mikeseven pushed a commit to mikeseven/tvm that referenced this pull request Sep 27, 2023
* 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
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.

3 participants