Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LetterLiGo/SafeGen_CCS2024
/ functions
Functions
7,383 in github.com/LetterLiGo/SafeGen_CCS2024
⨍
Functions
7,383
◇
Types & classes
1,211
↳
Endpoints
4
Method
test_stable_diffusion_v1_4_bfloat_16
(self)
tests/pipelines/test_pipelines_flax.py:116
Method
test_stable_diffusion_v1_4_bfloat_16_ddim
(self)
tests/pipelines/test_pipelines_flax.py:174
Method
test_stable_diffusion_v1_4_bfloat_16_with_safety
(self)
tests/pipelines/test_pipelines_flax.py:145
Method
test_stable_diffusion_v1_4_with_freeu
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion.py:699
Method
test_stable_diffusion_v_pred_ddim
(self)
tests/pipelines/stable_diffusion_2/test_stable_diffusion_v_pred.py:105
Method
test_stable_diffusion_v_pred_default
(self)
tests/pipelines/stable_diffusion_2/test_stable_diffusion_v_pred.py:263
Method
test_stable_diffusion_v_pred_dpm
TODO: update this test after making DPM compatible with V-prediction!
tests/pipelines/stable_diffusion_2/test_stable_diffusion_v_pred.py:321
Method
test_stable_diffusion_v_pred_euler
(self)
tests/pipelines/stable_diffusion_2/test_stable_diffusion_v_pred.py:301
Method
test_stable_diffusion_v_pred_fp16
Test that stable diffusion v-prediction works with fp16
tests/pipelines/stable_diffusion_2/test_stable_diffusion_v_pred.py:212
Method
test_stable_diffusion_v_pred_k_euler
(self)
tests/pipelines/stable_diffusion_2/test_stable_diffusion_v_pred.py:161
Method
test_stable_diffusion_v_pred_upcast_attention
(self)
tests/pipelines/stable_diffusion_2/test_stable_diffusion_v_pred.py:281
Method
test_stable_diffusion_vae_slicing
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion.py:475
Method
test_stable_diffusion_vae_slicing
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion.py:797
Method
test_stable_diffusion_vae_tiling
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion.py:498
Method
test_stable_diffusion_vae_tiling
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion.py:830
Method
test_stable_diffusion_xformers_attn_processors
(self)
tests/lora/test_lora_layers_old_backend.py:299
Method
test_stable_diffusion_xl_controlnet_img2img
(self)
tests/pipelines/controlnet/test_controlnet_sdxl_img2img.py:166
Method
test_stable_diffusion_xl_controlnet_img2img_guess
(self)
tests/pipelines/controlnet/test_controlnet_sdxl_img2img.py:184
Method
test_stable_diffusion_xl_euler
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:153
Method
test_stable_diffusion_xl_euler_lcm
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:169
Method
test_stable_diffusion_xl_euler_lcm_custom_timesteps
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:186
Method
test_stable_diffusion_xl_img2img_euler
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:195
Method
test_stable_diffusion_xl_img2img_euler
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:547
Method
test_stable_diffusion_xl_img2img_euler_lcm
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:212
Method
test_stable_diffusion_xl_img2img_euler_lcm_custom_timesteps
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:230
Method
test_stable_diffusion_xl_img2img_negative_conditions
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:414
Method
test_stable_diffusion_xl_img2img_negative_conditions
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:594
Method
test_stable_diffusion_xl_img2img_negative_conditions
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:660
Method
test_stable_diffusion_xl_img2img_negative_prompt_embeds
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:260
Method
test_stable_diffusion_xl_img2img_negative_prompt_embeds
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:622
Method
test_stable_diffusion_xl_img2img_prompt_embeds_only
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:664
Method
test_stable_diffusion_xl_img2img_prompt_embeds_only
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:321
Method
test_stable_diffusion_xl_img2img_tiny_autoencoder
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:302
Method
test_stable_diffusion_xl_inpaint_2_images
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:719
Method
test_stable_diffusion_xl_inpaint_euler
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:232
Method
test_stable_diffusion_xl_inpaint_euler_lcm
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:249
Method
test_stable_diffusion_xl_inpaint_euler_lcm_custom_timesteps
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:267
Method
test_stable_diffusion_xl_inpaint_mask_latents
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:687
Method
test_stable_diffusion_xl_inpaint_negative_prompt_embeds
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:297
Method
test_stable_diffusion_xl_multi_prompts
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:349
Method
test_stable_diffusion_xl_multi_prompts
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:601
Method
test_stable_diffusion_xl_multi_prompts
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:845
Method
test_stable_diffusion_xl_multi_prompts
(self)
tests/pipelines/controlnet/test_controlnet_inpaint_sdxl.py:224
Method
test_stable_diffusion_xl_multi_prompts
(self)
tests/pipelines/controlnet/test_controlnet_sdxl.py:224
Method
test_stable_diffusion_xl_multi_prompts
(self)
tests/pipelines/controlnet/test_controlnet_sdxl_img2img.py:254
Method
test_stable_diffusion_xl_negative_conditions
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:898
Method
test_stable_diffusion_xl_negative_prompt_embeds
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:243
Method
test_stable_diffusion_xl_offloads
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:320
Method
test_stable_diffusion_xl_offloads
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:565
Method
test_stable_diffusion_xl_offloads
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:338
Method
test_stable_diffusion_xl_offloads
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:293
Method
test_stable_diffusion_xl_offloads
(self)
tests/pipelines/controlnet/test_controlnet_inpaint_sdxl.py:196
Method
test_stable_diffusion_xl_offloads
(self)
tests/pipelines/controlnet/test_controlnet_sdxl.py:196
Method
test_stable_diffusion_xl_offloads
(self)
tests/pipelines/controlnet/test_controlnet_sdxl_img2img.py:226
Method
test_stable_diffusion_xl_prompt_embeds
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:205
Method
test_stable_diffusion_xl_prompt_embeds
(self)
tests/pipelines/controlnet/test_controlnet_sdxl.py:278
Method
test_stable_diffusion_xl_prompt_embeds
(self)
tests/pipelines/controlnet/test_controlnet_sdxl_img2img.py:308
Method
test_stable_diffusion_xl_refiner
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:366
Method
test_stable_diffusion_xl_save_from_pretrained
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:919
Method
test_stable_unclip
(self)
tests/pipelines/stable_unclip/test_stable_unclip.py:197
Method
test_stable_unclip_h_img2img
(self)
tests/pipelines/stable_unclip/test_stable_unclip_img2img.py:246
Method
test_stable_unclip_img2img_pipeline_with_sequential_cpu_offloading
(self)
tests/pipelines/stable_unclip/test_stable_unclip_img2img.py:274
Method
test_stable_unclip_l_img2img
(self)
tests/pipelines/stable_unclip/test_stable_unclip_img2img.py:218
Method
test_stable_unclip_pipeline_with_sequential_cpu_offloading
(self)
tests/pipelines/stable_unclip/test_stable_unclip.py:219
Method
test_step_shape
(self)
tests/schedulers/test_scheduler_pndm.py:113
Method
test_step_shape
(self)
tests/schedulers/test_scheduler_dpm_single.py:253
Method
test_step_shape
(self)
tests/schedulers/test_scheduler_unipc.py:111
Method
test_step_shape
(self)
tests/schedulers/test_schedulers.py:497
Method
test_step_shape
(self)
tests/schedulers/test_scheduler_deis.py:113
Method
test_step_shape
(self)
tests/schedulers/test_scheduler_score_sde_ve.py:168
Method
test_step_shape
(self)
tests/schedulers/test_scheduler_dpm_multi.py:119
Method
test_step_shape
(self)
tests/schedulers/test_scheduler_dpm_multi_inverse.py:112
Method
test_step_shape
(self)
tests/schedulers/test_scheduler_consistency_model.py:26
Method
test_step_shape
(self)
tests/schedulers/test_scheduler_flax.py:157
Method
test_step_shape
(self)
tests/schedulers/test_scheduler_flax.py:520
Method
test_step_shape
(self)
tests/schedulers/test_scheduler_flax.py:788
Method
test_step_shape
(self)
tests/schedulers/test_scheduler_ipndm.py:115
Method
test_step_shape
(self)
tests/schedulers/test_scheduler_lcm.py:137
Method
test_steps_offset
(self)
tests/schedulers/test_scheduler_pndm.py:150
Method
test_steps_offset
(self)
tests/schedulers/test_scheduler_ddim.py:46
Method
test_steps_offset
(self)
tests/schedulers/test_scheduler_ddim_parallel.py:60
Method
test_steps_offset
(self)
tests/schedulers/test_scheduler_flax.py:548
Method
test_steps_offset
(self)
tests/schedulers/test_scheduler_flax.py:826
Method
test_steps_offset
(self)
tests/schedulers/test_scheduler_ddim_inverse.py:46
Method
test_swish
(self)
tests/models/test_activations.py:10
Method
test_switch
(self)
tests/schedulers/test_scheduler_dpm_single.py:140
Method
test_switch
(self)
tests/schedulers/test_scheduler_unipc.py:141
Method
test_switch
(self)
tests/schedulers/test_scheduler_unipc.py:313
Method
test_switch
(self)
tests/schedulers/test_scheduler_deis.py:143
Method
test_switch
(self)
tests/schedulers/test_scheduler_dpm_multi.py:272
Method
test_switch
(self)
tests/schedulers/test_scheduler_dpm_multi_inverse.py:228
Method
test_tae_roundtrip
(self, enable_tiling)
tests/models/test_models_vae.py:530
Method
test_tae_tiling
(self, in_shape, out_shape)
tests/models/test_models_vae.py:507
Method
test_tensor_range
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint.py:1495
Method
test_text_encoder_lora_monkey_patch
(self)
tests/lora/test_lora_layers_old_backend.py:445
Method
test_text_encoder_lora_remove_monkey_patch
(self)
tests/lora/test_lora_layers_old_backend.py:484
Method
test_text_encoder_lora_scale
(self)
tests/lora/test_lora_layers_old_backend.py:518
Method
test_text_encoder_lora_state_dict_unchanged
(self)
tests/lora/test_lora_layers_old_backend.py:990
Method
test_text_inversion_download
(self)
tests/pipelines/test_pipelines.py:608
Method
test_text_inversion_multi_tokens
(self)
tests/pipelines/test_pipelines.py:795
← previous
next →
7,001–7,100 of 7,383, ranked by callers