[Ready for Review] Turn on UBSAN in the OSS build#8813
[Ready for Review] Turn on UBSAN in the OSS build#8813yf225 wants to merge 32 commits intopytorch:masterfrom
Conversation
|
Still seems to be getting stuck in tp |
|
Maybe writing a special list file will work? https://clang.llvm.org/docs/SanitizerSpecialCaseList.html |
.jenkins/pytorch/test.sh
Outdated
|
|
||
| (cd test && python -c "import torch") | ||
| echo "The next two invocations are expected to crash; if they don't that means ASAN is misconfigured" | ||
| echo "The next two invocations are expected to crash; if they don't that means ASAN/UBSAN is misconfigured" |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
Still got stuck in third part |
|
Maybe you need a recursive specifier? It could be that |
We have tests that do this on purpose to check for "bad" return values (nan etc.). |
test/test_autograd.py
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
@pytorchbot retest this please |
|
Woohoo! |
.jenkins/pytorch/test.sh
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
torch/csrc/Module.cpp
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
ezyang
left a comment
There was a problem hiding this comment.
Need to turn the smoketests back on.
68400a3 to
3d0220e
Compare
| #define __at_align32__ | ||
| #endif | ||
|
|
||
| #if defined(__clang__) |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
facebook-github-bot
left a comment
There was a problem hiding this comment.
@yf225 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
|
@pytorchbot retest this please |
Summary: Copy of pytorch/pytorch#8802 Closes pytorch/pytorch#8813 Differential Revision: D8707364 Pulled By: yf225 fbshipit-source-id: bc201980b50e9fb44c42a17f898b50d3558fc417
Summary: Copy of pytorch/pytorch#8802 Closes pytorch/pytorch#8813 Differential Revision: D8707364 Pulled By: yf225 fbshipit-source-id: bc201980b50e9fb44c42a17f898b50d3558fc417
Summary: Copy of pytorch#8802 Closes pytorch#8813 Differential Revision: D8707364 Pulled By: yf225 fbshipit-source-id: bc201980b50e9fb44c42a17f898b50d3558fc417
Copy of #8802