Skip to content

Conversation

@MarisaKirisame
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.
@vinx13 @junrushao1994 @jroesch @tqchen @srkreddy1238 can you guys give some review?

@junrushao
Copy link
Member

It looks good. Though it has been years that I didn’t check correctness via numerically...why not just compare with PyTorch?

@MarisaKirisame
Copy link
Contributor Author

@junrushao1994 the add_grads pr was originally in comparison of PyTorch, but after discussing with @tqchen we agree that it is bad to depend on pytorch (which might also has errors in gradient) for correctness.

@vinx13 vinx13 merged commit 8e0aaa2 into apache:master Jul 26, 2019
@junrushao
Copy link
Member

Numeral stability would cause trouble when it comes together with randomized inputs, which results in unnecessary flaky tests. Just be careful then :-)

wweic pushed a commit to wweic/tvm that referenced this pull request Aug 9, 2019
* add check_grad

* finish

* what does the fox say?

* lint lint lint lint lint lint lint lint lint
wweic pushed a commit to neo-ai/tvm that referenced this pull request Sep 6, 2019
* add check_grad

* finish

* what does the fox say?

* lint lint lint lint lint lint lint lint lint
@MarisaKirisame MarisaKirisame deleted the test-grads branch September 8, 2019 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants