-
Notifications
You must be signed in to change notification settings - Fork 667
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
add quantization conv and matmul #10327
Conversation
Co-authored-by: Houjiang Chen <chenhoujiangcug@gmail.com>
…fix_dynamo_mock_error
…c/oneflow into fix_dynamo_mock_error
…c/oneflow into fix_dynamo_mock_error
…c/oneflow into fix_dynamo_mock_error
…into dev_int8_conv
…into dev_int8_conv
return failure(); | ||
} | ||
} else { | ||
result.replaceAllUsesWith(created_results[num_transposed_result]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这句是处理什么情况,考虑加个注释?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果不全部替换,可能会出现原op的其他输出仍然被消费的情况,最后导致同时有两个同名的op存在
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可能会出现原op的其他输出仍然被消费的情况
这个是正常的吧,如果这个输出的消费者本来就不在这个NHWC优化的子图
最后导致同时有两个同名的op存在
这个是不是在 AutoNhwcPattern
里面把产生的新 op 的 op_name
改一下更好
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
那就每个pattern都要改一下,要不你来改一下吧
…into dev_int8_conv
…into dev_int8_conv
…into dev_int8_conv
…into dev_int8_conv
No description provided.