Skip to content

Commit

Permalink
Update README.md for nexfort pixart (#939)
Browse files Browse the repository at this point in the history
  • Loading branch information
lixiang007666 authored Jun 7, 2024
1 parent 7c461b8 commit 1883402
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/onediff/infer_compiler/backends/nexfort/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,7 @@ We also support `torch 2.4.0` (nightly version) and the stable versions of `torc

### Run pixart alpha (with nexfort backend)

```
# model_id_or_path_to_PixArt-XL-2-1024-MS: /data/hf_models/PixArt-XL-2-1024-MS/
python3 ./benchmarks/text_to_image.py --model model_id_or_path_to_PixArt-XL-2-1024-MS --scheduler none --steps 20 --compiler nexfort --output-image ./pixart_alpha_nex.png
```
Performance on NVIDIA A100-PCIE-40GB:
- Warmup time: 771.418s
- Inference time: 2.045s
- Iterations per second: 10.743
- Max used CUDA memory: 13.855GiB
Details at: https://github.com/siliconflow/onediff/tree/main/onediff_diffusers_extensions/examples/pixart_alpha

### Compilation cache speeds up recompilation

Expand Down

0 comments on commit 1883402

Please sign in to comment.