Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -41,6 +41,15 @@ img.save("output.png")
|
|
| 41 |
|
| 42 |
## Benchmarks (1024x1024, 8 steps, M4 Pro 64GB)
|
| 43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
| Component | Time |
|
| 45 |
|-----------|------|
|
| 46 |
| Text encode (PyTorch) | 0.1s |
|
|
|
|
| 41 |
|
| 42 |
## Benchmarks (1024x1024, 8 steps, M4 Pro 64GB)
|
| 43 |
|
| 44 |
+
### MLX vs PyTorch/MPS
|
| 45 |
+
|
| 46 |
+
| Pipeline | Total | Per Step |
|
| 47 |
+
|----------|-------|----------|
|
| 48 |
+
| PyTorch/MPS (diffusers) | 137.0s | 17.1s/step |
|
| 49 |
+
| **MLX (this repo)** | **134.2s** | **16.0s/step** |
|
| 50 |
+
|
| 51 |
+
### Breakdown
|
| 52 |
+
|
| 53 |
| Component | Time |
|
| 54 |
|-----------|------|
|
| 55 |
| Text encode (PyTorch) | 0.1s |
|