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

Add SVD compile node #409

Merged
merged 4 commits into from
Dec 8, 2023
Merged

Add SVD compile node #409

merged 4 commits into from
Dec 8, 2023

Conversation

lixiang007666
Copy link
Contributor

This PR is done:

  • 初步添加 SVD compile 节点。

目前没有做优化的效果(End to end,在 A800 上):

Size Pipeline Only SVD compiled
1024 X 576 38.61 s (1.55 s/it) 26.05s (1.01 s/it)

提升 32.53%。

image

@lixiang007666 lixiang007666 requested review from ccssu and strint December 8, 2023 08:50
@strint
Copy link
Collaborator

strint commented Dec 8, 2023

记录下如下数据:
1、iter 速度;
2、e2e 时间;
3、峰值显存开销;
4、编译时间,第一次;
5、修改分辨率后,第一次编译;

@strint
Copy link
Collaborator

strint commented Dec 8, 2023

补一下 save 和 load node

@lixiang007666
Copy link
Contributor Author

lixiang007666 commented Dec 8, 2023

记录下如下数据: 1、iter 速度; 2、e2e 时间; 3、峰值显存开销; 4、编译时间,第一次; 5、修改分辨率后,第一次编译;

Size: 1024 X 576, 20 steps, A800 Pipeline Only SVD compiled
Performance 38.61 s (0.64 it/s) 26.05s (1.00 it/s)
Memory 45747MiB 53997MiB
Compile time - 217.45 s
Compile time after modifying shape - 167.90 s

端到端速度提升 32.53%。

@lixiang007666
Copy link
Contributor Author

补一下 save 和 load node

测试了一下,可以和 unet graph 的 save、load 兼容。

@lixiang007666 lixiang007666 merged commit 7f95b63 into main Dec 8, 2023
4 checks passed
@lixiang007666 lixiang007666 deleted the Add_SVD_compile_node branch December 8, 2023 13:08
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

Successfully merging this pull request may close these issues.

2 participants