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

[VTA] [Chisel] Added Test Infrastructure #3682

Closed
wants to merge 43 commits into from
Closed

[VTA] [Chisel] Added Test Infrastructure #3682

wants to merge 43 commits into from

Conversation

BenjaminTu
Copy link
Contributor

Thanks for contributing to TVM! Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers.

@BenjaminTu BenjaminTu changed the title [VTA] Added test infrastructure [VTA] [Chisel] Added test infrastructure Jul 31, 2019
@vegaluisjose
Copy link
Member

Hey @BenjaminTu

I think you are adding to firrtl files .fir, could you remove them?

@BenjaminTu BenjaminTu changed the title [VTA] [Chisel] Added test infrastructure [VTA] [Chisel] Added Test Infrastructure Jul 31, 2019
@BenjaminTu
Copy link
Contributor Author

Removed! These are files that are generated by the testing script, each test will have their own fir files

Copy link
Member

@vegaluisjose vegaluisjose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add some comments/docs. You could use other modules (classes) as reference. For example, see here

@BenjaminTu
Copy link
Contributor Author

added some comments on Launcher and GemvTest

Copy link
Member

@vegaluisjose vegaluisjose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets change all the gemv with mvm since gemv is not mentioned in the unit being tested.

Copy link
Member

@liangfu liangfu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the nice work. Left some comments, otherwise looks good to me.

apivovarov and others added 8 commits August 1, 2019 08:31
This side effect at module import time has a race condition between the "exists" check and the "mkdir" call.  The safer thing is to just call mkdir and catch the "already exists" error which is what makedirs does.
Fix typo names in caffe2 and onnx frontend:
* sotrage_order -> storage_order
* OpNotInplemented -> OpNotImplemented
* add fatal

lint

lint

lint

do

make completeness check an error

lint

remove fatal

* fix test

* reset parser file

* remove unneeded import

* Update python/tvm/relay/adt.py

Co-Authored-By: Steven S. Lyubomirsky <slyubomirsky@gmail.com>

* Update include/tvm/relay/adt.h

Co-Authored-By: Steven S. Lyubomirsky <slyubomirsky@gmail.com>

* Eliminate trailing whitespace (my fault)
The patch adds support for Tensorflow operators log1p and cos
Tensorflow log1p is described at https://www.tensorflow.org/api_docs/python/tf/math/log1p
Tensorflow cos is described at https://www.tensorflow.org/api_docs/python/tf/math/cos
Tensorflow sin is described at https://www.tensorflow.org/api_docs/python/tf/math/sin
vinx13 and others added 6 commits August 1, 2019 20:55
* [Relay][Quantization] Support floating-point scale

* [Relay][Quantization] KL-divergence calibration on dataset

* Fix unhandled LeftShift case in QuantizeRealize

* Fix lint

* drop QBias

* fix lint

* address comments

* address comments

* Update comments

* address comments

* lint

* kQIdentity = 0
* [TOPI] Memoize winograd matrix

* lint

* Fix name
* add dgl to docker file

* add dgl to docker file
* [AutoTVM] Fix hang/crash issues on feature extraction

* Update xgboost_cost_model.py

* fix lint
Copy link
Contributor

@tmoreau89 tmoreau89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to see a unit test infrastructure @BenjaminTu ! Can you perhaps add a few lines in a README.md on how to run, and extend the unit tests if others want to contribute?

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.