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
|
@@ -1,3 +1,58 @@
|
|
| 1 |
---
|
| 2 |
license: creativeml-openrail-m
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 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
|
| 18 |
+
|
| 19 |
+
ONNX export of [emilianJR/epiCRealism](https://huggingface.co/emilianJR/epiCRealism) with the [ByteDance/Hyper-SD](https://huggingface.co/ByteDance/Hyper-SD) 4-step LoRA fused into the UNet. SD 1.5 architecture, 512×512 native, Euler scheduler, CFG = 1, **4 steps**.
|
| 20 |
+
|
| 21 |
+
epiCRealism leans heavily toward photorealistic environments and natural lighting. Pick this one over Realistic Vision when the subject is "a place" rather than "a person."
|
| 22 |
+
|
| 23 |
+
Converted artifact, not a new model. Training credit: emilianJR (epiCRealism), ByteDance (Hyper-SD).
|
| 24 |
+
|
| 25 |
+
## What this repo contains
|
| 26 |
+
|
| 27 |
+
```
|
| 28 |
+
model_index.json
|
| 29 |
+
feature_extractor/
|
| 30 |
+
scheduler/
|
| 31 |
+
text_encoder/
|
| 32 |
+
tokenizer/
|
| 33 |
+
unet/ # epiCRealism UNet + Hyper-SD-15 4-step LoRA fused in
|
| 34 |
+
vae_decoder/
|
| 35 |
+
vae_encoder/
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
## How it was produced
|
| 39 |
+
|
| 40 |
+
1. Load `emilianJR/epiCRealism` via `diffusers`.
|
| 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/[YOUR_GH_ORG]/DatumIngest/blob/main/scripts/export-epicrealism-hyper.ps1).
|
| 45 |
+
|
| 46 |
+
## Inference notes
|
| 47 |
+
|
| 48 |
+
| Setting | Value |
|
| 49 |
+
|---|---|
|
| 50 |
+
| Scheduler | Euler |
|
| 51 |
+
| Steps | 4 |
|
| 52 |
+
| CFG / guidance scale | 1.0 |
|
| 53 |
+
| Negative prompt | Skip |
|
| 54 |
+
| Resolution | 512×512 native |
|
| 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.
|