Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheLastBen/fast-stable-diffusion
/ functions
Functions
289 in github.com/TheLastBen/fast-stable-diffusion
⨍
Functions
289
◇
Types & classes
17
↓ 246 callers
Method
replace
(self, obj, field, func)
Dreambooth/det.py:30
↓ 13 callers
Function
assign_to_checkpoint
This does the final conversion step: take locally converted weights and apply a global renaming to them. It splits attention layers, and takes in
Dreambooth/convertodiffv2.py:139
↓ 13 callers
Function
assign_to_checkpoint
This does the final conversion step: take locally converted weights and apply a global renaming to them. It splits attention layers, and takes in
Dreambooth/convertodiffv1.py:140
↓ 13 callers
Function
assign_to_checkpoint
This does the final conversion step: take locally converted weights and apply a global renaming to them. It splits attention layers, and takes
Dreambooth/convertosdv2.py:140
↓ 13 callers
Function
assign_to_checkpoint
This does the final conversion step: take locally converted weights and apply a global renaming to them. It splits attention layers, and takes in
Dreambooth/convertodiffv2-768.py:139
↓ 10 callers
Method
load
For reverse compatibility reasons, this is both a class method and an instance method, the two of which, confusingly, do two complete
Dreambooth/blocks.py:1066
↓ 6 callers
Function
renew_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
Dreambooth/convertodiffv2.py:50
↓ 6 callers
Function
renew_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
Dreambooth/convertodiffv1.py:51
↓ 6 callers
Function
renew_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
Dreambooth/convertosdv2.py:51
↓ 6 callers
Function
renew_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
Dreambooth/convertodiffv2-768.py:50
↓ 6 callers
Method
update
(**kwargs)
AUTOMATIC1111_files/blocks.py:319
↓ 5 callers
Method
add
(self, child: Block)
AUTOMATIC1111_files/blocks.py:353
↓ 5 callers
Function
shave_segments
Removes segments. Positive values shave the first segments, negative shave the last segments.
Dreambooth/convertodiffv2.py:40
↓ 5 callers
Function
shave_segments
Removes segments. Positive values shave the first segments, negative shave the last segments.
Dreambooth/convertodiffv1.py:41
↓ 5 callers
Function
shave_segments
Removes segments. Positive values shave the first segments, negative shave the last segments.
Dreambooth/convertosdv2.py:41
↓ 5 callers
Function
shave_segments
Removes segments. Positive values shave the first segments, negative shave the last segments.
Dreambooth/convertodiffv2-768.py:40
↓ 4 callers
Function
renew_vae_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
Dreambooth/convertodiffv2.py:72
↓ 4 callers
Function
renew_vae_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
Dreambooth/convertodiffv1.py:73
↓ 4 callers
Function
renew_vae_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
Dreambooth/convertosdv2.py:73
↓ 4 callers
Function
renew_vae_resnet_paths
Updates paths inside resnets to the new naming scheme (local renaming)
Dreambooth/convertodiffv2-768.py:72
↓ 4 callers
Function
update_sd
(prefix, sd)
Dreambooth/convertodiffv2.py:999
↓ 4 callers
Function
update_sd
(prefix, sd)
Dreambooth/convertodiffv1.py:999
↓ 4 callers
Function
update_sd
(prefix, sd)
Dreambooth/convertosdv2.py:975
↓ 4 callers
Function
update_sd
(prefix, sd)
Dreambooth/convertodiffv2-768.py:1000
↓ 3 callers
Function
centroid
(pois)
Dreambooth/smart_crop.py:151
↓ 3 callers
Method
get_config_file
(self)
Dreambooth/blocks.py:1007
↓ 3 callers
Method
get_config_file
(self)
AUTOMATIC1111_files/blocks.py:1468
↓ 3 callers
Function
http_user_agent
Formats a user-agent string with basic info about a request.
Dreambooth/hub.py:196
↓ 3 callers
Function
is_offline_mode
()
Dreambooth/hub.py:70
↓ 3 callers
Function
renew_attention_paths
Updates paths inside attentions to the new naming scheme (local renaming)
Dreambooth/convertodiffv2.py:88
↓ 3 callers
Function
renew_attention_paths
Updates paths inside attentions to the new naming scheme (local renaming)
Dreambooth/convertodiffv1.py:89
↓ 3 callers
Function
renew_attention_paths
Updates paths inside attentions to the new naming scheme (local renaming)
Dreambooth/convertosdv2.py:89
↓ 3 callers
Function
renew_attention_paths
Updates paths inside attentions to the new naming scheme (local renaming)
Dreambooth/convertodiffv2-768.py:88
↓ 3 callers
Method
set_event_trigger
Adds an event to the component's dependencies. Parameters: event_name: event name fn: Callable function
Dreambooth/blocks.py:136
↓ 3 callers
Method
set_event_trigger
Adds an event to the component's dependencies. Parameters: event_name: event name fn: Callable function
AUTOMATIC1111_files/blocks.py:173
↓ 3 callers
Function
try_to_load_from_cache
Explores the cache to return the latest cached file for a given revision if found. This function will not raise any exception if the file in
Dreambooth/hub.py:233
↓ 2 callers
Method
__init__
( self, *, render: bool = True, elem_id: str | None = None, visible: b
Dreambooth/blocks.py:70
↓ 2 callers
Method
__init__
( self, *, render: bool = True, elem_id: str | None = None, elem_class
AUTOMATIC1111_files/blocks.py:93
↓ 2 callers
Method
add
(self, child)
Dreambooth/blocks.py:289
↓ 2 callers
Method
add_child
(self, child: Block)
AUTOMATIC1111_files/blocks.py:345
↓ 2 callers
Function
apply_styles_to_prompt
(prompt, styles)
AUTOMATIC1111_files/styles.py:26
↓ 2 callers
Method
block_thread
Block main thread until interrupted by user.
Dreambooth/blocks.py:1550
↓ 2 callers
Method
block_thread
Block main thread until interrupted by user.
AUTOMATIC1111_files/blocks.py:2191
↓ 2 callers
Function
cached_file
Tries to locate a file in a local folder and repo, downloads and cache it if necessary. Args: path_or_repo_id (`str` or `os.PathLike
Dreambooth/hub.py:295
↓ 2 callers
Method
call_function
Calls and times function with given index and preprocessed input.
Dreambooth/blocks.py:801
↓ 2 callers
Method
call_function
Calls function with given index and preprocessed input, and measures process time. Parameters: fn_index: index of functio
AUTOMATIC1111_files/blocks.py:1061
↓ 2 callers
Function
clean_files_for
Remove, if they exist, file, file.json and file.lock
Dreambooth/hub.py:997
↓ 2 callers
Function
conv_attn_to_linear
(checkpoint)
Dreambooth/convertodiffv2.py:191
↓ 2 callers
Function
conv_attn_to_linear
(checkpoint)
Dreambooth/convertodiffv1.py:192
↓ 2 callers
Function
conv_attn_to_linear
(checkpoint)
Dreambooth/convertosdv2.py:192
↓ 2 callers
Function
conv_attn_to_linear
(checkpoint)
Dreambooth/convertodiffv2-768.py:191
↓ 2 callers
Function
convert_key
(key)
Dreambooth/convertodiffv2.py:555
↓ 2 callers
Function
convert_key
(key)
Dreambooth/convertodiffv1.py:551
↓ 2 callers
Function
convert_key
(key)
Dreambooth/convertosdv2.py:551
↓ 2 callers
Function
convert_key
(key)
Dreambooth/convertodiffv2-768.py:555
↓ 2 callers
Function
extract_style_text_from_prompt
This function extracts the text from a given prompt based on a provided style text. It checks if the style text contains the placeholder {prompt} or i
AUTOMATIC1111_files/styles.py:33
↓ 2 callers
Method
fill_expected_parents
(self)
Dreambooth/blocks.py:293
↓ 2 callers
Method
fill_expected_parents
(self)
AUTOMATIC1111_files/blocks.py:357
↓ 2 callers
Function
is_landscape
(w, h)
Dreambooth/smart_crop.py:171
↓ 2 callers
Function
is_portrait
(w, h)
Dreambooth/smart_crop.py:175
↓ 2 callers
Function
is_square
(w, h)
Dreambooth/smart_crop.py:179
↓ 2 callers
Function
load_checkpoint_with_text_encoder_conversion
(ckpt_path)
Dreambooth/convertodiffv2.py:811
↓ 2 callers
Function
load_checkpoint_with_text_encoder_conversion
(ckpt_path)
Dreambooth/convertodiffv1.py:807
↓ 2 callers
Function
load_checkpoint_with_text_encoder_conversion
(ckpt_path)
Dreambooth/convertosdv2.py:807
↓ 2 callers
Function
load_checkpoint_with_text_encoder_conversion
(ckpt_path)
Dreambooth/convertodiffv2-768.py:811
↓ 2 callers
Function
move_cache
(cache_dir=None, new_cache_dir=None, token=None)
Dreambooth/hub.py:1032
↓ 2 callers
Method
postprocess
Any postprocessing needed to be performed on a block context.
Dreambooth/blocks.py:319
↓ 2 callers
Method
postprocess
Any postprocessing needed to be performed on a block context.
AUTOMATIC1111_files/blocks.py:385
↓ 2 callers
Method
postprocess_data
( self, fn_index: int, predictions: List[Any], state: Dict[int, Any] )
Dreambooth/blocks.py:896
↓ 2 callers
Method
postprocess_data
( self, fn_index: int, predictions: list | dict, state: dict[int, Any] )
AUTOMATIC1111_files/blocks.py:1284
↓ 2 callers
Method
preprocess_data
(self, fn_index: int, inputs: List[Any], state: Dict[int, Any])
Dreambooth/blocks.py:880
↓ 2 callers
Method
preprocess_data
(self, fn_index: int, inputs: list[Any], state: dict[int, Any])
AUTOMATIC1111_files/blocks.py:1222
↓ 2 callers
Method
queue_enabled_for_fn
(self, fn_index: int)
AUTOMATIC1111_files/blocks.py:2239
↓ 2 callers
Function
renew_vae_attention_paths
Updates paths inside attentions to the new naming scheme (local renaming)
Dreambooth/convertodiffv2.py:109
↓ 2 callers
Function
renew_vae_attention_paths
Updates paths inside attentions to the new naming scheme (local renaming)
Dreambooth/convertodiffv1.py:110
↓ 2 callers
Function
renew_vae_attention_paths
Updates paths inside attentions to the new naming scheme (local renaming)
Dreambooth/convertosdv2.py:110
↓ 2 callers
Function
renew_vae_attention_paths
Updates paths inside attentions to the new naming scheme (local renaming)
Dreambooth/convertodiffv2-768.py:109
↓ 2 callers
Function
skip
()
Dreambooth/blocks.py:409
↓ 1 callers
Method
__exit__
(self, *args)
AUTOMATIC1111_files/blocks.py:1521
↓ 1 callers
Method
__repr__
(self)
Dreambooth/blocks.py:665
↓ 1 callers
Method
__repr__
(self)
AUTOMATIC1111_files/blocks.py:904
↓ 1 callers
Method
_create_repo
Create the repo if needed, cleans up repo_id with deprecated kwards `repo_url` and `organization`, retrives the token.
Dreambooth/hub.py:632
↓ 1 callers
Method
_get_files_timestamps
Returns the list of files with their last modification timestamp.
Dreambooth/hub.py:668
↓ 1 callers
Method
_upload_modified_files
Uploads all modified files in `working_dir` to `repo_id`, based on `files_timestamps`.
Dreambooth/hub.py:674
↓ 1 callers
Method
attach_load_events
Add a load event for every component whose initial value should be randomized.
Dreambooth/blocks.py:1561
↓ 1 callers
Method
attach_load_events
Add a load event for every component whose initial value should be randomized.
AUTOMATIC1111_files/blocks.py:2205
↓ 1 callers
Method
clear
Resets the layout of the Blocks object.
Dreambooth/blocks.py:1126
↓ 1 callers
Method
clear
Resets the layout of the Blocks object.
AUTOMATIC1111_files/blocks.py:1627
↓ 1 callers
Method
close
Closes the Interface that was launched and frees the port.
Dreambooth/blocks.py:1536
↓ 1 callers
Method
close
Closes the Interface that was launched and frees the port.
AUTOMATIC1111_files/blocks.py:2173
↓ 1 callers
Function
conv_transformer_to_linear
(checkpoint)
Dreambooth/convertodiffv2.py:627
↓ 1 callers
Function
conv_transformer_to_linear
(checkpoint)
Dreambooth/convertodiffv1.py:623
↓ 1 callers
Function
conv_transformer_to_linear
(checkpoint)
Dreambooth/convertosdv2.py:623
↓ 1 callers
Function
conv_transformer_to_linear
(checkpoint)
Dreambooth/convertodiffv2-768.py:627
↓ 1 callers
Function
convert
(args)
Dreambooth/convertodiffv2.py:1058
↓ 1 callers
Function
convert
(args)
Dreambooth/convertodiffv1.py:1057
↓ 1 callers
Function
convert
(args)
Dreambooth/convertosdv2.py:1032
↓ 1 callers
Function
convert
(args)
Dreambooth/convertodiffv2-768.py:1059
↓ 1 callers
Function
convert_component_dict_to_list
Converts a dictionary of component updates into a list of updates in the order of the outputs_ids and including every output component. E
Dreambooth/blocks.py:433
↓ 1 callers
Function
convert_component_dict_to_list
Converts a dictionary of component updates into a list of updates in the order of the outputs_ids and including every output component. Leave
AUTOMATIC1111_files/blocks.py:468
next →
1–100 of 289, ranked by callers