MCPcopy Create free account

hub / github.com/NVIDIA/personaplex / functions

Functions474 in github.com/NVIDIA/personaplex

Method_init_streaming_state
(self, batch_size: int)
moshi/moshi/modules/transformer.py:694
Method_init_streaming_state
(self, batch_size: int)
moshi/moshi/modules/conv.py:249
Method_init_streaming_state
(self, batch_size: int)
moshi/moshi/modules/conv.py:323
Method_init_streaming_state
(self, batch_size: int)
moshi/moshi/models/compression.py:222
Method_init_streaming_state
(self, batch_size: int)
moshi/moshi/models/lm.py:702
Method_kernel_size
(self)
moshi/moshi/modules/conv.py:235
Method_load_from_state_dict
(self, state_dict, prefix, *args, **kwargs)
moshi/moshi/quantization/core_vq.py:126
Method_match_values_copy_tensors
(args: tuple, target_args: tuple)
moshi/moshi/utils/compile.py:255
Method_padding_total
(self)
moshi/moshi/modules/conv.py:246
Method_replace_expired_codes
(self, samples: torch.Tensor, mask: torch.Tensor)
moshi/moshi/quantization/core_vq.py:157
Method_reset
(name: str, module: StreamingModule)
moshi/moshi/modules/streaming.py:347
Method_set
(name: str, module: StreamingModule)
moshi/moshi/modules/streaming.py:399
Method_stride
(self)
moshi/moshi/modules/conv.py:231
Function_uniform_init
(*shape: int)
moshi/moshi/quantization/core_vq.py:37
Function_wrapped
(*args, **kwargs)
moshi/moshi/utils/compile.py:67
Methodacoustic_quantizer
This returns the quantizer that models the higher levels of the hierarchy (typically acoustic).
moshi/moshi/quantization/vq.py:350
Methodacoustic_quantizer
This returns the quantizer that models the higher levels of the hierarchy (typically acoustic). In this case, it's the quantizer itself.
moshi/moshi/quantization/base.py:79
Methodasdict
(self)
moshi/moshi/utils/compile.py:238
Methodaudio_offset
(self)
moshi/moshi/models/lm.py:406
Methodbackward
(ctx, *grads)
moshi/moshi/utils/compile.py:104
Methodcardinality
(self)
moshi/moshi/quantization/vq.py:188
Methodcardinality
(self)
moshi/moshi/quantization/vq.py:359
Methodcardinality
Cardinality of each codebook.
moshi/moshi/quantization/base.py:56
Methodcardinality
Cardinality of each codebook.
moshi/moshi/quantization/base.py:168
Methodcardinality
(self)
moshi/moshi/models/compression.py:77
Methodcardinality
Cardinality of each codebook.
moshi/moshi/models/compression.py:260
Methodcardinality
(self)
moshi/moshi/models/compression.py:465
Methodchannels
(self)
moshi/moshi/models/compression.py:65
Methodchannels
(self)
moshi/moshi/models/compression.py:234
Methodchannels
(self)
moshi/moshi/models/compression.py:453
Methodconstructor
()
client/src/audio-processor.ts:11
Methodconstructor
(message:string)
client/src/pages/Queue/api/errors/response_error.ts:2
Methodconstructor
(message:string, status:number)
client/src/pages/Queue/api/errors/api_error.ts:4
Functioncuda_graph
Just calls `CUDAGraphed` on the given function.
moshi/moshi/utils/compile.py:304
Methoddecode
Decode the given codes to the quantized representation.
moshi/moshi/quantization/vq.py:320
Methoddecode
Decode the given codes to the quantized representation.
moshi/moshi/quantization/base.py:51
Methoddecode
Decode the given codes to the quantized representation. In the case of the DummyQuantizer, the codes are actually identical to the inp
moshi/moshi/quantization/base.py:143
Methoddecode
Converts integer codes into quantized vectors.
moshi/moshi/quantization/core_vq.py:292
Methoddecode
Converts the integer codes into quantized vectors.
moshi/moshi/quantization/core_vq.py:378
Methoddecode
See `MimiModel.decode`.
moshi/moshi/models/compression.py:54
Methoddecode
(self, codes: torch.Tensor)
moshi/moshi/models/compression.py:439
Methoddecode_latent
Decode from the discrete codes to continuous latent space.
moshi/moshi/models/compression.py:59
Methoddecode_latent
(self, codes: torch.Tensor)
moshi/moshi/models/compression.py:442
Methoddepformer_step
( self, text_token: torch.Tensor, transformer_out: torch.Tensor, audio_tokens:
moshi/moshi/models/lm.py:1129
Methoddimension
(self)
moshi/moshi/quantization/vq.py:341
Methodema_frozen
Whether to apply ema to the codebooks.
moshi/moshi/quantization/base.py:91
Methodembedding
(self)
moshi/moshi/quantization/core_vq.py:274
Methodencode
Encode a given input tensor with the specified frame rate at the given bandwidth. The RVQ encode method sets the appropriate number of quantiz
moshi/moshi/quantization/vq.py:308
Methodencode
Encode a given input tensor with the specified sample rate at the given bandwidth.
moshi/moshi/quantization/base.py:47
Methodencode
Encode a given input tensor with the specified sample rate at the given bandwidth. In the case of the DummyQuantizer, the codes are actually i
moshi/moshi/quantization/base.py:135
Methodencode
Encodes `x` into discrete integer codes.
moshi/moshi/quantization/core_vq.py:285
Methodencode
Encodes `x` into discrete integer codes. If `n_q` is provided, only uses the first `n_q` codebook levels.
moshi/moshi/quantization/core_vq.py:365
Methodencode
See `MimiModel.encode`.
moshi/moshi/models/compression.py:49
Methodencode
(self, x: torch.Tensor)
moshi/moshi/models/compression.py:436
Methodencode_to_latent
Projects a batch of waveforms to latent space. Args: x (torch.Tensor): Float tensor of shape [B, C, T]. Returns:
moshi/moshi/models/compression.py:382
Methodend_of_text_padding_id
Token id for optionally marking the last padding step for a word.
moshi/moshi/models/lm.py:374
Methodforward
(self, x: torch.Tensor)
moshi/moshi/modules/resample.py:79
Methodforward
(self, x: torch.Tensor)
moshi/moshi/modules/resample.py:130
Methodforward
(self, x)
moshi/moshi/modules/seanet.py:113
Methodforward
(self, x)
moshi/moshi/modules/seanet.py:261
Methodforward
(self, z)
moshi/moshi/modules/seanet.py:414
Methodforward
Apply rope rotation to query or key tensor.
moshi/moshi/modules/rope.py:103
Methodforward
(self, x: torch.Tensor)
moshi/moshi/modules/gating.py:69
Methodforward
(self, input: torch.Tensor)
moshi/moshi/modules/streaming.py:483
Methodforward
(self, x: torch.Tensor)
moshi/moshi/modules/streaming.py:537
Methodforward
(self, input: torch.Tensor)
moshi/moshi/modules/transformer.py:49
Methodforward
(self, x: torch.Tensor)
moshi/moshi/modules/transformer.py:117
Methodforward
(self, query: torch.Tensor, key: torch.Tensor, value: torch.Tensor)
moshi/moshi/modules/transformer.py:400
Methodforward
(self, x: torch.Tensor)
moshi/moshi/modules/transformer.py:607
Methodforward
(self, x: torch.Tensor, *args, **kwargs)
moshi/moshi/modules/transformer.py:698
Methodforward
(self, x, *args, **kwargs)
moshi/moshi/modules/transformer.py:762
Methodforward
(self, x)
moshi/moshi/modules/conv.py:55
Methodforward
(self, x)
moshi/moshi/modules/conv.py:151
Methodforward
(self, x)
moshi/moshi/modules/conv.py:175
Methodforward
(self, x)
moshi/moshi/modules/conv.py:253
Methodforward
(self, x)
moshi/moshi/modules/conv.py:327
Methodforward
(ctx, function, *args)
moshi/moshi/utils/compile.py:80
Methodforward
Args: x (torch.Tensor): Input tensor of shape [B, C, T] with `C` number of channels. frame_rate (int): frame rate of
moshi/moshi/quantization/vq.py:123
Methodforward
Args: x (torch.Tensor): Input tensor of shape [B, C, T] with `C` number of channels. frame_rate (int): frame rate of
moshi/moshi/quantization/vq.py:262
Methodforward
Given input tensor x, returns first the quantized (or approximately quantized) representation along with quantized codes, bandwidth,
moshi/moshi/quantization/base.py:38
Methodforward
(self, x: torch.Tensor, frame_rate: int)
moshi/moshi/quantization/base.py:128
Methodforward
( self, x: torch.Tensor, initialize: bool = True )
moshi/moshi/quantization/core_vq.py:208
Methodforward
(self, x: torch.Tensor, initialize: bool = True)
moshi/moshi/quantization/core_vq.py:299
Methodforward
Args: x (torch.Tensor): input tensor to quantize, of shape `[B, C, T]`. n_q (int or None): if provided, number of cod
moshi/moshi/quantization/core_vq.py:324
Methodforward
(self, x: torch.Tensor)
moshi/moshi/models/compression.py:46
Methodforward
(self, x: torch.Tensor)
moshi/moshi/models/compression.py:433
Methodforward
(self, input, *args, **kwargs)
moshi/moshi/models/lm.py:207
Methodforward_train
(self, codes: torch.Tensor)
moshi/moshi/models/lm.py:531
Methodframe_rate
(self)
moshi/moshi/models/compression.py:69
Methodframe_rate
(self)
moshi/moshi/models/compression.py:238
Methodframe_rate
(self)
moshi/moshi/models/compression.py:457
FunctiongetAPIClient
(url:string)
client/src/pages/Queue/api/client.ts:5
FunctiongetSystemPref
()
client/src/pages/Conversation/hooks/useSystemTheme.ts:6
Functionget_mimi
Return a pretrained Mimi model.
moshi/moshi/models/loaders.py:129
Functionget_moshi_lm
Return a pretrained Moshi LM model. Args: filename: Path to model weights. copy_missing_weights: Whether to copy missing weights
moshi/moshi/models/loaders.py:166
FunctionhandleChange
(e: MediaQueryListEvent)
client/src/pages/Conversation/hooks/useSystemTheme.ts:26
Methodhandle_chat
(self, request)
moshi/moshi/server.py:135
Functionhandle_root
(_)
moshi/moshi/server.py:462
Methodinitial_token_id
Token id for the start of sequence (audio).
moshi/moshi/models/lm.py:356
Methodis_alive
()
moshi/moshi/server.py:268
← previousnext →301–400 of 474, ranked by callers