Views
No views yet
stable-diffusion.cpp
GGUF engine (TokForge's IP-Adapter port) on CPU and Adreno OpenCL. SD1.5 is
light enough for any 8 GB+ phone — the broadest-reach identity tier (lighter than the
SDXL PhotoMaker tier).| File | Size | License | Contents |
|---|---|---|---|
sd15-base-f16.gguf | ~2.2 GB | CreativeML-OpenRAIL-M | DreamShaper-7 (SD1.5 realistic finetune) — CLIP text encoder + UNet + VAE in one f16 GGUF |
ip-adapter-plus-face_sd15.safetensors | ~98 MB | Apache-2.0 | IP-Adapter plus-face (h94/IP-Adapter) — 16-token Resampler + decoupled cross-attn |
ip_adapter_clip_vision_vith.safetensors | ~2.5 GB | MIT | OpenCLIP ViT-H-14 image encoder (the plus-face path needs ViT-H, not bigG) |
manifest.json and MD5SUMS carry the integrity hashes + render defaults.q4_0/emaonly base measurably weakens the transferred identity, so this bundle
deliberately uses f16.ip-adapter_sd15 projects the whole pooled CLIP embedding (4 tokens) → it
drags the reference's entire scene through (a car selfie came out "the person in his car").
The plus-face Resampler extracts the face only (16 tokens from the ViT-H penultimate
hidden state) → identity is preserved while the prompt controls the scene. The TokForge
sd.cpp IP-Adapter loader auto-detects plus-face by the presence of image_proj.latents.1sd -M img_gen \
2 -m sd15-base-f16.gguf \
3 -p "as a superhero flying over New York" \
4 -n "<strong negative>" \
5 --clip_vision ip_adapter_clip_vision_vith.safetensors \
6 --ip-adapter ip-adapter-plus-face_sd15.safetensors \
7 --ip-adapter-image <your_face.jpg> \
8 --ip-adapter-scale 0.6 \
9 --cfg-scale 7.0 --sampling-method euler_a --scheduler discrete \
10 --steps 30 -H 512 -W 512| Setting | Value |
|---|---|
| sampler | euler_a |
| scheduler | discrete |
| steps | 30 (full quality; fewer = faster) |
| cfg-scale | 7.0 |
| ip-adapter-scale | 0.6 (≈0.5–0.6 keeps the scene with recognizable identity; ~0.8 reconstructs the reference) |
| resolution | 512×512 (SD1.5 native) |
sd15-base-f16.gguf) — CreativeML-OpenRAIL-M (Lykon/dreamshaper-7). Use must comply with the OpenRAIL-M use-based restrictions.ip-adapter-plus-face_sd15.safetensors) — Apache-2.0 (h94/IP-Adapter).ip_adapter_clip_vision_vith.safetensors) — MIT (OpenCLIP / LAION ViT-H-14).The non-commercial IP-Adapter-FaceID / InsightFace path is NOT used here — only the Apache-2.0 base + plus-face adapters fromh94/IP-Adapter.
Lykon/dreamshaper-7 (diffusers) to a single f16 GGUF via the TokForge
stable-diffusion.cpp convert path (-M convert --type f16).h94/IP-Adapter (models/ip-adapter-plus-face_sd15.safetensors,
models/image_encoder/model.safetensors).