Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tdrussell/diffusion-pipe
/ functions
Functions
1,157 in github.com/tdrussell/diffusion-pipe
⨍
Functions
1,157
◇
Types & classes
222
Method
save_model
(self, save_dir, state_dict)
models/hunyuan_image.py:136
Method
save_model
(self, save_dir, diffusers_sd)
models/flux.py:255
Method
save_model
(self, save_dir, state_dict)
models/qwen_image.py:290
Method
save_model
(self, save_dir, state_dict)
models/wan/wan.py:264
Method
seq_dim
(self)
models/cosmos_predict2_modeling.py:469
Method
seq_dim
(self)
models/cosmos_predict2_modeling.py:617
Method
set_eval_quantile
(self, quantile)
utils/dataset.py:1316
Function
single_stream_forward
(self, x: Tensor, vec: Tensor, pe: Tensor, attn_mask=None, modulation_dims=None, transformer_options={})
utils/patches.py:366
Method
state_dict
Returns a dictionary containing the current state of the tensor.
optimizers/optimizer_utils.py:254
Method
state_dict
(self, *args, **kwargs)
optimizers/automagic.py:359
Method
state_dict
(self)
optimizers/gradient_release.py:16
Method
step
Performs a single optimization step. Arguments: closure (`Callable`, *optional*): A closure that reevaluates the model a
optimizers/generic_optim.py:364
Method
step
Performs a single optimization step Arguments: closure (callable, optional): A closure that reevaluates the model
optimizers/automagic.py:178
Method
step
(self)
optimizers/gradient_release.py:23
Function
stochastic_grad_accummulation
(param)
optimizers/optimizer_utils.py:272
Method
swap_scale_shift
(weight)
models/flux.py:278
Function
text_embedding_map_fn
(example, rank)
utils/dataset.py:1114
Function
to
(self, *args, **kwargs)
train.py:571
Method
to_layers
(self)
models/hidream.py:261
Method
to_layers
(self)
models/chroma.py:277
Method
to_layers
(self)
models/ernie_image.py:25
Method
to_layers
(self)
models/hunyuan_video_15.py:100
Method
to_layers
(self)
models/z_image.py:29
Method
to_layers
(self)
models/auraflow.py:148
Method
to_layers
(self)
models/lumina_2.py:182
Method
to_layers
(self)
models/base.py:352
Method
to_layers
(self)
models/base.py:695
Method
to_layers
(self)
models/cosmos.py:271
Method
to_layers
(self)
models/sdxl.py:589
Method
to_layers
(self)
models/sdxl.py:888
Method
to_layers
(self)
models/sdxl.py:919
Method
to_layers
(self)
models/sdxl.py:967
Method
to_layers
(self)
models/ltx_video.py:195
Method
to_layers
(self)
models/cosmos_predict2.py:409
Method
to_layers
(self)
models/hunyuan_video.py:481
Method
to_layers
(self)
models/ltx2.py:281
Method
to_layers
(self)
models/hunyuan_image.py:323
Method
to_layers
(self)
models/ideogram4.py:35
Method
to_layers
(self)
models/krea2.py:81
Method
to_layers
(self)
models/omnigen2.py:181
Method
to_layers
(self)
models/flux2.py:105
Method
to_layers
(self)
models/flux.py:394
Method
to_layers
(self)
models/qwen_image.py:479
Method
to_layers
(self)
models/wan/wan.py:376
Function
tokenize_with_weights
(self, text:str, return_word_ids=False, **kwargs)
models/base.py:467
Function
torch_attention_op
Computes multi-head attention using PyTorch's native implementation. This function provides a PyTorch backend alternative to Transformer Engine's
models/cosmos_predict2_modeling.py:275
Function
train_schedule_steps
(self)
utils/patches.py:113
Method
unet
(self)
models/sdxl.py:670
Function
unsloth_checkpoint
(function, *args)
utils/unsloth_utils.py:70
Method
update_step
(self, group, p, gindex, pindex)
optimizers/adamw_8bit.py:17
Method
vae_encode_crop_pixels
(self, pixels)
models/base.py:490
Method
vae_encode_crop_pixels
(self, pixels)
models/ltx2.py:216
Function
wrapper
(example)
utils/dataset.py:124
Function
xlm_roberta_large
XLMRobertaLarge adapted from Huggingface.
models/wan/xlm_roberta.py:144
Function
zero_first
()
utils/common.py:38
Method
zero_grad
(self, set_to_none=True)
optimizers/gradient_release.py:26
Function
zeropower_via_newtonschulz5
Newton-Schulz iteration to compute the zeroth power / orthogonalization of G. We opt to use a quintic iteration whose coefficients are select
optimizers/generic_optim.py:153
← previous
1,101–1,157 of 1,157, ranked by callers