Text-to-Image
Diffusers
Safetensors
English
YunaDiffusionPipeline
diffusion
anime
from-scratch
portfolio
custom-pipeline
Instructions to use meadbee/yshtola-from-scratch-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use meadbee/yshtola-from-scratch-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("meadbee/yshtola-from-scratch-diffusion", 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 Settings
- Draw Things
- DiffusionBee
Download export_report.json from meadbee/yshtola-from-scratch-diffusion: direct link, hf CLI and curl.
- Browser
- Download file 3.61 kB
-
https://huggingface.co/meadbee/yshtola-from-scratch-diffusion/resolve/main/export_report.json
- Command line
-
hf download hf://meadbee/yshtola-from-scratch-diffusion/export_report.json
-
curl -L -o export_report.json https://huggingface.co/meadbee/yshtola-from-scratch-diffusion/resolve/main/export_report.json
3.61 kB
| { | |
| "source_checkpoint": "D:\\Yshtola Diffusion\\checkpoints\\autosave_latest.pt", | |
| "global_step": 407914, | |
| "weights_exported": "ema", | |
| "diffusers_version": "0.39.0", | |
| "transformers_version": "5.13.1", | |
| "pytorch_version": "2.5.1+cu121", | |
| "pipeline_class": "YunaDiffusionPipeline", | |
| "unet_class": "UNet2DConditionModel", | |
| "unet_configuration": { | |
| "model_implementation": "diffusers.UNet2DConditionModel", | |
| "diffusers_version": "0.39.0", | |
| "sample_size": 64, | |
| "in_channels": 4, | |
| "out_channels": 4, | |
| "down_block_types": [ | |
| "CrossAttnDownBlock2D", | |
| "CrossAttnDownBlock2D", | |
| "CrossAttnDownBlock2D", | |
| "DownBlock2D" | |
| ], | |
| "up_block_types": [ | |
| "UpBlock2D", | |
| "CrossAttnUpBlock2D", | |
| "CrossAttnUpBlock2D", | |
| "CrossAttnUpBlock2D" | |
| ], | |
| "mid_block_type": "UNetMidBlock2DCrossAttn", | |
| "block_out_channels": [ | |
| 256, | |
| 512, | |
| 1024, | |
| 1024 | |
| ], | |
| "layers_per_block": 3, | |
| "cross_attention_dim": 768, | |
| "attention_head_dim": 8, | |
| "norm_num_groups": 32, | |
| "norm_eps": 1e-05, | |
| "transformer_layers_per_block": 1, | |
| "use_linear_projection": false, | |
| "resnet_time_scale_shift": "default", | |
| "attention_configuration": { | |
| "requested_levels": [ | |
| 0, | |
| 1, | |
| 2 | |
| ], | |
| "num_heads": 8 | |
| } | |
| }, | |
| "tokenizer_source": "openai/clip-vit-large-patch14", | |
| "text_encoder_source": "openai/clip-vit-large-patch14", | |
| "text_encoder_class": "CLIPTextModel", | |
| "tokenizer_class": "CLIPTokenizerFast", | |
| "text_hidden_state": "last_hidden_state", | |
| "attention_masks_used": true, | |
| "prompt_normalization": "project normalize_caption: underscores become spaces except emoticons", | |
| "vae_source": "hakurei/waifu-diffusion/vae", | |
| "vae_class": "AutoencoderKL", | |
| "vae_scaling_factor": 0.18215, | |
| "vae_scale_factor": 8, | |
| "latent_convention": "training latents multiplied by scaling_factor; decode divides by it", | |
| "scheduler_class": "DDIMScheduler", | |
| "scheduler_config": { | |
| "num_train_timesteps": 1000, | |
| "beta_start": 0.00085, | |
| "beta_end": 0.012, | |
| "beta_schedule": "scaled_linear", | |
| "trained_betas": null, | |
| "clip_sample": true, | |
| "set_alpha_to_one": true, | |
| "steps_offset": 0, | |
| "prediction_type": "epsilon", | |
| "thresholding": false, | |
| "dynamic_thresholding_ratio": 0.995, | |
| "clip_sample_range": 1.0, | |
| "sample_max_value": 1.0, | |
| "timestep_spacing": "leading", | |
| "rescale_betas_zero_snr": false, | |
| "_use_default_values": [ | |
| "timestep_spacing", | |
| "set_alpha_to_one", | |
| "clip_sample", | |
| "dynamic_thresholding_ratio", | |
| "rescale_betas_zero_snr", | |
| "trained_betas", | |
| "steps_offset", | |
| "thresholding", | |
| "clip_sample_range", | |
| "sample_max_value" | |
| ] | |
| }, | |
| "prediction_type": "epsilon", | |
| "training_resolution": 512, | |
| "latent_resolution": 64, | |
| "cross_attention_dimension": 768, | |
| "maximum_token_length": 77, | |
| "stock_stable_diffusion_pipeline_exact": false, | |
| "compatibility_limitations": [ | |
| "The project normalizes prompt underscores before CLIP encoding; stock StableDiffusionPipeline does not.", | |
| "Use the included custom pipeline and custom_pipeline load argument for exact project behavior.", | |
| "The exported artifact is not claimed to be a standard Stable Diffusion 1.5 checkpoint." | |
| ], | |
| "handled_by_custom_pipeline": [ | |
| "prompt normalization", | |
| "project CFG sampling order and DDIM configuration", | |
| "project latent scaling and output conversion" | |
| ], | |
| "requires_training_change": [] | |
| } | |