Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

过滤框架组件内部的 API 检查 #82

Open
feifei-111 opened this issue Jun 20, 2023 · 0 comments
Open

过滤框架组件内部的 API 检查 #82

feifei-111 opened this issue Jun 20, 2023 · 0 comments

Comments

@feifei-111
Copy link
Collaborator

feifei-111 commented Jun 20, 2023

一、 问题描述📚

PaDiff 能够进行 API 级别的对齐检查,其原理是将框架内的组网 API 包装成一个模型,然后给这个模型设置 hook,这使得所有 API 调用必定会进入 hook 逻辑,对于框架提供的模型组件而言(非用户自定义)也是如此。

二、 任务目标🚀

修改 PaDiff 的 hook 逻辑,检查当前 API 的触发位置,若该 API 触发于 paddle/torch 框架提供的模型组件下,则略过此 API 的信息记录。

三、TIPS

熟悉 report 模块下的内容,结合 PaDiff 工具维护的栈结构进行判断

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant