[Relay] Fix relay op strategy for cuda dense int8#7586
Merged
icemelon merged 5 commits intoapache:mainfrom Mar 8, 2021
huochaitiantang:fix_cuda_dense_int8_relay_op_strategy
Merged
[Relay] Fix relay op strategy for cuda dense int8#7586icemelon merged 5 commits intoapache:mainfrom huochaitiantang:fix_cuda_dense_int8_relay_op_strategy
icemelon merged 5 commits intoapache:mainfrom
huochaitiantang:fix_cuda_dense_int8_relay_op_strategy
Conversation
icemelon
reviewed
Mar 4, 2021
Member
icemelon
left a comment
There was a problem hiding this comment.
Could you add a test case for dense uint8 in topi?
… contains dense op (int8 * int8 -> int32)
Contributor
Author
|
It seems that the schedule |
Member
|
Thanks @huochaitiantang |
trevor-m
pushed a commit
to trevor-m/tvm
that referenced
this pull request
May 6, 2021
* [Relay] Fix relay op strategy for cuda dense int8 * Remove uint8 && Add autotvm task extraction test for relay graph that contains dense op (int8 * int8 -> int32) * Reformat the code of test case
trevor-m
pushed a commit
to neo-ai/tvm
that referenced
this pull request
May 11, 2021
* [Relay] Fix relay op strategy for cuda dense int8 * Remove uint8 && Add autotvm task extraction test for relay graph that contains dense op (int8 * int8 -> int32) * Reformat the code of test case
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.
The topi schedule
dense_int8.cudauses dp4a, whose types are int8 * int8 = int32.This PR could ensure that, the quantized dense ops can find the more efficient schedule
dense_int8.cuda, instead ofdense_small_batch.cudaordense_large_batch.cuda.