-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support SVD dynamic shape[feat] (#564)
This PR is done: issue: siliconflow/sd-team#240 - [x] SVD acceleration supports dynamic resolution switching. - [x] Add example. Run: ``` export ONEFLOW_RUN_GRAPH_BY_VM="1" python3 examples/image_to_video.py --variant fp16 --output-video vm.mp4 --decode-chunk-size 4 --run_multiple_resolutions true ``` Output: ``` Loading pipeline components...: 100%|█████████████████████████████████████████████████████| 5/5 [00:00<00:00, 7.50it/s] warmup: 100%|███████████████████████████████████████████████████████████████████████████████████| 25/25 [02:29<00:00, 5.99s/it] infer: 100%|███████████████████████████████████████████████████████████████████████████████████| 25/25 [00:28<00:00, 1.15s/it] test dynamic resolution switch: 100%|███████████████████████████████████████████████████████████████████████████████████| 25/25 [00:28<00:00, 1.15s/it] ``` <img width="1024" alt="image" src="https://github.com/siliconflow/onediff/assets/54010254/7204f043-1611-43d5-83ba-ced69482f3be">
- Loading branch information
1 parent
ea736c8
commit 07184c5
Showing
3 changed files
with
882 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.