Instructions to use Heliosoph/epicrealism-hyper-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Heliosoph/epicrealism-hyper-onnx with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Heliosoph/epicrealism-hyper-onnx", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,16 +2,14 @@
|
|
| 2 |
license: creativeml-openrail-m
|
| 3 |
library_name: diffusers
|
| 4 |
tags:
|
| 5 |
-
- stable-diffusion
|
| 6 |
-
- sd-1.5
|
| 7 |
-
- hyper-sd
|
| 8 |
-
- onnx
|
| 9 |
-
- text-to-image
|
| 10 |
-
- 4-step
|
| 11 |
base_model: emilianJR/epiCRealism
|
| 12 |
pipeline_tag: text-to-image
|
| 13 |
-
language:
|
| 14 |
-
- en
|
| 15 |
---
|
| 16 |
|
| 17 |
# epiCRealism + Hyper-SD (4-step) — ONNX
|
|
@@ -41,7 +39,7 @@ vae_encoder/
|
|
| 41 |
2. Load `ByteDance/Hyper-SD/Hyper-SD15-4steps-lora.safetensors` via `peft`, `fuse_lora()` into UNet.
|
| 42 |
3. Save fused pipeline; run `optimum-cli export onnx`.
|
| 43 |
|
| 44 |
-
Toolchain: `optimum 1.24.0`, `diffusers 0.31.0`, `transformers 4.45.2`, `torch 2.4.x` (CUDA 12.4). Conversion script: [`scripts/export-epicrealism-hyper.ps1`](https://github.com/
|
| 45 |
|
| 46 |
## Inference notes
|
| 47 |
|
|
@@ -55,4 +53,4 @@ Toolchain: `optimum 1.24.0`, `diffusers 0.31.0`, `transformers 4.45.2`, `torch 2
|
|
| 55 |
|
| 56 |
## License
|
| 57 |
|
| 58 |
-
CreativeML OpenRAIL-M, inherited from SD 1.5 + epiCRealism + Hyper-SD. License files included. By using this model you accept those terms.
|
|
|
|
| 2 |
license: creativeml-openrail-m
|
| 3 |
library_name: diffusers
|
| 4 |
tags:
|
| 5 |
+
- stable-diffusion
|
| 6 |
+
- sd-1.5
|
| 7 |
+
- hyper-sd
|
| 8 |
+
- onnx
|
| 9 |
+
- text-to-image
|
| 10 |
+
- 4-step
|
| 11 |
base_model: emilianJR/epiCRealism
|
| 12 |
pipeline_tag: text-to-image
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
# epiCRealism + Hyper-SD (4-step) — ONNX
|
|
|
|
| 39 |
2. Load `ByteDance/Hyper-SD/Hyper-SD15-4steps-lora.safetensors` via `peft`, `fuse_lora()` into UNet.
|
| 40 |
3. Save fused pipeline; run `optimum-cli export onnx`.
|
| 41 |
|
| 42 |
+
Toolchain: `optimum 1.24.0`, `diffusers 0.31.0`, `transformers 4.45.2`, `torch 2.4.x` (CUDA 12.4). Conversion script: [`scripts/export-epicrealism-hyper.ps1`](https://github.com/HeliosophLLC/DatumIngest/blob/main/scripts/export-epicrealism-hyper.ps1).
|
| 43 |
|
| 44 |
## Inference notes
|
| 45 |
|
|
|
|
| 53 |
|
| 54 |
## License
|
| 55 |
|
| 56 |
+
CreativeML OpenRAIL-M, inherited from SD 1.5 + epiCRealism + Hyper-SD. License files included. By using this model you accept those terms.
|