[TOPI] Relu and schedule elemwise#390
Merged
tqchen merged 5 commits intoapache:masterfrom Aug 27, 2017
Merged
Conversation
tqchen
requested changes
Aug 26, 2017
| s[x].bind(bx, tvm.thread_axis("blockIdx.x")) | ||
| s[x].bind(tx, tvm.thread_axis("threadIdx.x")) | ||
|
|
||
| tvm.schedule.AutoInlineInjective(s) |
Member
There was a problem hiding this comment.
Do this to right after schedule is created
Member
There was a problem hiding this comment.
Change it to schedule ewise, because it should work for all element wide activations
| ---------- | ||
| data : tvm.Tensor | ||
| 2-D input data | ||
|
|
| ------- | ||
| output_np : numpy.ndarray | ||
| 2-D output with same shape | ||
| """ |
Member
There was a problem hiding this comment.
Since it is one line, don't have to include it here, just write in python
Member
|
Seems you didn't check in schedule elemwise |
Member
|
Check error in http://mode-gpu.cs.washington.edu:8080/blue/organizations/jenkins/dmlc%2Ftvm/detail/PR-390/3/pipeline relu should simply be taged as ewise(without relu) |
tqchen
approved these changes
Aug 27, 2017
tqchen
added a commit
to tqchen/tvm
that referenced
this pull request
May 26, 2018
tqchen
added a commit
that referenced
this pull request
May 29, 2018
tqchen
added a commit
to tqchen/tvm
that referenced
this pull request
Jul 6, 2018
sergei-mironov
pushed a commit
to sergei-mironov/tvm
that referenced
this pull request
Aug 8, 2018
junrushao
pushed a commit
to junrushao/tvm
that referenced
this pull request
Feb 8, 2023
Added two util functions in `nested_msg.h`: - `MapToNestedMsgBySInfo`: map Expr to NestedMsg according to StructInfo. If the Expr is not a TupleNode but its StructInfo is TupleStructInfo (for example, Expr is a Var assigned to by a Tuple), it will add TupleGetItem nodes - `NestedMsgToExpr`: map NestedMsg back to Expr. Tuple nodes will be created.
mbaret
pushed a commit
to mbaret/tvm
that referenced
this pull request
Feb 13, 2023
Added two util functions in `nested_msg.h`: - `MapToNestedMsgBySInfo`: map Expr to NestedMsg according to StructInfo. If the Expr is not a TupleNode but its StructInfo is TupleStructInfo (for example, Expr is a Var assigned to by a Tuple), it will add TupleGetItem nodes - `NestedMsgToExpr`: map NestedMsg back to Expr. Tuple nodes will be created.
yelite
pushed a commit
to yelite/tvm
that referenced
this pull request
Feb 17, 2023
Added two util functions in `nested_msg.h`: - `MapToNestedMsgBySInfo`: map Expr to NestedMsg according to StructInfo. If the Expr is not a TupleNode but its StructInfo is TupleStructInfo (for example, Expr is a Var assigned to by a Tuple), it will add TupleGetItem nodes - `NestedMsgToExpr`: map NestedMsg back to Expr. Tuple nodes will be created.
tlopex
pushed a commit
to tlopex/tvm
that referenced
this pull request
Mar 9, 2026
* improve perf * Revert "[CUDA] Update FlashInfer JIT integration (apache#18353)" This reverts commit cc5d5822b34aca14c6a3752731288138ce3868df. * fix * fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.