-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[BYOC] [ACL] 20.05 memory corruption temporarely fix #6724
Conversation
a123536
to
d29e765
Compare
@merrymercy Please advise on failed Integration Test / docs: GPU. I cannot reproduce failure of tutorials/auto_scheduler/tune_matmul_x86.py locally |
See #6723 |
d29e765
to
701b42b
Compare
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.
Thanks for the PR, just out of curiosity was this issue found as a result of testing squeezenet?
@lhutton Some operations of ACL up to 20.11 requires data to be vector-friendly. In squeezenet there is an avg_pool2d operator with specific tensor layout ((1, 13, 13, 1001), float32). |
Makes sense, thanks for the clarification :) |
701b42b
to
ad7d495
Compare
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.
Overall LGTM. Just nits
This workaround prevents execution of operations via ACL runtime in case if arguments or output tensor require memory padding. Workaround is applicable to all ACL versions prior forecoming ACL 20.11 (which will not use data padding).
34530e7
to
d99e6d5
Compare
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.
LGTM
Thanks @d-smirnov @lhutton1 |
This workaround prevents execution of operations via ACL runtime in case if arguments or output tensor require memory padding. Workaround is applicable to all ACL versions prior forecoming ACL 20.11 (which will not use data padding).
This workaround prevents execution of operations via ACL runtime in case if arguments or output tensor require memory padding. Workaround is applicable to all ACL versions prior forecoming ACL 20.11 (which will not use data padding).
This workaround prevents execution of operations via ACL runtime in case if arguments or output tensor require memory padding. Workaround is applicable to all ACL versions prior forecoming ACL 20.11 (which will not use data padding).
This fix intended to prevent execution of operations via ACL runtime
in case if its arguments require memory padding. This fix is tempоrary
and intended for ACL 20.05 and should be removed after migration
to ACL 20.11