Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RTX 3090, fp16, steps=4, warmup=5: ## pytorch ```bash python diffusers/examples/text_to_image_LCM.py --model_id /share_nfs/hf_models/LCM_Dreamshaper_v7 --warmup 5 --disable ``` ```bash 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 6.43it/s] 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 14.94it/s] 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 14.82it/s] 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 14.88it/s] 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 14.90it/s] 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 14.83it/s] ``` ![image](https://github.com/Oneflow-Inc/diffusers/assets/3351623/02a8d8a2-bcc8-464b-b2ae-d466b3507ca8) ## onediff ```bash python diffusers/examples/text_to_image_LCM.py --model_id /share_nfs/hf_models/LCM_Dreamshaper_v7 --warmup 5 ``` ```bash 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:25<00:00, 6.35s/it] 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 28.51it/s] 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 28.72it/s] 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 28.35it/s] 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 28.60it/s] 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 28.50it/s] ``` ![image](https://github.com/Oneflow-Inc/diffusers/assets/3351623/c62d2a1e-de1c-410a-a18f-f700589a042d) ## conclusion Roughly an acceleration of 90%
- Loading branch information