From 510df129d3c1ad9b71ae80b9b4903313ca8bc373 Mon Sep 17 00:00:00 2001 From: cse0001 Date: Tue, 16 Jul 2024 21:30:05 +0800 Subject: [PATCH 1/4] init --- .../Hackathon_7th/ospp_xieyifan/2024.07.16~2024.07.26.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 WeeklyReports/Hackathon_7th/ospp_xieyifan/2024.07.16~2024.07.26.md diff --git a/WeeklyReports/Hackathon_7th/ospp_xieyifan/2024.07.16~2024.07.26.md b/WeeklyReports/Hackathon_7th/ospp_xieyifan/2024.07.16~2024.07.26.md new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/WeeklyReports/Hackathon_7th/ospp_xieyifan/2024.07.16~2024.07.26.md @@ -0,0 +1 @@ + From ecba80871a082f0081edabd9a1946b45c9c382bf Mon Sep 17 00:00:00 2001 From: cse0001 Date: Sun, 28 Jul 2024 04:49:57 +0800 Subject: [PATCH 2/4] cse0001 add 2024.07.15~2024.07.28 WeeklyReport --- .../[WeeklyReports]2024.07.15~2024.07.28.md | 36 +++++++++++++++++++ .../ospp_xieyifan/2024.07.16~2024.07.26.md | 1 - 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 WeeklyReports/Hackathon_7th/ospp_cse0001/[WeeklyReports]2024.07.15~2024.07.28.md delete mode 100644 WeeklyReports/Hackathon_7th/ospp_xieyifan/2024.07.16~2024.07.26.md diff --git a/WeeklyReports/Hackathon_7th/ospp_cse0001/[WeeklyReports]2024.07.15~2024.07.28.md b/WeeklyReports/Hackathon_7th/ospp_cse0001/[WeeklyReports]2024.07.15~2024.07.28.md new file mode 100644 index 00000000..c5078440 --- /dev/null +++ b/WeeklyReports/Hackathon_7th/ospp_cse0001/[WeeklyReports]2024.07.15~2024.07.28.md @@ -0,0 +1,36 @@ +### 姓名 + +谢一帆 + +### 实习项目 + +飞桨PaddlePaddle-PIR适配VisualDL模型可视化 + +### 本周工作 + +1. **配置开发环境,熟悉Paddle和VisualDL** + + - 本地源码编译安装Paddle和VisualDL的develop分支 + +2. **熟悉VisualDL进行计算图可视化的设计** + - 阅读visualdl#Model()类存储计算图的设计逻辑 + - 阅读visualdl#analyse_model()函数从**.pdmodel*文件获取计算图数据的逻辑 + - 阅读visualdl#analyse_pir()函数从PIR表示的模型获取计算图数据的逻辑 +3. **熟悉PIR进行计算图存储的设计** + - 阅读pir#program.cc, operation.cc, block.cc, region.cc等文件,熟悉PIR进行模型存储的设计 + + - 阅读fluid#pir.cc中和获取Program数据有关接口API + +4. **完成Visual现有PIR计算图可视化方法适配Paddle3.0版本** + - 修改visualdl#analyse_pir()等函数,并成功可视化原有测试demo#pir_translate.py +5. **尝试可视化具有分支结构模型** + - 实现了具有if分支结构的简单模型并进行可视化 + +### 下周工作 + +1. **继续尝试可视化具有分支结构模型,探索如何利用PIR新特性进行可视化** + + - 从Paddle的分支结构算子ifop和whileop的测试文件中获取静态组网的简单模型,验证现有visualdl对于分支结构可视化的支持能力,探索优化方法 + + +### 导师点评 diff --git a/WeeklyReports/Hackathon_7th/ospp_xieyifan/2024.07.16~2024.07.26.md b/WeeklyReports/Hackathon_7th/ospp_xieyifan/2024.07.16~2024.07.26.md deleted file mode 100644 index 8b137891..00000000 --- a/WeeklyReports/Hackathon_7th/ospp_xieyifan/2024.07.16~2024.07.26.md +++ /dev/null @@ -1 +0,0 @@ - From abbe998200f952f0e3c393755d740bf894cfb254 Mon Sep 17 00:00:00 2001 From: cse0001 Date: Sun, 28 Jul 2024 04:59:51 +0800 Subject: [PATCH 3/4] cse0001 add 2024.07.15~2024.07.28 WeeklyReport --- .../ospp_cse0001/[WeeklyReports]2024.07.15~2024.07.28.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/WeeklyReports/Hackathon_7th/ospp_cse0001/[WeeklyReports]2024.07.15~2024.07.28.md b/WeeklyReports/Hackathon_7th/ospp_cse0001/[WeeklyReports]2024.07.15~2024.07.28.md index c5078440..32f710a0 100644 --- a/WeeklyReports/Hackathon_7th/ospp_cse0001/[WeeklyReports]2024.07.15~2024.07.28.md +++ b/WeeklyReports/Hackathon_7th/ospp_cse0001/[WeeklyReports]2024.07.15~2024.07.28.md @@ -9,18 +9,14 @@ ### 本周工作 1. **配置开发环境,熟悉Paddle和VisualDL** - - 本地源码编译安装Paddle和VisualDL的develop分支 - 2. **熟悉VisualDL进行计算图可视化的设计** - 阅读visualdl#Model()类存储计算图的设计逻辑 - 阅读visualdl#analyse_model()函数从**.pdmodel*文件获取计算图数据的逻辑 - 阅读visualdl#analyse_pir()函数从PIR表示的模型获取计算图数据的逻辑 3. **熟悉PIR进行计算图存储的设计** - 阅读pir#program.cc, operation.cc, block.cc, region.cc等文件,熟悉PIR进行模型存储的设计 - - 阅读fluid#pir.cc中和获取Program数据有关接口API - 4. **完成Visual现有PIR计算图可视化方法适配Paddle3.0版本** - 修改visualdl#analyse_pir()等函数,并成功可视化原有测试demo#pir_translate.py 5. **尝试可视化具有分支结构模型** @@ -28,9 +24,7 @@ ### 下周工作 -1. **继续尝试可视化具有分支结构模型,探索如何利用PIR新特性进行可视化** - +1. **继续尝试可视化具有分支结构的模型,探索如何利用PIR新特性进行可视化** - 从Paddle的分支结构算子ifop和whileop的测试文件中获取静态组网的简单模型,验证现有visualdl对于分支结构可视化的支持能力,探索优化方法 - ### 导师点评 From b8372359f8016e7afe44f29a5b578e987ed6cb7e Mon Sep 17 00:00:00 2001 From: csexyf <59339190+cse0001@users.noreply.github.com> Date: Sun, 28 Jul 2024 19:39:31 +0800 Subject: [PATCH 4/4] add teacher comment --- .../ospp_cse0001/[WeeklyReports]2024.07.15~2024.07.28.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WeeklyReports/Hackathon_7th/ospp_cse0001/[WeeklyReports]2024.07.15~2024.07.28.md b/WeeklyReports/Hackathon_7th/ospp_cse0001/[WeeklyReports]2024.07.15~2024.07.28.md index 32f710a0..ac61be09 100644 --- a/WeeklyReports/Hackathon_7th/ospp_cse0001/[WeeklyReports]2024.07.15~2024.07.28.md +++ b/WeeklyReports/Hackathon_7th/ospp_cse0001/[WeeklyReports]2024.07.15~2024.07.28.md @@ -28,3 +28,5 @@ - 从Paddle的分支结构算子ifop和whileop的测试文件中获取静态组网的简单模型,验证现有visualdl对于分支结构可视化的支持能力,探索优化方法 ### 导师点评 + +按计划进度完成任务