Conversation
|
Had a doubt on this one. Does this require a test. In the following test:
Is this expected? Is it something to do with no splits happening for the above graph? |
|
I'm not sure what the |
|
I do not think that the graph would be empty since it would reduce to the lowering operations of |
|
I verified the above test case with three cases-
Without decomposition of empty_like b. After AOT trace c. After lowering passes This is the graph for partition With the decomposition of empty_like b. After AOT trace c. After lowering passes The above graph partitioning errors out at
Like the above case during compilation, if the empty_like is included in the decomposition, the shape of x is extracted statically before runtime and the graph subgraphs is not created.
With the decomposition of empty_like b. After AOT trace c. After lowering passes In the above case since there are additional add nodes with the frozen_param nodes, so the subgraph is created. Studying the above cases, it seems that the aten lowering is happening during AOT trace. As discussed ideally a test case should not be required. I do not believe |
|
Thanks for the analysis @apbose - this is very helpful. It looks like the Regarding |
|
Ok I will go ahead and make a separate PR for |
No description provided.