Instructions to use ernestchu/scriptly-yours with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ernestchu/scriptly-yours with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ernestchu/scriptly-yours", 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
Files changed (16)
- cls_cnd_aug_printed/model_index.jsonAdded+12
- cls_cnd_aug_printed/scheduler/scheduler_config.jsonAdded+19
- cls_cnd_aug_printed/unet/config.jsonAdded+51
- cls_cnd_aug_printed/unet/diffusion_pytorch_model.safetensorsAdded+3
- cls_cnd_no_aug/model_index.jsonAdded+12
- cls_cnd_no_aug/scheduler/scheduler_config.jsonAdded+19
- cls_cnd_no_aug/unet/config.jsonAdded+51
- cls_cnd_no_aug/unet/diffusion_pytorch_model.safetensorsAdded+3
- uncnd_aug_printed/model_index.jsonAdded+12
- uncnd_aug_printed/scheduler/scheduler_config.jsonAdded+19
- uncnd_aug_printed/unet/config.jsonAdded+51
- uncnd_aug_printed/unet/diffusion_pytorch_model.safetensorsAdded+3
- uncnd_no_aug/model_index.jsonAdded+12
- uncnd_no_aug/scheduler/scheduler_config.jsonAdded+19
- uncnd_no_aug/unet/config.jsonAdded+51
- uncnd_no_aug/unet/diffusion_pytorch_model.safetensorsAdded+3
123456789101112{ "_class_name": "DDPMPipelineCustom", "_diffusers_version": "0.32.0.dev0", "scheduler": [ "scheduling_rectflow", "RectFlowScheduler" ], "unet": [ "diffusers", "UNet2DModel" ]}12345678910111213141516171819{ "_class_name": "RectFlowScheduler", "_diffusers_version": "0.32.0.dev0", "beta_end": 0.02, "beta_schedule": "linear", "beta_start": 0.0001, "clip_sample": true, "clip_sample_range": 1.0, "dynamic_thresholding_ratio": 0.995, "num_train_timesteps": 1000, "prediction_type": "epsilon", "rescale_betas_zero_snr": false, "sample_max_value": 1.0, "steps_offset": 0, "thresholding": false, "timestep_spacing": "leading", "trained_betas": null, "variance_type": "fixed_small"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "_class_name": "UNet2DModel", "_diffusers_version": "0.32.0.dev0", "act_fn": "silu", "add_attention": true, "attention_head_dim": 8, "attn_norm_num_groups": null, "block_out_channels": [ 128, 128, 256, 256, 512, 512 ], "center_input_sample": false, "class_embed_type": "timestep", "down_block_types": [ "DownBlock2D", "DownBlock2D", "DownBlock2D", "DownBlock2D", "AttnDownBlock2D", "DownBlock2D" ], "downsample_padding": 1, "downsample_type": "conv", "dropout": 0.0, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 3, "layers_per_block": 2, "mid_block_scale_factor": 1, "norm_eps": 1e-05, "norm_num_groups": 32, "num_class_embeds": null, "num_train_timesteps": null, "out_channels": 3, "resnet_time_scale_shift": "default", "sample_size": 32, "time_embedding_type": "positional", "up_block_types": [ "UpBlock2D", "AttnUpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D" ], "upsample_type": "conv"}123version https://git-lfs.github.com/spec/v1oid sha256:2ecbde40b4395ba66ee85d6c49890bcd6a8d8513cc416cab706aa7b817a2f451size 456056340123456789101112{ "_class_name": "DDPMPipelineCustom", "_diffusers_version": "0.32.0.dev0", "scheduler": [ "scheduling_rectflow", "RectFlowScheduler" ], "unet": [ "diffusers", "UNet2DModel" ]}12345678910111213141516171819{ "_class_name": "RectFlowScheduler", "_diffusers_version": "0.32.0.dev0", "beta_end": 0.02, "beta_schedule": "linear", "beta_start": 0.0001, "clip_sample": true, "clip_sample_range": 1.0, "dynamic_thresholding_ratio": 0.995, "num_train_timesteps": 1000, "prediction_type": "epsilon", "rescale_betas_zero_snr": false, "sample_max_value": 1.0, "steps_offset": 0, "thresholding": false, "timestep_spacing": "leading", "trained_betas": null, "variance_type": "fixed_small"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "_class_name": "UNet2DModel", "_diffusers_version": "0.32.0.dev0", "act_fn": "silu", "add_attention": true, "attention_head_dim": 8, "attn_norm_num_groups": null, "block_out_channels": [ 128, 128, 256, 256, 512, 512 ], "center_input_sample": false, "class_embed_type": "timestep", "down_block_types": [ "DownBlock2D", "DownBlock2D", "DownBlock2D", "DownBlock2D", "AttnDownBlock2D", "DownBlock2D" ], "downsample_padding": 1, "downsample_type": "conv", "dropout": 0.0, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 3, "layers_per_block": 2, "mid_block_scale_factor": 1, "norm_eps": 1e-05, "norm_num_groups": 32, "num_class_embeds": null, "num_train_timesteps": null, "out_channels": 3, "resnet_time_scale_shift": "default", "sample_size": 32, "time_embedding_type": "positional", "up_block_types": [ "UpBlock2D", "AttnUpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D" ], "upsample_type": "conv"}123version https://git-lfs.github.com/spec/v1oid sha256:edd134bf61e0b47c8c3aa29325c9202b2f6c914102057142fa19e724c8ae8db0size 456056340123456789101112{ "_class_name": "DDPMPipelineCustom", "_diffusers_version": "0.32.0.dev0", "scheduler": [ "scheduling_rectflow", "RectFlowScheduler" ], "unet": [ "diffusers", "UNet2DModel" ]}12345678910111213141516171819{ "_class_name": "RectFlowScheduler", "_diffusers_version": "0.32.0.dev0", "beta_end": 0.02, "beta_schedule": "linear", "beta_start": 0.0001, "clip_sample": true, "clip_sample_range": 1.0, "dynamic_thresholding_ratio": 0.995, "num_train_timesteps": 1000, "prediction_type": "epsilon", "rescale_betas_zero_snr": false, "sample_max_value": 1.0, "steps_offset": 0, "thresholding": false, "timestep_spacing": "leading", "trained_betas": null, "variance_type": "fixed_small"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "_class_name": "UNet2DModel", "_diffusers_version": "0.32.0.dev0", "act_fn": "silu", "add_attention": true, "attention_head_dim": 8, "attn_norm_num_groups": null, "block_out_channels": [ 128, 128, 256, 256, 512, 512 ], "center_input_sample": false, "class_embed_type": null, "down_block_types": [ "DownBlock2D", "DownBlock2D", "DownBlock2D", "DownBlock2D", "AttnDownBlock2D", "DownBlock2D" ], "downsample_padding": 1, "downsample_type": "conv", "dropout": 0.0, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 3, "layers_per_block": 2, "mid_block_scale_factor": 1, "norm_eps": 1e-05, "norm_num_groups": 32, "num_class_embeds": null, "num_train_timesteps": null, "out_channels": 3, "resnet_time_scale_shift": "default", "sample_size": 32, "time_embedding_type": "positional", "up_block_types": [ "UpBlock2D", "AttnUpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D" ], "upsample_type": "conv"}123version https://git-lfs.github.com/spec/v1oid sha256:32296f4956b487a6adcd2ead9726b81a975dd2aa9faa2aa2341b9f5c1602e495size 454741108123456789101112{ "_class_name": "DDPMPipelineCustom", "_diffusers_version": "0.32.0.dev0", "scheduler": [ "scheduling_rectflow", "RectFlowScheduler" ], "unet": [ "diffusers", "UNet2DModel" ]}12345678910111213141516171819{ "_class_name": "RectFlowScheduler", "_diffusers_version": "0.32.0.dev0", "beta_end": 0.02, "beta_schedule": "linear", "beta_start": 0.0001, "clip_sample": true, "clip_sample_range": 1.0, "dynamic_thresholding_ratio": 0.995, "num_train_timesteps": 1000, "prediction_type": "epsilon", "rescale_betas_zero_snr": false, "sample_max_value": 1.0, "steps_offset": 0, "thresholding": false, "timestep_spacing": "leading", "trained_betas": null, "variance_type": "fixed_small"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "_class_name": "UNet2DModel", "_diffusers_version": "0.32.0.dev0", "act_fn": "silu", "add_attention": true, "attention_head_dim": 8, "attn_norm_num_groups": null, "block_out_channels": [ 128, 128, 256, 256, 512, 512 ], "center_input_sample": false, "class_embed_type": null, "down_block_types": [ "DownBlock2D", "DownBlock2D", "DownBlock2D", "DownBlock2D", "AttnDownBlock2D", "DownBlock2D" ], "downsample_padding": 1, "downsample_type": "conv", "dropout": 0.0, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 3, "layers_per_block": 2, "mid_block_scale_factor": 1, "norm_eps": 1e-05, "norm_num_groups": 32, "num_class_embeds": null, "num_train_timesteps": null, "out_channels": 3, "resnet_time_scale_shift": "default", "sample_size": 32, "time_embedding_type": "positional", "up_block_types": [ "UpBlock2D", "AttnUpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D" ], "upsample_type": "conv"}123version https://git-lfs.github.com/spec/v1oid sha256:22fd44b0efcab5a29e84aad7afcf6553c11311a09ee0a63a8f12573b9da8ac65size 454741108cls_cnd_aug_printed/model_index.jsonAdded+12
cls_cnd_aug_printed/scheduler/scheduler_config.jsonAdded+19
cls_cnd_aug_printed/unet/config.jsonAdded+51
cls_cnd_aug_printed/unet/diffusion_pytorch_model.safetensorsAdded+3
cls_cnd_no_aug/model_index.jsonAdded+12
cls_cnd_no_aug/scheduler/scheduler_config.jsonAdded+19
cls_cnd_no_aug/unet/config.jsonAdded+51
cls_cnd_no_aug/unet/diffusion_pytorch_model.safetensorsAdded+3
uncnd_aug_printed/model_index.jsonAdded+12
uncnd_aug_printed/scheduler/scheduler_config.jsonAdded+19
uncnd_aug_printed/unet/config.jsonAdded+51
uncnd_aug_printed/unet/diffusion_pytorch_model.safetensorsAdded+3
uncnd_no_aug/model_index.jsonAdded+12
uncnd_no_aug/scheduler/scheduler_config.jsonAdded+19
uncnd_no_aug/unet/config.jsonAdded+51
uncnd_no_aug/unet/diffusion_pytorch_model.safetensorsAdded+3