MCPcopy Create free account

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

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

↓ 12 callersMethodencode
(self, x)
acestep/music_dcae/music_vocoder.py:565
↓ 11 callersMethod_addwords
(self, words, language, text, score, symbol=None)
acestep/language_segmentation/LangSegment.py:435
↓ 9 callersMethoddecode
(self, mel)
acestep/music_dcae/music_vocoder.py:559
↓ 9 callersFunctionnum2str
(value_string: str)
acestep/language_segmentation/utils/num.py:305
↓ 8 callersFunctionget_padding
(kernel_size, dilation=1)
acestep/music_dcae/music_vocoder.py:272
↓ 7 callersMethod__init__
(self, drop_prob: float = 0.0, scale_by_keep: bool = True)
acestep/music_dcae/music_vocoder.py:61
↓ 7 callersMethod__init__
Construct an linear object.
acestep/models/lyrics_utils/lyric_encoder.py:822
↓ 7 callersFunctionnum2chn
( number_string, numbering_type=NUMBERING_TYPES[1], big=False, traditional=False, alt_zero
acestep/models/lyrics_utils/zh_num2words.py:649
↓ 6 callersMethodupdate
(self, update_value: torch.Tensor)
acestep/apg_guidance.py:9
↓ 5 callersFunctionapg_forward
( pred_cond: torch.Tensor, # [B, C, H, W] pred_uncond: torch.Tensor, # [B, C, H, W] guidance_sca
acestep/apg_guidance.py:33
↓ 5 callersMethodcardinal2chntext
(self)
acestep/models/lyrics_utils/zh_num2words.py:764
↓ 5 callersFunctioncreate_output_ui
(task_name="Text2Music")
acestep/ui/components.py:73
↓ 4 callersMethod_get_filters_string
(self)
acestep/language_segmentation/LangSegment.py:524
↓ 4 callersFunctionchn2num
(chinese_string, numbering_type=NUMBERING_TYPES[1])
acestep/models/lyrics_utils/zh_num2words.py:567
↓ 4 callersMethodgetTexts
(self, text: str)
acestep/language_segmentation/LangSegment.py:956
↓ 4 callersMethodsetfilters
(self, filters)
acestep/language_segmentation/LangSegment.py:919
↓ 3 callersMethod__init__
( self, height=16, width=4096, patch_size=(16, 1), in_channels=8,
acestep/models/ace_step_transformer.py:156
↓ 3 callersMethod__init__
(self, date=None, chntext=None)
acestep/models/lyrics_utils/zh_num2words.py:836
↓ 3 callersMethod_cleans_text
(self, cleans_text)
acestep/language_segmentation/LangSegment.py:493
↓ 3 callersFunction_expand_currency
(m, lang="en", currency="USD")
acestep/models/lyrics_utils/lyric_tokenizer.py:489
↓ 3 callersMethod_lang_classify
(self, cleans_text)
acestep/language_segmentation/LangSegment.py:512
↓ 3 callersMethodapply_rotary_emb
Apply rotary embeddings to input tensors using the given frequency tensor. This function applies rotary embeddings to the given query
acestep/models/customer_attention_processor.py:34
↓ 3 callersMethodapply_rotary_emb
Apply rotary embeddings to input tensors using the given frequency tensor. This function applies rotary embeddings to the given query
acestep/models/customer_attention_processor.py:258
↓ 3 callersMethodbatch_decode
Convert a list of lists of token ids into a list of strings by calling decode. Args: sequences (`Union[List[int], List[L
acestep/models/lyrics_utils/lyric_tokenizer.py:714
↓ 3 callersFunctioncfg_forward
(cond_output, uncond_output, cfg_strength)
acestep/apg_guidance.py:59
↓ 3 callersMethodcreate
(cls, index, value, numbering_type=NUMBERING_TYPES[1], small_unit=False)
acestep/models/lyrics_utils/zh_num2words.py:431
↓ 3 callersMethoddecode
(self, latents, audio_lengths=None, sr=None)
acestep/music_dcae/music_dcae_pipeline.py:115
↓ 3 callersFunctionensure_directory_exists
(directory)
acestep/pipeline_ace_step.py:83
↓ 3 callersMethodgetCounts
(self)
acestep/language_segmentation/LangSegment.py:937
↓ 3 callersMethodload_checkpoint
(self, checkpoint_dir=None, export_quantized_weights=False)
acestep/pipeline_ace_step.py:182
↓ 3 callersFunctionlowercase
(text)
acestep/models/lyrics_utils/lyric_tokenizer.py:557
↓ 3 callersFunctionval2tuple
Return tuple with min_len by repeating element at idx_repeat.
acestep/models/attention.py:50
↓ 2 callersMethod__init__
( self, in_dim: int, out_dim: int, kernel_size=3, stride=1, di
acestep/models/attention.py:77
↓ 2 callersMethod_clear_text_number
(self, text)
acestep/language_segmentation/LangSegment.py:388
↓ 2 callersMethod_clears
(self)
acestep/language_segmentation/LangSegment.py:346
↓ 2 callersMethod_init_step_index
(self, timestep)
acestep/schedulers/scheduling_flow_match_euler_discrete.py:236
↓ 2 callersMethod_init_step_index
(self, timestep)
acestep/schedulers/scheduling_flow_match_heun_discrete.py:197
↓ 2 callersMethod_parse_language
(self, words, segment)
acestep/language_segmentation/LangSegment.py:528
↓ 2 callersMethod_process_tags
(self, words, text, root_tag)
acestep/language_segmentation/LangSegment.py:759
↓ 2 callersMethod_saveData
(self, words, language: str, text: str, score: float, symbol=None)
acestep/language_segmentation/LangSegment.py:395
↓ 2 callersMethod_set_cos_sin_cache
(self, seq_len, device, dtype)
acestep/models/ace_step_transformer.py:70
↓ 2 callersMethod_sigma_to_t
(self, sigma)
acestep/schedulers/scheduling_flow_match_euler_discrete.py:170
↓ 2 callersMethod_sigma_to_t
(self, sigma)
acestep/schedulers/scheduling_flow_match_pingpong.py:170
↓ 2 callersMethod_sigma_to_t
(self, sigma)
acestep/schedulers/scheduling_flow_match_heun_discrete.py:140
↓ 2 callersMethod_statistics
(self, language, text)
acestep/language_segmentation/LangSegment.py:376
↓ 2 callersMethodcalc_v
( self, zt_src, zt_tar, t, encoder_text_hidden_states, text_at
acestep/pipeline_ace_step.py:472
↓ 2 callersMethodclassify
(self, text: str)
acestep/language_segmentation/LangSegment.py:972
↓ 2 callersFunctioncollapse_whitespace
(text)
acestep/models/lyrics_utils/lyric_tokenizer.py:561
↓ 2 callersMethodcompress
(self, x: Tensor)
acestep/music_dcae/music_log_mel.py:101
↓ 2 callersFunctioncreate_main_demo_ui
( text2music_process_func=dump_func, sample_data_func=dump_func, load_data_func=dump_func, )
acestep/ui/components.py:992
↓ 2 callersFunctioncreate_system
根据数字系统类型返回创建相应的数字系统,默认为 mid NUMBERING_TYPES = ['low', 'mid', 'high']: 中文数字系统类型 low: '兆' = '亿' * '十' = $10^{9}$, '京' = '兆' * '十', et
acestep/models/lyrics_utils/zh_num2words.py:531
↓ 2 callersMethoddigit2chntext
(self)
acestep/models/lyrics_utils/zh_num2words.py:780
↓ 2 callersFunctionexpand_abbreviations_multilingual
(text, lang="en")
acestep/models/lyrics_utils/lyric_tokenizer.py:237
↓ 2 callersFunctionexpand_numbers_multilingual
(text, lang="en")
acestep/models/lyrics_utils/lyric_tokenizer.py:528
↓ 2 callersFunctionexpand_symbols_multilingual
(text, lang="en")
acestep/models/lyrics_utils/lyric_tokenizer.py:433
↓ 2 callersMethodextend_pe
Reset the positional encodings.
acestep/models/lyrics_utils/lyric_encoder.py:738
↓ 2 callersMethodforward_attention
Compute attention context vector. Args: value (torch.Tensor): Transformed value, size (#batch, n_head, time2, d_k
acestep/models/lyrics_utils/lyric_encoder.py:232
↓ 2 callersMethodforward_qkv
Transform query, key and value. Args: query (torch.Tensor): Query tensor (#batch, time1, size). key (torch.Tensor): K
acestep/models/lyrics_utils/lyric_encoder.py:204
↓ 2 callersMethodget_checkpoint_path
(self, checkpoint_dir, repo)
acestep/pipeline_ace_step.py:157
↓ 2 callersFunctionget_symbol
(char, system)
acestep/models/lyrics_utils/zh_num2words.py:568
↓ 2 callersMethodget_text_embeddings
(self, texts, text_max_length=256)
acestep/pipeline_ace_step.py:331
↓ 2 callersMethodindex_for_timestep
(self, timestep, schedule_timesteps=None)
acestep/schedulers/scheduling_flow_match_euler_discrete.py:222
↓ 2 callersMethodindex_for_timestep
(self, timestep, schedule_timesteps=None)
acestep/schedulers/scheduling_flow_match_pingpong.py:222
↓ 2 callersMethodinfer_latents
(self, input_audio_path)
acestep/pipeline_ace_step.py:1419
↓ 2 callersFunctionjson2output
(json_data)
acestep/ui/components.py:849
↓ 2 callersMethodload_json
(self, file_path)
acestep/data_sampler.py:16
↓ 2 callersMethodpreprocess
(self, batch, train=True)
trainer.py:316
↓ 2 callersMethodset_seeds
(self, batch_size, manual_seeds=None)
acestep/pipeline_ace_step.py:390
↓ 2 callersMethodstep
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_pingpong.py:244
↓ 2 callersFunctionsubsequent_chunk_mask
Create mask for subsequent steps (size, size) with chunk size, this is for streaming encoder Args: size (int): size of mask
acestep/models/lyrics_utils/lyric_encoder.py:473
↓ 2 callersMethodtelephone2chntext
(self, fixed=False)
acestep/models/lyrics_utils/zh_num2words.py:801
↓ 2 callersMethodto_chinese_number
(self, num: str)
acestep/language_segmentation/LangSegment.py:222
↓ 2 callersMethodtokenize_lyrics
(self, lyrics, debug=False)
acestep/pipeline_ace_step.py:438
↓ 2 callersFunctionverbalize_digit
(value_string: str, alt_one=False)
acestep/language_segmentation/utils/num.py:297
↓ 1 callersMethod__init__
( self, n_fft=2048, win_length=2048, hop_length=512, center=False,
acestep/music_dcae/music_log_mel.py:16
↓ 1 callersMethod__str__
(self)
acestep/models/lyrics_utils/zh_num2words.py:407
↓ 1 callersFunction_expand_decimal_point
(m, lang="en")
acestep/models/lyrics_utils/lyric_tokenizer.py:484
↓ 1 callersFunction_expand_number
(m, lang="en")
acestep/models/lyrics_utils/lyric_tokenizer.py:524
↓ 1 callersFunction_expand_ordinal
(m, lang="en")
acestep/models/lyrics_utils/lyric_tokenizer.py:520
↓ 1 callersMethod_format_chinese_data
(self, date_str: str)
acestep/language_segmentation/LangSegment.py:154
↓ 1 callersMethod_get_prev_data
(self, words)
acestep/language_segmentation/LangSegment.py:478
↓ 1 callersFunction_get_value
(value_string: str, use_zero: bool = True)
acestep/language_segmentation/utils/num.py:259
↓ 1 callersMethod_init_step_index
(self, timestep)
acestep/schedulers/scheduling_flow_match_pingpong.py:236
↓ 1 callersMethod_insert_english_uppercase
(self, word)
acestep/language_segmentation/LangSegment.py:368
↓ 1 callersMethod_is_chinese
(self, word)
acestep/language_segmentation/LangSegment.py:357
↓ 1 callersMethod_is_japanese_kana
(self, word)
acestep/language_segmentation/LangSegment.py:363
↓ 1 callersMethod_match_ending
(self, input, index)
acestep/language_segmentation/LangSegment.py:484
↓ 1 callersMethod_mean_processing
(self, text: str)
acestep/language_segmentation/LangSegment.py:498
↓ 1 callersMethod_merge_results
(self, words)
acestep/language_segmentation/LangSegment.py:774
↓ 1 callersMethod_parse_symbols
(self, text)
acestep/language_segmentation/LangSegment.py:789
↓ 1 callersMethod_pattern_symbols
(self, item, text)
acestep/language_segmentation/LangSegment.py:647
↓ 1 callersMethod_process_symbol_SSML
(self, words, data)
acestep/language_segmentation/LangSegment.py:614
↓ 1 callersMethod_split_camel_case
(self, word)
acestep/language_segmentation/LangSegment.py:373
↓ 1 callersMethodadd_latents_noise
( self, gt_latents, sigma_max, noise, scheduler_type, infer_st
acestep/pipeline_ace_step.py:769
↓ 1 callersFunctionadd_optional_chunk_mask
Apply optional mask for encoder. Args: xs (torch.Tensor): padded input, (B, L, D), L for max length mask (torch.Tensor): mask for
acestep/models/lyrics_utils/lyric_encoder.py:511
↓ 1 callersFunctionbasic_cleaners
Basic pipeline that lowercases and collapses whitespace without transliteration.
acestep/models/lyrics_utils/lyric_tokenizer.py:588
↓ 1 callersFunctioncfg_double_condition_forward
( cond_output, uncond_output, only_text_cond_output, guidance_scale_text, guidance_scale_l
acestep/apg_guidance.py:63
↓ 1 callersFunctioncfg_zero_star
( noise_pred_with_cond, noise_pred_uncond, guidance_scale, i, zero_steps=1, use_zero_i
acestep/apg_guidance.py:91
↓ 1 callersMethodcheck_input_length
(self, txt, lang)
acestep/models/lyrics_utils/lyric_tokenizer.py:655
↓ 1 callersFunctionchinese_transliterate
(text)
acestep/models/lyrics_utils/lyric_tokenizer.py:595
next →1–100 of 375, ranked by callers