darkmaniac7 commited on
Commit
07422a1
·
verified ·
1 Parent(s): a21ae95

Upload folder using huggingface_hub

Browse files
Files changed (5) hide show
  1. .gitattributes +1 -0
  2. MD5SUMS +1 -0
  3. README.md +72 -0
  4. manifest.json +18 -0
  5. realvisxl-v40-lightning-q8_0.gguf +3 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ realvisxl-v40-lightning-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
MD5SUMS ADDED
@@ -0,0 +1 @@
 
 
1
+ 256e99db69c85401874cacd134ae25c3 realvisxl-v40-lightning-q8_0.gguf
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: openrail++
3
+ tags:
4
+ - text-to-image
5
+ - stable-diffusion-xl
6
+ - sdxl
7
+ - realvisxl
8
+ - lightning
9
+ - gguf
10
+ - stable-diffusion-cpp
11
+ - tokforge
12
+ base_model:
13
+ - SG161222/RealVisXL_V4.0_Lightning
14
+ pipeline_tag: text-to-image
15
+ ---
16
+
17
+ # TokForge — RealVisXL V4.0 Lightning GGUF (SDXL Quality)
18
+
19
+ A single self-contained **GGUF** for [`stable-diffusion.cpp`](https://github.com/leejet/stable-diffusion.cpp),
20
+ packaging **[RealVisXL V4.0 Lightning](https://huggingface.co/SG161222/RealVisXL_V4.0_Lightning)**
21
+ (SDXL, photoreal, few-step Lightning). The **UNet is q8_0**, the **VAE is kept at f16**, both
22
+ CLIP text encoders included — everything in one file.
23
+
24
+ This is the **GPU "Quality" image tier** for the [TokForge](https://tokforge.ai) Android app:
25
+ native **1024px photoreal** SDXL on **certified high-memory Qualcomm/Adreno** devices via the
26
+ OpenCL F16-GEMM route. It is **not** a CPU default — SDXL is too heavy for phone CPU — it is the
27
+ opt-in photoreal step-up above the DreamShaper fast route.
28
+
29
+ ## Files
30
+
31
+ | File | Size | Precision | Contents |
32
+ |------|------|-----------|----------|
33
+ | `realvisxl-v40-lightning-q8_0.gguf` | ~4.2 GB | q8_0 UNet / f16 VAE | CLIP-L + OpenCLIP-bigG + Lightning UNet + SDXL VAE |
34
+
35
+ ## Recommended render settings (SDXL Lightning, few-step)
36
+
37
+ ```
38
+ sampler: dpm++2m
39
+ scheduler: discrete
40
+ steps: 6 (4 = fast floor, 8 = extra refinement)
41
+ cfg-scale: 1.5
42
+ resolution: 1024x1024 (SDXL native)
43
+ backend: OpenCL on high-memory Adreno (GPU); SDXL CPU is not a supported tier
44
+ ```
45
+
46
+ ### stable-diffusion.cpp CLI example
47
+
48
+ ```bash
49
+ sd -M img_gen \
50
+ -m realvisxl-v40-lightning-q8_0.gguf \
51
+ -p "close-up portrait, natural skin texture, 85mm, RAW photo, photorealistic" \
52
+ --sampling-method dpm++2m --steps 6 --cfg-scale 1.5 \
53
+ -W 1024 -H 1024 -o out.png
54
+ ```
55
+
56
+ ## Provenance & how this was built
57
+
58
+ 1. Loaded `SG161222/RealVisXL_V4.0_Lightning` (SDXL diffusers, fp16). Lightning is a baked
59
+ few-step distilled checkpoint (no LoRA to fuse).
60
+ 2. Exported to a single original-format SDXL `.safetensors`.
61
+ 3. Converted to GGUF with `stable-diffusion.cpp` (`-M convert --type q8_0`,
62
+ keeping the VAE at f16 via `--tensor-type-rules '^first_stage_model\.=f16'`).
63
+
64
+ ## License & attribution
65
+
66
+ - **License:** **openrail++** (inherited from RealVisXL V4.0 Lightning / SDXL).
67
+ - **Base model:** RealVisXL V4.0 Lightning by **SG161222** —
68
+ https://huggingface.co/SG161222/RealVisXL_V4.0_Lightning
69
+ - Built on top of Stable Diffusion XL (Stability AI).
70
+
71
+ The original openrail++ terms and attribution requirements propagate to this GGUF and any
72
+ images generated with it.
manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "TokForge-RealVisXL-Lightning-GGUF",
3
+ "family": "realvisxl_gguf",
4
+ "engine": "stable-diffusion.cpp",
5
+ "base_model": "SG161222/RealVisXL_V4.0_Lightning",
6
+ "format": "gguf",
7
+ "precision": "q8_0 (UNet) / f16 (VAE)",
8
+ "native_resolution": 1024,
9
+ "default_steps": 6,
10
+ "sampler": "dpm++2m",
11
+ "scheduler": "discrete",
12
+ "cfg_scale": 1.5,
13
+ "license": "openrail++",
14
+ "tier": "gpu-opencl-adreno-quality",
15
+ "files": [
16
+ {"name": "realvisxl-v40-lightning-q8_0.gguf", "size": 4180204992, "md5": "256e99db69c85401874cacd134ae25c3"}
17
+ ]
18
+ }
realvisxl-v40-lightning-q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f091de257edf60bf96933dc7dea907bb709ed12d82aec718e9ed55979592767c
3
+ size 4180204992