Update README.md
Browse files
README.md
CHANGED
|
@@ -16,19 +16,26 @@ copied to temp storage.
|
|
| 16 |
pip install gguf-diffusion
|
| 17 |
```
|
| 18 |
|
| 19 |
-
|
| 20 |
-
(on Windows: MSVC Build Tools). The engine source is resolved from a sibling
|
| 21 |
-
`../diffusion` checkout, a vendored `vendor/diffusion` copy (see
|
| 22 |
-
`scripts/vendor_engine.py`), or `GGUF_DIFFUSION_ENGINE_DIR`. GPU backends are
|
| 23 |
-
opt-in at build time via the engine's own options:
|
| 24 |
|
|
|
|
| 25 |
```bash
|
| 26 |
-
CMAKE_ARGS="-DSD_CUDA=ON"
|
| 27 |
-
|
| 28 |
-
CMAKE_ARGS="-DSD_METAL=ON" pip install gguf-diffusion # Apple (macOS)
|
| 29 |
-
CMAKE_ARGS="-DSD_VULKAN=ON" pip install gguf-diffusion # Vulkan
|
| 30 |
```
|
| 31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
## usage
|
| 33 |
|
| 34 |
```bash
|
|
|
|
| 16 |
pip install gguf-diffusion
|
| 17 |
```
|
| 18 |
|
| 19 |
+
## build it from source code
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
+
CUDA (NVIDIA)
|
| 22 |
```bash
|
| 23 |
+
$env:CMAKE_ARGS="-DSD_CUDA=ON"
|
| 24 |
+
pip install gguf_diffusion-0.0.2.tar
|
|
|
|
|
|
|
| 25 |
```
|
| 26 |
|
| 27 |
+
ROCm/HIP (AMD)
|
| 28 |
+
```bash
|
| 29 |
+
$env:CMAKE_ARGS="-DSD_HIPBLAS=ON"
|
| 30 |
+
pip install gguf_diffusion-0.0.2.tar
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
macOS/Metal (Apple)
|
| 34 |
+
```bash
|
| 35 |
+
pip install gguf_diffusion-0.0.2.tar
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
|
| 39 |
## usage
|
| 40 |
|
| 41 |
```bash
|