[SOT] Avoid breakgraph when setitem and iterate paddle defined layerlist #71039
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Category
Execute Infrastructure
PR Types
Performance
Description
消除最近模型上发现的一些新打断问题,包括
RangeVariable
and setitem and add compilation count stats #70851 引入flatten_inner_vars
挂掉,[SOT][3.13] split certainLOAD_ATTR
in 3.13+ & replaceget_items
andflatten_items
withflatten_inner_vars
,while replacing special cases with inheritance & remove method_name attribute in MethodVariable #70927 引入RNNBase
),则应该直接 call layer,否则可能会因为这部分手写代码而发生打断以及一些优化
将有点问题,可能和 [Dy2St]Fix recurrent op eager deletion pass error in dy2st #47105 相关,后面看看paddle.nn.RNN
从not_supported_paddle_layer
移除,这只是曾经因为 PIR 不支持控制流的临时策略PCard-66972