MCPcopy Index your code

hub / github.com/NVIDIA/personaplex / types & classes

Types & classes72 in github.com/NVIDIA/personaplex

↓ 8 callersClassStreamingConv1d
Conv1d with some builtin handling of asymmetric or causal padding and normalization.
moshi/moshi/modules/conv.py:189
↓ 6 callersClassCUDAGraphed
Allow simple CUDA Graphing of a function. Args: func: callable, taking any number of arguments. Its tensors arguments should
moshi/moshi/utils/compile.py:210
↓ 3 callersClassQuantizedResult
moshi/moshi/quantization/base.py:23
↓ 3 callersClassStreamingTransformer
Transformer with Streaming / Causal support. Args: d_model (int): Dimension of the data. num_heads (int): Number of heads.
moshi/moshi/modules/transformer.py:627
↓ 2 callersClassKVCacheResult
moshi/moshi/modules/transformer.py:219
↓ 2 callersClassLMGen
moshi/moshi/models/lm.py:646
↓ 2 callersClassLMModel
Transformer-based language model on multiple streams of codes. Args: n_q (int): Number of parallel streams to model as input. dep
moshi/moshi/models/lm.py:218
↓ 2 callersClassLayerScale
Layer scale from [Touvron et al 2021] (https://arxiv.org/pdf/2103.17239.pdf). This rescales diagonally the residual outputs close to 0, with a lea
moshi/moshi/modules/transformer.py:89
↓ 2 callersClassRMSNorm
moshi/moshi/modules/transformer.py:70
↓ 2 callersClassRawStreamingConv1d
moshi/moshi/modules/streaming.py:472
↓ 2 callersClassRawStreamingConvTranspose1d
moshi/moshi/modules/streaming.py:522
↓ 2 callersClassResidualVectorQuantizer
Residual Vector Quantizer. Args: dimension (int): Dimension of the codebooks. input_dimension (None or int): dimension of the inp
moshi/moshi/quantization/vq.py:41
↓ 2 callersClassSEANetResnetBlock
Residual block from SEANet model. Args: dim (int): Dimension of the input/output. kernel_sizes (list): List of kernel sizes for t
moshi/moshi/modules/seanet.py:42
↓ 2 callersClassStreamingConvTranspose1d
ConvTranspose1d with some builtin handling of asymmetric or causal padding and normalization.
moshi/moshi/modules/conv.py:286
↓ 2 callersClass_VQForwardResult
moshi/moshi/quantization/core_vq.py:26
↓ 1 callersClassActivationGating
Gating FFN layer, using the given activation. Args: dim (int): dimension of the input and output of the transformer. activati
moshi/moshi/modules/gating.py:45
↓ 1 callersClassConvDownsample1d
Downsampling by some integer amount `stride` using convolutions with a kernel size of twice the stride. If `causal` is True, the output u
moshi/moshi/modules/resample.py:35
↓ 1 callersClassConvTrUpsample1d
Upsample by some integer amount `stride` using transposed convolutions.
moshi/moshi/modules/resample.py:89
↓ 1 callersClassEuclideanCodebook
Codebook with Euclidean distance. Args: dim (int): Dimension. codebook_size (int): Codebook size. decay (float): Decay fo
moshi/moshi/quantization/core_vq.py:73
↓ 1 callersClassLMOutput
moshi/moshi/models/lm.py:61
↓ 1 callersClassLayerNormF32
moshi/moshi/modules/transformer.py:48
↓ 1 callersClassLine
moshi/moshi/client_utils.py:67
↓ 1 callersClassLineEntry
moshi/moshi/client_utils.py:53
↓ 1 callersClassMimiModel
Mimi model operating on the raw waveform. Args: encoder (nn.Module): Encoder network. decoder (nn.Module): Decoder network.
moshi/moshi/models/compression.py:102
↓ 1 callersClassNormConv1d
Wrapper around Conv1d and normalization applied to this conv to provide a uniform interface across normalization approaches.
moshi/moshi/modules/conv.py:132
↓ 1 callersClassNormConvTranspose1d
Wrapper around ConvTranspose1d and normalization applied to this conv to provide a uniform interface across normalization approaches.
moshi/moshi/modules/conv.py:156
↓ 1 callersClassResidualVectorQuantization
Residual vector quantization implementation. Follows Algorithm 1. in https://arxiv.org/pdf/2107.03312.pdf
moshi/moshi/quantization/core_vq.py:311
↓ 1 callersClassRingKVCache
Efficient streaming KVCache to be compatible with Cuda Graph. Args: batch_size (int): Batch size. num_heads (int): Number of head
moshi/moshi/modules/transformer.py:232
↓ 1 callersClassRotaryEmbedding
Rotary positional embedding (RoPE) from [Su et al 2022](https://arxiv.org/abs/2104.09864). Args: max_period (float): Maximum period of th
moshi/moshi/modules/rope.py:92
↓ 1 callersClassSEANetDecoder
SEANet decoder. Args: channels (int): Audio channels. dimension (int): Intermediate representation dimension. n_filters (
moshi/moshi/modules/seanet.py:265
↓ 1 callersClassSEANetEncoder
SEANet encoder. Args: channels (int): Audio channels. dimension (int): Intermediate representation dimension. n_filters (
moshi/moshi/modules/seanet.py:118
↓ 1 callersClassServerState
moshi/moshi/server.py:90
↓ 1 callersClassSplitResidualVectorQuantizer
Residual Vector Quantizer with separate projections for the first quantizer and the rest. Args: n_q (int): Number of residual vector quan
moshi/moshi/quantization/vq.py:192
↓ 1 callersClassStreamingAdd
moshi/moshi/modules/streaming.py:444
↓ 1 callersClassStreamingMultiheadAttention
Similar to `nn.MultiheadAttention` but with support for streaming, causal evaluation. Args: embed_dim (int): Dimension to project to.
moshi/moshi/modules/transformer.py:317
↓ 1 callersClassVectorQuantization
Vector quantization implementation. Currently supports only euclidean distance. Args: dim (int): Dimension codebook_size (int
moshi/moshi/quantization/core_vq.py:222
↓ 1 callersClass_CodebookForwardResult
moshi/moshi/quantization/core_vq.py:20
↓ 1 callersClass_LMGenState
moshi/moshi/models/lm.py:556
↓ 1 callersClass_LayerState
moshi/moshi/modules/transformer.py:451
↓ 1 callersClass_MHAState
moshi/moshi/modules/transformer.py:306
↓ 1 callersClass_MimiState
moshi/moshi/models/compression.py:94
↓ 1 callersClass_NullState
moshi/moshi/modules/streaming.py:422
↓ 1 callersClass_StreamingAddState
moshi/moshi/modules/streaming.py:435
↓ 1 callersClass_StreamingConv1dState
moshi/moshi/modules/conv.py:181
↓ 1 callersClass_StreamingConvState
moshi/moshi/modules/streaming.py:465
↓ 1 callersClass_StreamingConvTr1dState
moshi/moshi/modules/conv.py:279
↓ 1 callersClass_StreamingConvTrState
moshi/moshi/modules/streaming.py:515
↓ 1 callersClass_TransformerState
moshi/moshi/modules/transformer.py:620
Class
client/src/audio-processor.ts:10
Class
client/src/pages/Queue/api/errors/response_error.ts:1
Class
client/src/pages/Queue/api/errors/api_error.ts:1
ClassAPIError
client/src/pages/Queue/api/errors/api_error.ts:1
ClassBaseQuantizer
Base class for quantizers.
moshi/moshi/quantization/base.py:31
ClassCheckpoint
moshi/moshi/utils/compile.py:78
ClassColorizedLog
moshi/moshi/utils/logging.py:62
ClassCompressionModel
Base API for all compression model that aim at being used as audio tokenizers with a language model.
moshi/moshi/models/compression.py:40
ClassDummyQuantizer
Fake quantizer that actually does not perform any quantization.
moshi/moshi/quantization/base.py:100
InterfaceHomepageProps
client/src/pages/Queue/Queue.tsx:37
ClassMoshiProcessor
client/src/audio-processor.ts:10
ClassPrinter
moshi/moshi/client_utils.py:122
ClassProjectedTransformer
Transformer with optional projections of the input and output to different dimensions when needed. Supports multiple outputs. Args: i
moshi/moshi/modules/transformer.py:723
ClassRawPrinter
moshi/moshi/client_utils.py:29
ClassResetable
moshi/moshi/modules/streaming.py:47
ClassResponseError
client/src/pages/Queue/api/errors/response_error.ts:1
ClassScaledEmbedding
Boost learning rate for embeddings (with `scale`). Args: norm (bool): if True, uses a layer norm after the embedding. zero_idx (i
moshi/moshi/models/lm.py:191
ClassStreamingContainer
moshi/moshi/modules/streaming.py:429
ClassStreamingModule
Common API for streaming components. Each streaming component has a streaming state, which is just a dict[str, Tensor]. By convention, the fi
moshi/moshi/modules/streaming.py:262
ClassStreamingTransformerLayer
TransformerLayer with Streaming / Causal support. Args: d_model (int): Dimension of the data. num_heads (int): Number of heads.
moshi/moshi/modules/transformer.py:458
ClassTorchAutocast
TorchAutocast utility class. Allows you to enable and disable autocast. This is specially useful when dealing with different architectures and
moshi/moshi/utils/autocast.py:14
ClassTransposedLayerNorm
LayerNorm for [B, C, T] inputs.
moshi/moshi/modules/conv.py:48
EnumUserMediaStatuses
client/src/pages/Conversation/hooks/useUserAudio.ts:None
ClassWrapperCompressionModel
Base API for CompressionModel wrappers that do not depend on external frameworks.
moshi/moshi/models/compression.py:426