Downloads · 30 days
27
14% of all-time downloads
abrahamn/sd-3.5-small
sd-3.5-small is a text-to-image model from abrahamn. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as apache-2.0.
⚠️ Disclaimer: This is not an official model. It is intended for research and experimental purposes only. This is also cloned from https://huggingface.co/kpsss34/Stable-Diffusion-3.5-Small-Preview1/tree/main
Downloads · 30 days
27
14% of all-time downloads
All-time downloads
187
Public
Parameters
2.5B
13.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors13.6 GB · 100%
From the Hugging Face model README
⚠️ Disclaimer: This is not an official model. It is intended for research and experimental purposes only. This is also cloned from https://huggingface.co/kpsss34/Stable-Diffusion-3.5-Small-Preview1/tree/main


Stability AI Community License, not MIT/Apache/GPL. It's a proprietary license with revenue-based restrictions.
Dear All,
I’ve built on top of the SD3.5 model to improve both performance and efficiency. The original base model included several parts that used more resources than necessary. Some of the bias issues also came from DIT, the main image generation backbone.
I’ve made a few key changes — most notably, cutting down the size of TE3 (T5-XXL) by over 99%. It was using way too much power for what it did. I still kept the core features that matter, and while the prompt interpretation might be a little less powerful, it’s not by much, thanks to model projection and distillation tricks.
Personally, I think this version gives great skin tones. But keep in mind it was trained on a small starter dataset with relatively few steps, just enough to find a decent balance.
If you'd like to support future versions or want me to make something similar, feel free to suggest or support me here: 👉 https://buymeacoffee.com/kpsss34
Thanks, and enjoy using it!

Prompt
Resolution : 768*768
Step : 40
1.dowload pipeline my github : https://github.com/kpsss34/ComfyUI-kpsss34.git
pipeline : pipeline_stable_diffusion_3_S.py
inference_file : inference.py
2.Keep pipeline files and inference files in the same folder.
3.python inference.py
import torch
import time
from pipeline_stable_diffusion_3_S import StableDiffusion3SPipeline
seed = 43
generator = torch.manual_seed(seed)
pipe = StableDiffusion3SPipeline.from_pretrained(
"kpsss34/Stable-Diffusion-3.5-Small-Preview1",
torch_dtype=torch.bfloat16,
use_safetensors=True,
).to("cuda")
filename = f"./img_{seed}_{int(time.time())}.png"
image = pipe(
prompt="",
negative_prompt="bad hands, bad finger, worst quality, low quality, jpeg artifacts, cartoon, painting, doll, ugly, disfigured, deformed, mutated, extra limbs, extra fingers, missing fingers, long neck, bad anatomy, bad proportions, unrealistic face, cloned face, blurred, watermark, text",
num_inference_steps=40,
guidance_scale=5.0,
width=768,
height=768,
generator=generator,
).images[0]
image.save(filename)
print(f"Saved as {filename} (seed: {seed})")