Skip to content

Commit

Permalink
[WeeklyReport] javey_q 2024.10.28~2024.11.08 (#420)
Browse files Browse the repository at this point in the history
Co-authored-by: xuzhang <[email protected]>
  • Loading branch information
javey-q and westfish authored Dec 5, 2024
1 parent 67188ce commit e5e3b9d
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
### 姓名

仇嘉伟

### 实习项目

PaddleMiX 套件能力建设

### 本周工作

##### 1. ppdiffusers 支持 StableDiffusion3 Controlnet, 完成推理流程初步搭建

- controlnet_sd3模型实现, 结构参照transformer_sd3;
- transformer_sd3 模型修改,添加controlnet residual;
- stable_diffusion_3_controlnet pipeline实现;
- stable_diffusion_3_controlnet_inpainting pipeline实现.

相关PR:https://github.com/PaddlePaddle/PaddleMIX/pull/789

##### 2. StableDiffusion3 Controlnet 完善

- 增加推理:ppdiffusers/examples/inference/text_to_image_generation-stable_diffusion_3_controlnet.py;
- 增加Dummy Classes:ppdiffusers/ppdiffusers/utils/dummy_paddle_and_paddlenlp_objects.py;

- 调研 StableDiffusion3.5 。

##### 3. 实习收获

本周主要学到了一些torch2paddle 转换时一些要注意的点

- 算子名称差异, 如 cat -> concat, to->cast
- 算子参数名称差异, 如 axis->dim
- 类名称差异: 如Modoulelist -> LayerList
- 数据类型差异: paddle中只有paddle.Tensor
- 其他: paddle 没有 device

### 下周工作

1. 对 StableDiffusion3 Controlnet 进行精度验证;
2. 增加单测。

### 导师点评
工作进展清晰且高效,学习态度良好。

0 comments on commit e5e3b9d

Please sign in to comment.