Repository navigation
Make empty_symint support dynamism - #4524
vanbasten23 wants to merge 104 commits into
Conversation
|
Thanks, I will take a look |
JackCaoG
left a comment
There was a problem hiding this comment.
can you dump HLO when it crashed? Then it should obvious why it failed.
|
f2b71da to
66ef0d6
Compare
Summary: This pull request tries to fix the following two tests: 1. test_allgather: allgather uses copy_ internally to update the input and copy_ being decomposed into copy which we need to lower. 2. test_send: send uses t.data to update t’s data which is not supported in functionalization. See functorch.functionalize doesn't allow t.data update pytorch#91093. After switching to copy_, it looks like the problem is fixed. Test Plan: CI.
Summary: test_logcumsumexp fails because the shape check on logcumsumexp.out is not executed after functionalized decomposition. As disccused in pytorch/pytorch#92912, this will be hard to fix. Since we never lower logcumsumexp, our users are highly likely not going to use it. Test Plan: CI.
This reverts commit 4ed2ef6.
…4526) Summary: According to pytorch/pytorch#91789, this test is added for the cpu device. Let's properly skip it. Test Plan: CI
Summary: The dynamic shape tests are broken because of upstream changes that decompose dynamic ops into different ways. Adds new lowering to fix that. Corresponding upstream changes for SymBool: pytorch/pytorch#92149. Test Plan: CI
6cce4b6 to
15c695c
Compare
464532c to
6570bde
Compare
alanwaketan
left a comment
There was a problem hiding this comment.
Generally LGTM. Let's wait for the CI results and the answers to the crash.
fix linter fix build fix build and linter
46bcd8d to
d226a62
Compare
|
Is test passing with the new symint change? |
The PR is intended to fix the test |
JackCaoG
left a comment
There was a problem hiding this comment.
Mostly lgtm. My general comments is whether we can just merge this pr to the master and let functionization branch to rebase. This way we don't need to block this change that is also required by head for months.
Agreed. What's the best way to do that at this point? I was planning to cherry pick this commit to the master branch after this pr is merged. |
You can just create a pr with most of the independent bits of this pr and merge it to master. Ask @wonjoolee95 to rebase then hopefully all test will pass. |
done #4550. I'll mark the current pr draft again |
1c75e4c to
ae08eb5
Compare
974c3a9 to
caccc62
Compare
|
Closing this. There's another identical PR that has been merged into master branch. |
No description provided.