Text-to-Image
Diffusers
Safetensors
English
StableDiffusionPipeline
stable-diffusion
di.ffusion.ai
art
base model
Run this model with HF Jobs
Run FFusion/FFusion-BaSE on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/FFusion/FFusion-BaSE. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/FFusion/FFusion-BaSE on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use FFusion/FFusion-BaSE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FFusion/FFusion-BaSE with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("FFusion/FFusion-BaSE", dtype=torch.bfloat16, device_map="cuda") prompt = "a sprinkled donut sitting on top of a table, blender donut tutorial, colorful hyperrealism, everything is made of candy, hyperrealistic digital painting, covered in sprinkles and crumbs, vibrant colors hyper realism, colorful smoke explosion background" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Adding `diffusers` weights of this model
#3
by idlebg - opened
Files changed (17)
- model_index.json+2-2
- scheduler/scheduler_config.json+7-2
- text_encoder/config.json+3-2
- text_encoder/model.fp16.safetensorsAdded+3
- text_encoder/model.safetensors+2-2
- text_encoder/pytorch_model.bin+2-2
- text_encoder/pytorch_model.fp16.binAdded+3
- tokenizer/tokenizer_config.json+1-2
- unet/config.json+26-3
- unet/diffusion_pytorch_model.bin+1-1
- unet/diffusion_pytorch_model.fp16.binAdded+3
- unet/diffusion_pytorch_model.fp16.safetensorsAdded+3
- vae/config.json+4-2
- vae/diffusion_pytorch_model.bin+2-2
- vae/diffusion_pytorch_model.fp16.binAdded+3
- vae/diffusion_pytorch_model.fp16.safetensorsAdded+3
- vae/diffusion_pytorch_model.safetensors+2-2
1234567891011{"_class_name": "StableDiffusionPipeline","_diffusers_version": "0.10.2","feature_extractor": [null,null],"requires_safety_checker": null,"safety_checker": [null,null1234567891011{"_class_name": "StableDiffusionPipeline","_diffusers_version": "0.19.0.dev0","feature_extractor": [null,null],"requires_safety_checker": false,"safety_checker": [null,null
1234567891011121314{"_class_name": "DDIMScheduler","_diffusers_version": "0.10.2","beta_end": 0.012,"beta_schedule": "scaled_linear","beta_start": 0.00085,"clip_sample": false,"num_train_timesteps": 1000,"prediction_type": "v_prediction","set_alpha_to_one": false,"skip_prk_steps": true,"steps_offset": 1,"trained_betas": null}12345678910111213141516171819{"_class_name": "DDIMScheduler","_diffusers_version": "0.19.0.dev0","beta_end": 0.012,"beta_schedule": "scaled_linear","beta_start": 0.00085,"clip_sample": false,"clip_sample_range": 1.0,"dynamic_thresholding_ratio": 0.995,"num_train_timesteps": 1000,"prediction_type": "v_prediction","rescale_betas_zero_snr": false,"sample_max_value": 1.0,"set_alpha_to_one": false,"steps_offset": 1,"thresholding": false,"timestep_spacing": "leading","trained_betas": null}
123413 unmodified lines18192021222324{"architectures": ["CLIPTextModel"],13 unmodified lines"num_hidden_layers": 23,"pad_token_id": 1,"projection_dim": 512,"torch_dtype": "float32","transformers_version": "4.26.0","vocab_size": 49408}1234513 unmodified lines19202122232425{"_name_or_path": "hf-models/stable-diffusion-v2-768x768/text_encoder","architectures": ["CLIPTextModel"],13 unmodified lines"num_hidden_layers": 23,"pad_token_id": 1,"projection_dim": 512,"torch_dtype": "float16","transformers_version": "4.31.0","vocab_size": 49408}
123version https://git-lfs.github.com/spec/v1oid sha256:b27abfac2a818730effdf31368547e447a228230e5c0fa0d6cd67dffe7edf4f3size 680820392123version https://git-lfs.github.com/spec/v1oid sha256:7e400fca9292630a9647d4a046b8f23b8d625cafdc077102313c83d3e6c21c64size 1361597016123version https://git-lfs.github.com/spec/v1oid sha256:c9c407c896a28b174b59eb4b65634b909fbb8f8183cc90927b88866ad9831771size 1168458360
123version https://git-lfs.github.com/spec/v1oid sha256:aeb0c8eec01e768ad0a8b2c2c3804297a05b750768628167469f38411bba29dasize 1361674657123version https://git-lfs.github.com/spec/v1oid sha256:a3c78800b3082d1bbbf1d0f6ecdf0f2a278da7207c34370c55142374b9a22a13size 1361655149
123version https://git-lfs.github.com/spec/v1oid sha256:4db18e4fced8981288f10a05cea6fd51691f1080a2b71534ada82cc93134e90esize 6808999477 unmodified lines89101112135 unmodified lines1920212223242526277 unmodified lines"rstrip": false,"single_word": false},"do_lower_case": true,"eos_token": {"__type": "AddedToken",5 unmodified lines},"errors": "replace","model_max_length": 77,"name_or_path": "stabilityai/stable-diffusion-2-1","pad_token": "<|endoftext|>","special_tokens_map_file": "./special_tokens_map.json","tokenizer_class": "CLIPTokenizer","unk_token": {"__type": "AddedToken",7 unmodified lines8910111213145 unmodified lines202122232425267 unmodified lines"rstrip": false,"single_word": false},"clean_up_tokenization_spaces": true,"do_lower_case": true,"eos_token": {"__type": "AddedToken",5 unmodified lines},"errors": "replace","model_max_length": 77,"pad_token": "<|endoftext|>","tokenizer_class": "CLIPTokenizer","unk_token": {"__type": "AddedToken",
12345677 unmodified lines151617181920212 unmodified lines2425262728293031323334353637383940414243444546{"_class_name": "UNet2DConditionModel","_diffusers_version": "0.10.2","act_fn": "silu","attention_head_dim": [5,10,7 unmodified lines1280],"center_input_sample": false,"cross_attention_dim": 1024,"down_block_types": ["CrossAttnDownBlock2D","CrossAttnDownBlock2D",2 unmodified lines],"downsample_padding": 1,"dual_cross_attention": false,"flip_sin_to_cos": true,"freq_shift": 0,"in_channels": 4,"layers_per_block": 2,"mid_block_scale_factor": 1,"norm_eps": 1e-05,"norm_num_groups": 32,"num_class_embeds": null,"only_cross_attention": false,"out_channels": 4,"sample_size": 64,"up_block_types": ["UpBlock2D","CrossAttnUpBlock2D","CrossAttnUpBlock2D","CrossAttnUpBlock2D"],"upcast_attention": false,"use_linear_projection": true}123456789107 unmodified lines1819202122232425262728292 unmodified lines3233343536373839404142434445464748495051525354555657585960616263646566676869{"_class_name": "UNet2DConditionModel","_diffusers_version": "0.19.0.dev0","act_fn": "silu","addition_embed_type": null,"addition_embed_type_num_heads": 64,"addition_time_embed_dim": null,"attention_head_dim": [5,10,7 unmodified lines1280],"center_input_sample": false,"class_embed_type": null,"class_embeddings_concat": false,"conv_in_kernel": 3,"conv_out_kernel": 3,"cross_attention_dim": 1024,"cross_attention_norm": null,"down_block_types": ["CrossAttnDownBlock2D","CrossAttnDownBlock2D",2 unmodified lines],"downsample_padding": 1,"dual_cross_attention": false,"encoder_hid_dim": null,"encoder_hid_dim_type": null,"flip_sin_to_cos": true,"freq_shift": 0,"in_channels": 4,"layers_per_block": 2,"mid_block_only_cross_attention": null,"mid_block_scale_factor": 1,"mid_block_type": "UNetMidBlock2DCrossAttn","norm_eps": 1e-05,"norm_num_groups": 32,"num_attention_heads": null,"num_class_embeds": null,"only_cross_attention": false,"out_channels": 4,"projection_class_embeddings_input_dim": null,"resnet_out_scale_factor": 1.0,"resnet_skip_time_act": false,"resnet_time_scale_shift": "default","sample_size": 96,"time_cond_proj_dim": null,"time_embedding_act_fn": null,"time_embedding_dim": null,"time_embedding_type": "positional","timestep_post_act": null,"transformer_layers_per_block": 1,"up_block_types": ["UpBlock2D","CrossAttnUpBlock2D","CrossAttnUpBlock2D","CrossAttnUpBlock2D"],"upcast_attention": null,"use_linear_projection": true}
123version https://git-lfs.github.com/spec/v1oid sha256:09b7edb76bebc5dbcf128424c54bae9793bcff43cee0e17cc35f0663e11e0adfsize 3463925093123version https://git-lfs.github.com/spec/v1oid sha256:509bb04d8940dba0f28c0200084936d26fa1885961367f45305a5eb386d9ac79size 3463925093
123version https://git-lfs.github.com/spec/v1oid sha256:a7e48d95bec4a63c348a09bb319ae7e9f64120e677c9023b04f9667516640c92size 1732107093123version https://git-lfs.github.com/spec/v1oid sha256:f58da91d7052213c5831efadffb1bbc8e1e9eebeccb0b8d3961f619f95dcdd31size 17319047361234567 unmodified lines141516171819202122232425{"_class_name": "AutoencoderKL","_diffusers_version": "0.10.2","act_fn": "silu","block_out_channels": [128,7 unmodified lines"DownEncoderBlock2D","DownEncoderBlock2D"],"in_channels": 3,"latent_channels": 4,"layers_per_block": 2,"norm_num_groups": 32,"out_channels": 3,"sample_size": 256,"up_block_types": ["UpDecoderBlock2D","UpDecoderBlock2D",1234567 unmodified lines1415161718192021222324252627{"_class_name": "AutoencoderKL","_diffusers_version": "0.19.0.dev0","act_fn": "silu","block_out_channels": [128,7 unmodified lines"DownEncoderBlock2D","DownEncoderBlock2D"],"force_upcast": true,"in_channels": 3,"latent_channels": 4,"layers_per_block": 2,"norm_num_groups": 32,"out_channels": 3,"sample_size": 768,"scaling_factor": 0.18215,"up_block_types": ["UpDecoderBlock2D","UpDecoderBlock2D",
123version https://git-lfs.github.com/spec/v1oid sha256:edd1d1807563c2d1c8c5ab84dfc2f455fcad0064727d264dd5172c569b5c45b2size 334711857123version https://git-lfs.github.com/spec/v1oid sha256:0eaa055d84ddad2df8593f4a3a2fdc58a905ecf2f17dee42e9bca32f70373b59size 334712113
123version https://git-lfs.github.com/spec/v1oid sha256:8d55c592ee39c6619b6c0232057b7979bbb8b8c91bcde23e4216c7d7a54b2768size 167405651123version https://git-lfs.github.com/spec/v1oid sha256:23b6885891b67baa7f872fe9d00c44acd1cfd72475d289d83d93031ea8b32115size 167335342123version https://git-lfs.github.com/spec/v1oid sha256:7f14834bedf1e853c99644d00c92404f185e2798de52337f8fb6bb5bddb48703size 334643276123version https://git-lfs.github.com/spec/v1oid sha256:f2b6e3f78759255c499bd0b1c3a4c3c9ecf4e489d09f7b21225906dabfb3ce3csize 334643268
model_index.json+2-2
scheduler/scheduler_config.json+7-2
text_encoder/config.json+3-2
text_encoder/model.fp16.safetensorsAdded+3
text_encoder/model.safetensors+2-2
text_encoder/pytorch_model.bin+2-2
text_encoder/pytorch_model.fp16.binAdded+3
tokenizer/tokenizer_config.json+1-2
unet/config.json+26-3
unet/diffusion_pytorch_model.bin+1-1
unet/diffusion_pytorch_model.fp16.binAdded+3
unet/diffusion_pytorch_model.fp16.safetensorsAdded+3
vae/config.json+4-2
vae/diffusion_pytorch_model.bin+2-2
vae/diffusion_pytorch_model.fp16.binAdded+3
vae/diffusion_pytorch_model.fp16.safetensorsAdded+3
vae/diffusion_pytorch_model.safetensors+2-2