MCPcopy Create free account

hub / github.com/ace-step/ACE-Step / functions

Functions375 in github.com/ace-step/ACE-Step

Methodforward
(self, x, seq_len=None)
acestep/models/ace_step_transformer.py:82
Methodforward
(self, x, t, output_length)
acestep/models/ace_step_transformer.py:144
Methodforward
(self, latent)
acestep/models/ace_step_transformer.py:192
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: torch.Tensor, encoder_tex
acestep/models/ace_step_transformer.py:528
Methodforward
(self, x: torch.Tensor)
acestep/models/attention.py:123
Methodforward
(self, x: torch.Tensor)
acestep/models/attention.py:182
Methodforward
( self, hidden_states: torch.FloatTensor, encoder_hidden_states: torch.FloatTensor = N
acestep/models/attention.py:261
Methodforward
Compute convolution module. Args: x (torch.Tensor): Input tensor (#batch, time, channels). mask_pad (torch.Tensor): us
acestep/models/lyrics_utils/lyric_encoder.py:75
Methodforward
Forward function. Args: xs: input tensor (B, L, D) Returns: output tensor, (B, L, D)
acestep/models/lyrics_utils/lyric_encoder.py:160
Methodforward
Return Swish activation function.
acestep/models/lyrics_utils/lyric_encoder.py:174
Methodforward
Compute scaled dot product attention. Args: query (torch.Tensor): Query tensor (#batch, time1, size). key (torch.Tens
acestep/models/lyrics_utils/lyric_encoder.py:275
Methodforward
Compute 'Scaled Dot Product Attention' with rel. positional encoding. Args: query (torch.Tensor): Query tensor (#batch, time1, siz
acestep/models/lyrics_utils/lyric_encoder.py:370
Methodforward
Compute encoded features. Args: x (torch.Tensor): (#batch, time, size) mask (torch.Tensor): Mask tensor for the input
acestep/models/lyrics_utils/lyric_encoder.py:638
Methodforward
Add positional encoding. Args: x (torch.Tensor): Input tensor (batch, time, `*`). Returns: torch.Tensor: Enc
acestep/models/lyrics_utils/lyric_encoder.py:770
Methodforward
Input x. Args: x (torch.Tensor): Input tensor (#batch, time, idim). x_mask (torch.Tensor): Input mask (#batch, 1, tim
acestep/models/lyrics_utils/lyric_encoder.py:839
Methodforward
Embed positions in tensor. Args: xs: padded input tensor (B, T, D) xs_lens: input length (B) decoding_chu
acestep/models/lyrics_utils/lyric_encoder.py:1038
Methodforward_diffusion_with_temperature
( self, hidden_states, timestep, inputs, tau=0.01, l_min=15, l_max=20 )
acestep/pipeline_ace_step.py:1172
Methodforward_encoder_with_temperature
(self, inputs, tau=0.01, l_min=4, l_max=6)
acestep/pipeline_ace_step.py:1091
Methodforward_with_temperature
(inputs, tau=0.01, l_min=8, l_max=10)
acestep/pipeline_ace_step.py:363
Functiongenerate_audio
(input_data: ACEStepInput)
infer-api.py:50
Functiongenerate_music
(request: TextToMusicRequest)
trainer-api.py:224
MethodgetPriorityThreshold
(self)
acestep/language_segmentation/LangSegment.py:934
Methodget_number_tokens
(self)
acestep/models/lyrics_utils/lyric_tokenizer.py:743
Methodgetfilters
(self)
acestep/language_segmentation/LangSegment.py:928
Functionhealth_check
()
infer-api.py:101
Methodhook
(module, input, output)
acestep/pipeline_ace_step.py:366
Functioninit_weights
(m, mean=0.0, std=0.01)
acestep/music_dcae/music_vocoder.py:266
Methodkatsu
(self)
acestep/models/lyrics_utils/lyric_tokenizer.py:650
Functionload_data
(json_file)
acestep/ui/components.py:926
Methodlogistic_function
(x, L=0.9, U=1.1, x_0=0.0, k=1)
acestep/schedulers/scheduling_flow_match_euler_discrete.py:285
Methodlogistic_function
(x, L=0.9, U=1.1, x_0=0.0, k=1)
acestep/schedulers/scheduling_flow_match_pingpong.py:285
Methodlogistic_function
(x, L=0.9, U=1.1, x_0=0.0, k=1)
acestep/schedulers/scheduling_flow_match_heun_discrete.py:250
Methodlr_lambda
(current_step)
trainer.py:429
Functionmake_pad_mask
Make mask tensor containing indices of padded part. See description of make_non_pad_mask. Args: lengths (torch.Tensor): Batch of len
acestep/models/lyrics_utils/lyric_encoder.py:875
MethodnonZero
(num, cn, func=None)
acestep/language_segmentation/LangSegment.py:168
Functionnormalize_text
对文本进行标准化处理,去除标点符号,转为小写(如果适用)
acestep/models/lyrics_utils/lyric_normalizer.py:43
Methodon_save_checkpoint
(self, checkpoint)
trainer.py:605
Methodposition_encoding
( self, offset: Union[int, torch.Tensor], size: int )
acestep/models/lyrics_utils/lyric_encoder.py:834
Methodremove_weight_norm
(self)
acestep/music_dcae/music_vocoder.py:483
Functionrepaint_process_func
( text2music_json_data, repaint_json_data, retake_
acestep/ui/components.py:419
Functionreplace_asmd
Args: match (re.Match) Returns: str
acestep/language_segmentation/utils/num.py:123
Functionreplace_default_num
Args: match (re.Match) Returns: str
acestep/language_segmentation/utils/num.py:102
Functionreplace_frac
Args: match (re.Match) Returns: str
acestep/language_segmentation/utils/num.py:41
Functionreplace_negative_num
Args: match (re.Match) Returns: str
acestep/language_segmentation/utils/num.py:82
Functionreplace_number
Args: match (re.Match) Returns: str
acestep/language_segmentation/utils/num.py:194
Functionreplace_percentage
Args: match (re.Match) Returns: str
acestep/language_segmentation/utils/num.py:62
Functionreplace_positive_quantifier
Args: match (re.Match) Returns: str
acestep/language_segmentation/utils/num.py:176
Functionreplace_power
Args: match (re.Match) Returns: str
acestep/language_segmentation/utils/num.py:154
Functionreplace_range
Args: match (re.Match) Returns: str
acestep/language_segmentation/utils/num.py:228
Functionreplace_to_range
Args: match (re.Match) Returns: str
acestep/language_segmentation/utils/num.py:248
Functionretake_process_func
(json_data, retake_variance, retake_seeds)
acestep/ui/components.py:326
Functionsample_data
(lora_name_or_path_)
acestep/ui/components.py:894
Methodscale_noise
Forward process in flow-matching Args: sample (`torch.FloatTensor`): The input sample. times
acestep/schedulers/scheduling_flow_match_euler_discrete.py:120
Methodscale_noise
Forward process in flow-matching Args: sample (`torch.FloatTensor`): The input sample. times
acestep/schedulers/scheduling_flow_match_pingpong.py:120
Methodscale_noise
Forward process in flow-matching Args: sample (`torch.FloatTensor`): The input sample. times
acestep/schedulers/scheduling_flow_match_heun_discrete.py:113
MethodsetPriorityThreshold
(self, threshold: float)
acestep/language_segmentation/LangSegment.py:931
Methodset_begin_index
Sets the begin index for the scheduler. This function should be run from pipeline before the inference. Args: begin_inde
acestep/schedulers/scheduling_flow_match_euler_discrete.py:110
Methodset_begin_index
Sets the begin index for the scheduler. This function should be run from pipeline before the inference. Args: begin_inde
acestep/schedulers/scheduling_flow_match_pingpong.py:110
Methodset_begin_index
Sets the begin index for the scheduler. This function should be run from pipeline before the inference. Args: begin_inde
acestep/schedulers/scheduling_flow_match_heun_discrete.py:103
Methodset_timesteps
Sets the discrete timesteps used for the diffusion chain (to be run before inference). Args: num_inference_steps (`int`)
acestep/schedulers/scheduling_flow_match_euler_discrete.py:176
Methodset_timesteps
Sets the discrete timesteps used for the diffusion chain (to be run before inference). Args: num_inference_steps (`int`)
acestep/schedulers/scheduling_flow_match_pingpong.py:176
Methodset_timesteps
Sets the discrete timesteps used for the diffusion chain (to be run before inference). Args: num_inference_steps (`int`)
acestep/schedulers/scheduling_flow_match_heun_discrete.py:143
Functionsplit_sentence
Preprocess the input text
acestep/models/lyrics_utils/lyric_tokenizer.py:37
Functionstartup_event
()
trainer-api.py:217
Methodstate_in_first_order
(self)
acestep/schedulers/scheduling_flow_match_heun_discrete.py:206
Methodstep
Predict the sample from the previous timestep by reversing the SDE. This function propagates the diffusion process from the learned m
acestep/schedulers/scheduling_flow_match_heun_discrete.py:209
Methodstep_index
The index counter for current timestep. It will increase 1 after each scheduler step.
acestep/schedulers/scheduling_flow_match_euler_discrete.py:96
Methodstep_index
The index counter for current timestep. It will increase 1 after each scheduler step.
acestep/schedulers/scheduling_flow_match_pingpong.py:96
Methodstep_index
The index counter for current timestep. It will increase 1 after each scheduler step.
acestep/schedulers/scheduling_flow_match_heun_discrete.py:89
Functionsubsequent_mask
Create mask for subsequent steps (size, size). This mask is used only in decoder which works in an auto-regressive mode. This means the curre
acestep/models/lyrics_utils/lyric_encoder.py:437
Functiontoggle_ref_audio_visibility
(is_checked)
acestep/ui/components.py:149
Methodtrain_dataloader
(self)
trainer.py:445
Methodtraining_step
(self, batch, batch_idx)
trainer.py:602
Functionupdate_tags_from_preset
(preset_name)
acestep/ui/components.py:67
Functionwrapper
(self, *args, **kwargs)
acestep/cpu_offload.py:30
← previous301–375 of 375, ranked by callers