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

赛题八:paddleviz能力扩展——Tensor信息展示 Tracking Issue #56479

Closed
4 tasks done
qiuwenbogdut opened this issue Aug 20, 2023 · 0 comments
Closed
4 tasks done
Assignees
Labels
HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 status/close 已关闭

Comments

@qiuwenbogdut
Copy link
Contributor

qiuwenbogdut commented Aug 20, 2023

问题描述 Please describe your issue

赛题简介:

飞桨深度学习框架提供了动态图编程的模式来开发深度学习模型(方便开发与调试),但动态图的反向图调试能力仍存在不足。@qiuwenbogdut 和 @Tomoko-hjf 两位社区开发者为Paddle开发了反向图可视化工具 paddleviz,很大程度上提升了反向图的调试能力。但我们还希望,在现有 paddleviz 基础上,扩展 paddleviz 的能力,进一步提升反向图的调试能力。

中国软件开源创新大赛:飞桨框架任务挑战赛(下)

赛题要求:

深入学习Paddle动态图机制,掌握动态图反向图的基础数据结构之间的关系
学习了解 paddleviz 的原理
探索如何在 paddleviz 基础上,扩展反向图边(Tensor)的调试信息,包括不限于Tensor name、shape、dtype、place、stop_gradient 等。
探索以上数据可以通过框架的哪些数据结构中获得,何时、如何获得
探索如何将这些数据在 paddleviz 中展示

任务进展
rfc提交 : PaddlePaddle/community#600

工作拆分

在现有 paddleviz 基础上,扩展 paddleviz 的能力,进一步提升反向图的调试能力,主要的实现步骤有如下:

@qiuwenbogdut

@Tomoko-hjf

  • python端实现对这些打印结果进行捕获, 从这些打印结果中进行解析, 获取到不同反向节点之间的连接的边(tensor)的信息
  • 将边(tensor)的信息集成到原有的反向图中去,以丰富图中的信息.
    paddleviz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 status/close 已关闭
Projects
Development

No branches or pull requests

5 participants