Skip to content

Conversation

@sergei-mironov
Copy link
Contributor

@sergei-mironov sergei-mironov commented Dec 4, 2018

This PR solves missing sigmoid intrinsic problem, visible when running C++ program, e.g. [1]. Python code is not affected because python libraries used to register their own fallback as follows:

https://github.com/dmlc/tvm/blob/master/python/tvm/intrin.py#L497

We solve the problem by moving default intrinsic from Python to C++

[1] - https://gist.github.com/grwlf/fafa70cde68cfc33b11c36bd20b3e6f0 failed program

@sergei-mironov
Copy link
Contributor Author

sergei-mironov commented Dec 4, 2018

Use cases which use TVM without Python come to my mind: #1470 #1601

@sergei-mironov sergei-mironov force-pushed the sigmoid branch 3 times, most recently from bbd535e to a867f53 Compare December 5, 2018 11:04
@tqchen tqchen merged commit d50f7b6 into apache:master Dec 7, 2018
sergei-mironov added a commit to sergei-mironov/tvm that referenced this pull request Dec 9, 2018
FrozenGene pushed a commit to FrozenGene/tvm that referenced this pull request Dec 27, 2018
wweic pushed a commit to neo-ai/tvm that referenced this pull request Feb 20, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Feb 20, 2019
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.

2 participants