Hongqing-work
Hongqing-work
*Issue #2166, #1852 , if available:* *Description of changes:* Fix some bug for the draft PR and apply it on more models to avoid using `validated`. By submitting this pull...
*Issue #1852, if available:* *Description of changes:* Add encode for `pydantic` dataclass. Later we can use `dataclass` to replace `validated`. By submitting this pull request, I confirm that you can...
*Issue #, if available:* *Description of changes:* Add schema with fieldtypes: NumpyArrayField, PandasPeriodField. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution,...
Issue #1000: Proposal: Dataset NG Description of changes: Add get_schema method for DeepAR model. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this...
*Issue #, if available:* *Description of changes:* Using `PandasDataset` to handle with dataset repositories. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this...
### PR Category CINN ### PR Types Not User Facing ### Description Pcard-67164 This PR reconstructs the shape_analysis class to address the interface invocation risks brought by the lazy update...
### PR Category CINN ### PR Types Improvements ### Description Pcard-67164 This PR supports PirCompiler to build broadcast tree. To learn more about the theoretical explanation of lowering broadcast tree...
### PR Category CINN ### PR Types Improvements ### Description Pcard-67164 This PR adds InferSymbolicShape for some TensorArray ops.
### PR Category CINN ### PR Types New features ### Description Pcard-67164 This PR adds inference config for input shape constraint.
# 一、任务背景与列表 深度学习编译器是一种专门为深度学习模型优化和部署而设计的工具,其功能是将高层次的深度学习模型转换为低层次的、高效的、底层硬件可执行的代码。飞桨3.0推出了与框架一体化的CINN编译器,能同时支持训练和推理过程,并且具备处理动态可变形状输入的能力。目前,CINN的编译器主要被分为两个阶段:前端与后端。前端主要在PIR层面做一些图层的优化,经过lowering之后上层表示会转化为更贴近硬件实现的后端AST IR表示,后端会在AST IR的基础上进行一系列的分析与变换,最终产生更高效的硬件实现。对IR的分析与变换在编译器中被抽象为了Pass。然而CINN后端IR在设计初期未划分层次结构,难于进行分析与变换,且Pass的编写形式也缺少规范化。 近期,我们升级了后端IR表示,使用了更清晰的层次结构,并提供了方便的访问形式与易用的Pass机制。有了这些核心基础组件,后端的已有的一些转换函数也需要伴随这次升级进行相应的改造。 > [!IMPORTANT] >【注】完成此任务需先了解改造pass的功能,打卡添加注释的任务,见 [【开源任务】CINN编译器后端Pass注释添加](https://github.com/PaddlePaddle/Paddle/issues/70113) ⭐️ **提交PR 模版** ⭐️: + **// ------- PR 标题 --------** ```python [CINN][Backend Pass Update No.xxx] Update IfFusion pass ``` +...