Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YesianRohn/TextSSR
/ functions
Functions
13,352 in github.com/YesianRohn/TextSSR
⨍
Functions
13,352
◇
Types & classes
1,980
↳
Endpoints
6
Method
progress_bar
(self, iterable=None, total=None)
diffusers/src/diffusers/pipelines/kandinsky/pipeline_kandinsky_combined.py:425
Method
progress_bar
(self, iterable=None, total=None)
diffusers/src/diffusers/pipelines/kandinsky/pipeline_kandinsky_combined.py:666
Function
pt_to_pil
Convert a torch image to a PIL image.
diffusers/src/diffusers/utils/pil_utils.py:27
Function
pytest_addoption
(parser)
diffusers/tests/conftest.py:33
Function
pytest_addoption
(parser)
diffusers/examples/conftest.py:34
Function
pytest_terminal_summary
(terminalreporter)
diffusers/tests/conftest.py:39
Function
pytest_terminal_summary
(terminalreporter)
diffusers/examples/conftest.py:40
Method
random_variance
()
diffusers/src/diffusers/schedulers/scheduling_ddpm_flax.py:270
Function
rearrange_0
(tensor, f)
diffusers/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:49
Function
rearrange_0
(tensor, f)
diffusers/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:27
Function
rearrange_1
(tensor)
diffusers/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero_sdxl.py:56
Function
rearrange_1
(tensor)
diffusers/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:33
Function
reassign_adaln_norm_inplace
(key: str, state_dict: Dict[str, Any])
diffusers/scripts/convert_cogvideox_to_diffusers.py:38
Function
reassign_query_key_layernorm_inplace
(key: str, state_dict: Dict[str, Any])
diffusers/scripts/convert_cogvideox_to_diffusers.py:27
Function
reassign_query_key_value_inplace
(key: str, state_dict: Dict[str, Any])
diffusers/scripts/convert_cogvideox_to_diffusers.py:16
Method
recursive_check
(tuple_object, dict_object)
diffusers/tests/schedulers/test_scheduler_edm_euler.py:146
Method
recursive_check
(tuple_object, dict_object)
diffusers/tests/schedulers/test_schedulers.py:601
Method
recursive_check
(tuple_object, dict_object)
diffusers/tests/schedulers/test_scheduler_flax.py:185
Method
recursive_check
(tuple_object, dict_object)
diffusers/tests/schedulers/test_scheduler_flax.py:473
Method
recursive_check
(tuple_object, dict_object)
diffusers/tests/schedulers/test_scheduler_flax.py:685
Method
recursive_check
(tuple_object, dict_object)
diffusers/tests/schedulers/test_scheduler_lcm.py:165
Method
recursive_check
(tuple_object, dict_object)
diffusers/tests/models/test_modeling_common.py:728
Method
recursive_find_attn_block
(name, module)
diffusers/src/diffusers/models/modeling_utils.py:1061
Method
register_modules
(self, **kwargs)
diffusers/src/diffusers/pipelines/pipeline_flax_utils.py:118
Method
register_norm_forward
(norm_layer: Union[nn.GroupNorm, nn.LayerNorm])
diffusers/examples/community/pipeline_sdxl_style_aligned.py:1216
Method
register_subcommand
(parser: ArgumentParser)
diffusers/src/diffusers/commands/fp16_safetensors.py:46
Method
register_subcommand
(parser: ArgumentParser)
diffusers/src/diffusers/commands/__init__.py:22
Function
register_to_config
r""" Decorator to apply on the init of classes inheriting from [`ConfigMixin`] so that all the arguments are automatically sent to `self.regis
diffusers/src/diffusers/configuration_utils.py:608
Method
remap_key
(key, state_dict)
diffusers/src/diffusers/loaders/utils.py:41
Method
remap_key
(key, sd)
diffusers/tests/lora/test_lora_layers_sdxl.py:386
Function
remove_handler
removes given handler from the HuggingFace Diffusers' root logger.
diffusers/src/diffusers/utils/logging.py:213
Function
remove_keys_inplace
(key: str, state_dict: Dict[str, Any])
diffusers/scripts/convert_cogvideox_to_diffusers.py:54
Method
remove_unused_weights
(self)
diffusers/src/diffusers/pipelines/deprecated/versatile_diffusion/pipeline_versatile_diffusion_dual_guided.py:106
Method
remove_unused_weights
(self)
diffusers/src/diffusers/pipelines/deprecated/versatile_diffusion/pipeline_versatile_diffusion_text_to_image.py:104
Method
renderer_dim
(self)
diffusers/tests/pipelines/shap_e/test_shap_e.py:58
Method
renderer_dim
(self)
diffusers/tests/pipelines/shap_e/test_shap_e_img2img.py:66
Method
replace_cross_attention
(self, attn_base, att_replace)
diffusers/examples/community/pipeline_prompt2prompt.py:1110
Method
replace_cross_attention
(self, attn_base, att_replace)
diffusers/examples/community/pipeline_prompt2prompt.py:1166
Function
replace_example_docstring
(example_docstring)
diffusers/src/diffusers/utils/doc_utils.py:21
Function
replace_up_keys_inplace
(key: str, state_dict: Dict[str, Any])
diffusers/scripts/convert_cogvideox_to_diffusers.py:58
Function
require_accelerate_version_greater
(accelerate_version)
diffusers/src/diffusers/utils/testing_utils.py:409
Function
require_compel
Decorator marking a test that requires compel: https://github.com/damian0815/compel. These tests are skipped when the library is not installe
diffusers/src/diffusers/utils/testing_utils.py:330
Function
require_flax
Decorator marking a test that requires JAX & Flax. These tests are skipped when one / both are not installed
diffusers/src/diffusers/utils/testing_utils.py:323
Function
require_note_seq
Decorator marking a test that requires note_seq. These tests are skipped when note_seq isn't installed.
diffusers/src/diffusers/utils/testing_utils.py:345
Function
require_onnxruntime
Decorator marking a test that requires onnxruntime. These tests are skipped when onnxruntime isn't installed.
diffusers/src/diffusers/utils/testing_utils.py:338
Function
require_peft_backend
Decorator marking a test that requires PEFT backend, this would require some specific versions of PEFT and transformers.
diffusers/src/diffusers/utils/testing_utils.py:359
Function
require_peft_version_greater
Decorator marking a test that requires PEFT backend with a specific version, this would require some specific versions of PEFT and transforme
diffusers/src/diffusers/utils/testing_utils.py:374
Function
require_timm
Decorator marking a test that requires timm. These tests are skipped when timm isn't installed.
diffusers/src/diffusers/utils/testing_utils.py:367
Function
require_torch
Decorator marking a test that requires PyTorch. These tests are skipped when PyTorch isn't installed.
diffusers/src/diffusers/utils/testing_utils.py:239
Function
require_torch_2
Decorator marking a test that requires PyTorch 2. These tests are skipped when it isn't installed.
diffusers/src/diffusers/utils/testing_utils.py:246
Function
require_torch_accelerator
Decorator marking a test that requires an accelerator backend and PyTorch.
diffusers/src/diffusers/utils/testing_utils.py:275
Function
require_torch_accelerator_with_fp16
Decorator marking a test that requires an accelerator with support for the FP16 data type.
diffusers/src/diffusers/utils/testing_utils.py:296
Function
require_torch_accelerator_with_fp64
Decorator marking a test that requires an accelerator with support for the FP64 data type.
diffusers/src/diffusers/utils/testing_utils.py:303
Function
require_torch_accelerator_with_training
Decorator marking a test that requires an accelerator with support for training.
diffusers/src/diffusers/utils/testing_utils.py:310
Function
require_torch_gpu
Decorator marking a test that requires CUDA and PyTorch.
diffusers/src/diffusers/utils/testing_utils.py:267
Function
require_torch_multi_gpu
Decorator marking a test that requires a multi-GPU setup (in PyTorch). These tests are skipped on a machine without multiple GPUs. To run *on
diffusers/src/diffusers/utils/testing_utils.py:282
Function
require_torch_version_greater_equal
Decorator marking a test that requires torch with a specific version or greater.
diffusers/src/diffusers/utils/testing_utils.py:255
Function
require_torchsde
Decorator marking a test that requires torchsde. These tests are skipped when torchsde isn't installed.
diffusers/src/diffusers/utils/testing_utils.py:352
Function
require_transformers_version_greater
Decorator marking a test that requires transformers with a specific version, this would require some specific versions of PEFT and transforme
diffusers/src/diffusers/utils/testing_utils.py:391
Function
rescale_noise_cfg
Rescale `noise_cfg` according to `guidance_rescale`. Based on findings of [Common Diffusion Noise Schedules and Sample Steps are Flawed](http
diffusers/examples/community/instaflow_one_step.py:41
Method
reset
(self)
diffusers/src/diffusers/pipelines/stable_diffusion_attend_and_excite/pipeline_stable_diffusion_attend_and_excite.py:117
Method
reset
(self)
diffusers/examples/community/pipeline_stable_diffusion_boxdiff.py:195
Method
reset
(self)
diffusers/examples/community/pipeline_stable_diffusion_boxdiff.py:239
Method
reset
(self)
diffusers/examples/community/pipeline_prompt2prompt.py:952
Method
reset
(self)
diffusers/examples/community/pipeline_prompt2prompt.py:1000
Function
reset_format
Resets the formatting for 🤗 Diffusers' loggers. All handlers currently bound to the root logger are affected by this method.
diffusers/src/diffusers/utils/logging.py:256
Method
reset_mode
r"""Removes a manually set mode; after calling this, the pipeline will infer the mode from inputs.
diffusers/src/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py:268
Method
resize_image
Creates a new camera for the resized view assuming the aspect ratio does not change.
diffusers/src/diffusers/pipelines/shap_e/camera.py:105
Method
retrieve_imgs
(self, embeddings: np.ndarray, k: int)
diffusers/examples/research_projects/rdm/retriever.py:177
Method
retrieve_imgs_batch
(self, embeddings: np.ndarray, k: int)
diffusers/examples/research_projects/rdm/retriever.py:180
Method
retrieve_indices
(self, embeddings: np.ndarray, k: int)
diffusers/examples/research_projects/rdm/retriever.py:183
Method
retrieve_indices_batch
(self, embeddings: np.ndarray, k: int)
diffusers/examples/research_projects/rdm/retriever.py:186
Method
retrieve_latents
(encoder_output)
diffusers/src/diffusers/pipelines/marigold/pipeline_marigold_depth.py:616
Method
retrieve_latents
(encoder_output)
diffusers/src/diffusers/pipelines/marigold/pipeline_marigold_normals.py:589
Method
retrieve_mask
(x)
diffusers/src/diffusers/pipelines/free_init_utils.py:93
Function
rule_func
(steps: int)
diffusers/src/diffusers/optimization.py:109
Method
run
(self)
diffusers/setup.py:191
Method
run
(self)
diffusers/src/diffusers/commands/fp16_safetensors.py:79
Method
run
(self)
diffusers/src/diffusers/commands/__init__.py:26
Method
run_inference
(self, args)
diffusers/benchmarks/base_classes.py:55
Method
run_inference
(self, pipe, args)
diffusers/benchmarks/base_classes.py:97
Method
run_inference
(self, pipe, args)
diffusers/benchmarks/base_classes.py:128
Method
run_inference
(self, pipe, args)
diffusers/benchmarks/base_classes.py:158
Method
run_inference
(self, pipe, args)
diffusers/benchmarks/base_classes.py:195
Method
run_inference
(self, pipe, args)
diffusers/benchmarks/base_classes.py:208
Method
run_inference
(self, pipe, args)
diffusers/benchmarks/base_classes.py:229
Method
run_inference
(self, pipe, args)
diffusers/benchmarks/base_classes.py:259
Method
run_inference
(self, pipe, args)
diffusers/benchmarks/base_classes.py:294
Method
run_safety_checker
(self, image, device, dtype)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_depth2img.py:368
Method
run_safety_checker
(self, image, device, dtype)
diffusers/examples/community/latent_consistency_interpolate.py:463
Method
run_safety_checker
(self, image, device, dtype)
diffusers/examples/community/pipeline_zero1to3.py:442
Method
safety_concept
r""" Getter method for the safety concept used with SLD Returns: `str`: The text describing the safety concept
diffusers/src/diffusers/pipelines/stable_diffusion_safe/pipeline_stable_diffusion_safe.py:156
Method
sample
Args: t0: start time has shape [batch_size, *shape, 1] t1: finish time has shape [batch_size, *shape, 1]
diffusers/src/diffusers/pipelines/shap_e/renderer.py:433
Method
save_function
(weights, filename)
diffusers/src/diffusers/loaders/unet.py:484
Method
save_function
(weights, filename)
diffusers/src/diffusers/loaders/lora_base.py:737
Method
save_load_local
(self)
diffusers/tests/pipelines/kandinsky2_2/test_kandinsky_combined.py:275
Method
save_lora_weights
r""" Save the LoRA parameters corresponding to the UNet and text encoder. Arguments: save_directory (`str` or `os.PathLik
diffusers/src/diffusers/loaders/lora_pipeline.py:449
Method
save_lora_weights
r""" Save the LoRA parameters corresponding to the UNet and text encoder. Arguments: save_directory (`str` or `os.PathLik
diffusers/src/diffusers/loaders/lora_pipeline.py:973
Method
save_lora_weights
r""" Save the LoRA parameters corresponding to the UNet and text encoder. Arguments: save_directory (`str` or `os.PathLik
diffusers/src/diffusers/loaders/lora_pipeline.py:1516
Method
save_lora_weights
r""" Save the LoRA parameters corresponding to the UNet and text encoder. Arguments: save_directory (`str` or `os.PathLik
diffusers/src/diffusers/loaders/lora_pipeline.py:2091
← previous
next →
10,001–10,100 of 13,352, ranked by callers