MCPcopy Create free account

hub / github.com/Stability-AI/stable-audio-tools / types & classes

Types & classes277 in github.com/Stability-AI/stable-audio-tools

↓ 15 callersClassResidualUnit
stable_audio_tools/models/blocks.py:42
↓ 14 callersClassTranspose
stable_audio_tools/models/autoencoders.py:102
↓ 12 callersClassValueLoss
stable_audio_tools/training/losses/losses.py:28
↓ 8 callersClassResnetBlock1d
stable_audio_tools/models/adp.py:276
↓ 7 callersClassAuralossLoss
stable_audio_tools/training/losses/losses.py:109
↓ 7 callersClassConv1d
stable_audio_tools/models/adp.py:126
↓ 6 callersClassEMA
Implements exponential moving average shadowing for your model. Utilizes an inverse decay schedule to manage longer term training runs.
stable_audio_tools/training/ema.py:21
↓ 6 callersClassMSELoss
stable_audio_tools/training/losses/losses.py:68
↓ 6 callersClassSelfAttention1d
stable_audio_tools/models/blocks.py:85
↓ 6 callersClassTransformerBlock
stable_audio_tools/models/adp.py:546
↓ 6 callersClass_ConvBlock
stable_audio_tools/training/metrics/fad_metrics.py:217
↓ 4 callersClassL1Loss
stable_audio_tools/training/losses/losses.py:49
↓ 4 callersClassLayerScale
stable_audio_tools/models/transformer.py:410
↓ 4 callersClassMultiLoss
stable_audio_tools/training/losses/losses.py:117
↓ 4 callersClassNormConv2d
Wrapper around Conv2d and normalization applied to this conv to provide a uniform interface across normalization approaches.
stable_audio_tools/models/encodec.py:19
↓ 4 callersClassPattern
Base implementation of a pattern over a sequence with multiple codebooks. The codebook pattern consists in a layout, defining for each sequence s
stable_audio_tools/models/codebook_patterns.py:19
↓ 4 callersClassRMSNorm
stable_audio_tools/models/blocks.py:359
↓ 4 callersClassStaggeredLogger
Accumulates log values over N steps and flushes averaged metrics. Avoids per-step CUDA syncs (.item()) and prevents PL from caching stale val
stable_audio_tools/training/utils.py:183
↓ 4 callersClassTransformerDiscriminator
stable_audio_tools/models/discriminators.py:1382
↓ 4 callersClassTransformerResamplingBlock
stable_audio_tools/models/autoencoders.py:117
↓ 3 callersClassContinuousTransformer
stable_audio_tools/models/transformer.py:1066
↓ 3 callersClassDiffusionTransformer
stable_audio_tools/models/dit.py:13
↓ 3 callersClassFourierFeatures
stable_audio_tools/models/blocks.py:135
↓ 3 callersClassLogSNRShift
Adaptive log-SNR distribution shift. Maps t∈[0,1] to log-SNR-spaced values while preserving order (0→0, 1→1). Equivalent to applying: logsnr
stable_audio_tools/inference/sampling.py:162
↓ 3 callersClassLossWithTarget
stable_audio_tools/training/losses/losses.py:95
↓ 3 callersClassPQMF
Pseudo Quadrature Mirror Filter (PQMF) for multiband signal decomposition and reconstruction. Uses polyphase representation which is computat
stable_audio_tools/models/pqmf.py:9
↓ 3 callersClassPsychoacousticStereoNoise
Psychoacoustic noise generator that works directly in frequency domain to avoid filterbank reconstruction artifacts
stable_audio_tools/models/psychoacoustics.py:63
↓ 3 callersClassRotaryEmbedding
stable_audio_tools/models/transformer.py:239
↓ 3 callersClassTransformer1d
stable_audio_tools/models/adp.py:588
↓ 3 callersClassUNet1d
stable_audio_tools/models/adp.py:987
↓ 3 callersClassWaveletPretransform
stable_audio_tools/models/pretransforms.py:455
↓ 2 callersClassAbsolutePositionalEmbedding
stable_audio_tools/models/transformer.py:194
↓ 2 callersClassAttention
stable_audio_tools/models/transformer.py:521
↓ 2 callersClassAttention
stable_audio_tools/models/adp.py:476
↓ 2 callersClassBrownianTreeNoiseSampler
A noise sampler backed by a torchsde.BrownianTree. Args: x (Tensor): The tensor whose shape, device and dtype to use to generate
stable_audio_tools/inference/k_diffusion/sampling.py:73
↓ 2 callersClassConvBlock1d
stable_audio_tools/models/adp.py:214
↓ 2 callersClassConvNeXtBlock
stable_audio_tools/models/convnext.py:16
↓ 2 callersClassDACGANLoss
Computes a discriminator loss, given a discriminator on generated waveforms/spectrograms compared to ground truth waveforms/spectrograms.
stable_audio_tools/models/discriminators.py:948
↓ 2 callersClassDPMSolver
DPM-Solver. See https://arxiv.org/abs/2206.00927.
stable_audio_tools/inference/k_diffusion/sampling.py:220
↓ 2 callersClassDiTWrapper
stable_audio_tools/models/diffusion.py:563
↓ 2 callersClassDiffusionAttnUnet1D
stable_audio_tools/models/diffusion.py:449
↓ 2 callersClassDistributionShift
stable_audio_tools/inference/sampling.py:113
↓ 2 callersClassDynamicTanh
stable_audio_tools/models/transformer.py:324
↓ 2 callersClassExpoFourierFeatures
stable_audio_tools/models/blocks.py:145
↓ 2 callersClassFluxDistributionShift
Flux/SD3/Self-Flow timestep shift: t_shifted = alpha * t / (1 + (alpha-1) * t). Convention: t=0 is data, t=1 is noise. alpha > 1 shifts times
stable_audio_tools/inference/sampling.py:40
↓ 2 callersClassGLU
stable_audio_tools/models/transformer.py:419
↓ 2 callersClassIdentityDistributionShift
No-op distribution shift — returns timesteps unchanged.
stable_audio_tools/inference/sampling.py:34
↓ 2 callersClassLayerNorm
stable_audio_tools/models/transformer.py:362
↓ 2 callersClassMono
stable_audio_tools/data/utils.py:135
↓ 2 callersClassMultiConditioner
A module that applies multiple conditioners to an input dictionary based on the keys Args: conditioners: a dictionary of conditioner
stable_audio_tools/models/conditioners.py:1066
↓ 2 callersClassMultiFilterBankDiscriminator
stable_audio_tools/models/discriminators.py:1169
↓ 2 callersClassMultiScaleSTFTDiscriminator
Multi-Scale STFT (MS-STFT) discriminator. Args: filters (int): Number of filters in convolutions in_channels (int): Number of inpu
stable_audio_tools/models/encodec.py:108
↓ 2 callersClassNumberEmbedder
stable_audio_tools/models/adp.py:1456
↓ 2 callersClassPadCrop_Normalized_T
stable_audio_tools/data/utils.py:24
↓ 2 callersClassPatchedPretransform
stable_audio_tools/models/pretransforms.py:473
↓ 2 callersClassPhaseFlipper
Randomly invert the phase of a signal
stable_audio_tools/data/utils.py:127
↓ 2 callersClassRMSNorm
stable_audio_tools/models/transformer.py:390
↓ 2 callersClassSTFTMagnitudeLoss
STFT magnitude loss module. See [Arik et al., 2018](https://arxiv.org/abs/1808.06719) and [Engel et al., 2020](https://arxiv.org/abs/2001.046
stable_audio_tools/training/losses/auraloss.py:252
↓ 2 callersClassSharedDiscriminatorConvNet
stable_audio_tools/models/discriminators.py:270
↓ 2 callersClassSnakeBeta
stable_audio_tools/models/blocks.py:385
↓ 2 callersClassStereo
stable_audio_tools/data/utils.py:139
↓ 2 callersClassT5GemmaConditioner
stable_audio_tools/models/conditioners.py:542
↓ 2 callersClassTAAEBlock
stable_audio_tools/models/autoencoders.py:434
↓ 2 callersClassUNet1DCondWrapper
stable_audio_tools/models/diffusion.py:338
↓ 2 callersClassUNetCFG1d
UNet1d with Classifier-Free Guidance
stable_audio_tools/models/adp.py:1263
↓ 2 callersClassVolumeNorm
Volume normalization and augmentation of a signal [LUFS standard]
stable_audio_tools/data/utils.py:153
↓ 1 callersClassARCTrainingWrapper
Wrapper for ARC post-training on a conditional audio diffusion model.
stable_audio_tools/training/arc.py:93
↓ 1 callersClassAttentionBase
stable_audio_tools/models/adp.py:416
↓ 1 callersClassAudioAutoencoder
stable_audio_tools/models/autoencoders.py:775
↓ 1 callersClassAudioLanguageModel
stable_audio_tools/models/lm.py:35
↓ 1 callersClassAudioLanguageModelDemoCallback
stable_audio_tools/training/lm.py:182
↓ 1 callersClassAudioLanguageModelTrainingWrapper
stable_audio_tools/training/lm.py:21
↓ 1 callersClassAudioLanguageModelWrapper
stable_audio_tools/models/lm.py:141
↓ 1 callersClassAudiocraftCompressionPretransform
stable_audio_tools/models/pretransforms.py:628
↓ 1 callersClassAutoencoderDemoCallback
stable_audio_tools/training/autoencoders.py:1093
↓ 1 callersClassAutoencoderMetricsCallback
FAD metrics for autoencoder training. Compares reconstructed reference audio vs original reference audio using Frechet Audio Distance. Uses t
stable_audio_tools/training/metrics/fad_metrics.py:1173
↓ 1 callersClassAutoencoderPretransform
stable_audio_tools/models/pretransforms.py:54
↓ 1 callersClassAutoencoderTrainingWrapper
stable_audio_tools/training/autoencoders.py:226
↓ 1 callersClassBatchedBrownianTree
A wrapper around torchsde.BrownianTree that enables batches of entropy.
stable_audio_tools/inference/k_diffusion/sampling.py:46
↓ 1 callersClassBigVGANDiscriminator
stable_audio_tools/models/discriminators.py:1013
↓ 1 callersClassBottleneckBlock1d
stable_audio_tools/models/adp.py:915
↓ 1 callersClassCAdamW
Implements Adam algorithm with weight decay fix as introduced in [Decoupled Weight Decay Regularization](https://arxiv.org/abs/1711.05101).
stable_audio_tools/training/optims.py:11
↓ 1 callersClassCLAP
stable_audio_tools/models/clap.py:179
↓ 1 callersClassCLAPAudioConditioner
stable_audio_tools/models/conditioners.py:362
↓ 1 callersClassCLAPLoss
Feature matching loss using CLAP (HTSAT) intermediate layer features. Extracts features from the HTSAT Swin Transformer BasicLayer stages in
stable_audio_tools/training/losses/semantic.py:74
↓ 1 callersClassCLAPTextConditioner
stable_audio_tools/models/conditioners.py:266
↓ 1 callersClassCLAPTrainingWrapper
Wrapper for training a conditional audio diffusion model.
stable_audio_tools/training/clap.py:163
↓ 1 callersClassCLAPValidationCallback
stable_audio_tools/training/clap.py:469
↓ 1 callersClassCLion
stable_audio_tools/training/optims.py:137
↓ 1 callersClassCausalLMConditioner
stable_audio_tools/models/conditioners.py:656
↓ 1 callersClassCepstralLoss
stable_audio_tools/training/losses/auraloss.py:299
↓ 1 callersClassChromaDiscriminator
stable_audio_tools/models/discriminators.py:1108
↓ 1 callersClassChromaPretransform
stable_audio_tools/models/discriminators.py:1481
↓ 1 callersClassCnn14
PANNs CNN14 model for audio embeddings.
stable_audio_tools/training/metrics/fad_metrics.py:238
↓ 1 callersClassComplexSTFTPretransform
stable_audio_tools/models/pretransforms.py:189
↓ 1 callersClassConformerModule
stable_audio_tools/models/transformer.py:818
↓ 1 callersClassContinuousTransformerAudioLMBackbone
stable_audio_tools/models/lm_backbone.py:42
↓ 1 callersClassConvDiscriminator
stable_audio_tools/models/arc.py:20
↓ 1 callersClassConvNeXtDiscriminator
stable_audio_tools/models/arc.py:78
↓ 1 callersClassConvNeXtEncoder
stable_audio_tools/models/convnext.py:85
next →1–100 of 277, ranked by callers