We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PaDiff 能够进行 API 级别的对齐检查,其原理是将框架内的组网 API 包装成一个模型,然后给这个模型设置 hook,这使得所有 API 调用必定会进入 hook 逻辑,对于框架提供的模型组件而言(非用户自定义)也是如此。
修改 PaDiff 的 hook 逻辑,检查当前 API 的触发位置,若该 API 触发于 paddle/torch 框架提供的模型组件下,则略过此 API 的信息记录。
熟悉 report 模块下的内容,结合 PaDiff 工具维护的栈结构进行判断
The text was updated successfully, but these errors were encountered:
No branches or pull requests
一、 问题描述📚
PaDiff 能够进行 API 级别的对齐检查,其原理是将框架内的组网 API 包装成一个模型,然后给这个模型设置 hook,这使得所有 API 调用必定会进入 hook 逻辑,对于框架提供的模型组件而言(非用户自定义)也是如此。
二、 任务目标🚀
修改 PaDiff 的 hook 逻辑,检查当前 API 的触发位置,若该 API 触发于 paddle/torch 框架提供的模型组件下,则略过此 API 的信息记录。
三、TIPS
熟悉 report 模块下的内容,结合 PaDiff 工具维护的栈结构进行判断
The text was updated successfully, but these errors were encountered: