Downloads · 30 days
7
2% of all-time downloads
javadtaghia/deewaiREALCN
deewaiREALCN is a text-to-image model from javadtaghia. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as creativeml-openrail-m.
Photorealistic Stable Diffusion XL checkpoint released by the community as “WAI REALCN”. The model keeps the standard SDXL architecture (two CLIP text encoders, latent UNet, and VAE) and was shared on Civitai.
Downloads · 30 days
7
2% of all-time downloads
All-time downloads
320
Public
Parameters
2.6B
77.8 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors27.8 GB · 100%
From the Hugging Face model README
Photorealistic Stable Diffusion XL checkpoint released by the community as “WAI REALCN”. The model keeps the standard SDXL architecture (two CLIP text encoders, latent UNet, and VAE) and was shared on Civitai.
CLIPTextModel + CLIPTextModelWithProjection), UNet with cross-attention, and an AutoencoderKL VAE (scaling factor 0.13025).diffusers also work.StableDiffusionXLPipeline) with FP16 weights expected at load time for GPU inference.import torch
from diffusers import StableDiffusionXLPipeline
pipe = StableDiffusionXLPipeline.from_pretrained(
"YOUR_USERNAME_HERE/deewaiREALCN",
torch_dtype=torch.float16,
).to("cuda")
prompt = "a candid street portrait of a young adult, soft daylight, shallow depth of field, high detail"
negative_prompt = "blurry, low quality, extra fingers, distorted face"
image = pipe(
prompt=prompt,
negative_prompt=negative_prompt,
num_inference_steps=30,
guidance_scale=7.5,
).images[0]
image.save("sample.png")
model_index.json: Declares StableDiffusionXLPipeline with dual tokenizers/encoders (standard SDXL design).tokenizer/ & tokenizer_2/: Separate CLIP tokenizers matching the two text encoders; keep both to preserve padding/special-token behavior.text_encoder/: 12-layer CLIP text encoder (768 hidden size, quick GELU).text_encoder_2/: 32-layer CLIP text encoder with projection (1280 hidden size, GELU).unet/: Latent UNet with cross-attention (sample_size: 128 → 1024px images).vae/: AutoencoderKL with scaling_factor: 0.13025 for latents.scheduler/: Default Euler scheduler settings.It’s a text-to-image diffusion pipeline with the usual components:
This structure is typical of SDXL-like pipelines (two CLIP text encoders, big UNet, VAE, Euler scheduler).
You have:
Net: prompts are encoded twice (often “pooled” + “per-token” info), giving richer conditioning.
Key fields:
Also:
Rough total params:
Implication: this is a very heavy pipeline. In fp16/bf16 the raw weights alone are multiple GB, and runtime activations add a lot more. You typically need:
torch_dtype warningDiffusers changed API naming: instead of passing torch_dtype=... you should pass dtype=... in whatever wrapper is printing that warning.
If you tell me which model/repo this is (or the pipeline class you’re using), I can translate these facts into practical settings (recommended dtype, VRAM-saving flags, and expected output resolution and speed).