Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Xiaojiu-z/EasyControl
/ functions
Functions
139 in github.com/Xiaojiu-z/EasyControl
⨍
Functions
139
◇
Types & classes
15
Method
enable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
train/src/pipeline.py:479
Method
enable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and en
src/pipeline.py:410
Method
enable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and en
train/src/pipeline.py:493
Function
encode_prompt
( text_encoders, tokenizers, prompt: str, max_sequence_length, device=
train/src/prompt_helper.py:137
Method
fn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
src/transformer_flux.py:306
Method
fn_recursive_add_processors
(name: str, module: torch.nn.Module, processors: Dict[str, AttentionProcessor])
train/src/transformer_flux.py:306
Method
fn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
src/transformer_flux.py:342
Method
fn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
train/src/transformer_flux.py:342
Method
forward
( self, hidden_states: torch.Tensor, cond_hidden_states: torch.Tensor, temb: t
src/transformer_flux.py:57
Method
forward
( self, hidden_states: torch.Tensor, cond_hidden_states: torch.Tensor, encoder
src/transformer_flux.py:147
Method
forward
( self, hidden_states: torch.Tensor, cond_hidden_states: torch.Tensor = None,
src/transformer_flux.py:399
Method
forward
(self, hidden_states: torch.Tensor)
src/layers_cache.py:43
Method
forward
( self, hidden_states: torch.Tensor, cond_hidden_states: torch.Tensor, temb: t
train/src/transformer_flux.py:57
Method
forward
( self, hidden_states: torch.Tensor, cond_hidden_states: torch.Tensor, encoder
train/src/transformer_flux.py:147
Method
forward
( self, hidden_states: torch.Tensor, cond_hidden_states: torch.Tensor = None,
train/src/transformer_flux.py:399
Method
forward
(self, hidden_states: torch.Tensor)
train/src/layers.py:43
Method
fuse_qkv_projections
Enables fused QKV projections. For self-attention modules, all projection matrices (i.e., query, key, value) are fused. For cross-att
src/transformer_flux.py:356
Method
fuse_qkv_projections
Enables fused QKV projections. For self-attention modules, all projection matrices (i.e., query, key, value) are fused. For cross-att
train/src/transformer_flux.py:356
Method
guidance_scale
(self)
src/pipeline.py:493
Method
guidance_scale
(self)
train/src/pipeline.py:576
Method
interrupt
(self)
src/pipeline.py:505
Method
interrupt
(self)
train/src/pipeline.py:588
Method
joint_attention_kwargs
(self)
src/pipeline.py:497
Method
joint_attention_kwargs
(self)
train/src/pipeline.py:580
Function
multi_condition_generate_image
(prompt, subject_img, spatial_img, height, width, seed)
app.py:95
Method
num_timesteps
(self)
src/pipeline.py:501
Method
num_timesteps
(self)
train/src/pipeline.py:584
Function
preprocess_train
(examples)
train/src/jsonl_datasets.py:141
Function
set_multi_lora
(transformer, local_paths, lora_weights=[[]], cond_size=512)
train/src/lora_helper.py:180
Function
set_single_lora
(transformer, local_path, lora_weights=[], cond_size=512)
train/src/lora_helper.py:176
Function
single_condition_generate_image
(prompt, subject_img, spatial_img, height, width, seed, control_type, style_lora=None)
app.py:53
Function
tokenize_prompt
(tokenizer, prompt, max_sequence_length)
train/src/prompt_helper.py:14
Function
tokenize_prompt_clip
(tokenizer, prompt)
train/src/prompt_helper.py:28
Function
tokenize_prompt_t5
(tokenizer, prompt)
train/src/prompt_helper.py:42
Method
unfuse_qkv_projections
Disables the fused QKV projection if enabled. <Tip warning={true}> This API is 🧪 experimental. </Tip>
src/transformer_flux.py:382
Method
unfuse_qkv_projections
Disables the fused QKV projection if enabled. <Tip warning={true}> This API is 🧪 experimental. </Tip>
train/src/transformer_flux.py:382
Function
unset_lora
(transformer)
src/lora_helper.py:184
Function
unset_lora
(transformer)
train/src/lora_helper.py:184
Function
unwrap_model
(model)
train/train.py:687
← previous
101–139 of 139, ranked by callers