Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/personaplex
/ functions
Functions
474 in github.com/NVIDIA/personaplex
⨍
Functions
474
◇
Types & classes
72
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
Method
acoustic_quantizer
This returns the quantizer that models the higher levels of the hierarchy (typically acoustic).
moshi/moshi/quantization/vq.py:350
Method
acoustic_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
Method
asdict
(self)
moshi/moshi/utils/compile.py:238
Method
audio_offset
(self)
moshi/moshi/models/lm.py:406
Method
backward
(ctx, *grads)
moshi/moshi/utils/compile.py:104
Method
cardinality
(self)
moshi/moshi/quantization/vq.py:188
Method
cardinality
(self)
moshi/moshi/quantization/vq.py:359
Method
cardinality
Cardinality of each codebook.
moshi/moshi/quantization/base.py:56
Method
cardinality
Cardinality of each codebook.
moshi/moshi/quantization/base.py:168
Method
cardinality
(self)
moshi/moshi/models/compression.py:77
Method
cardinality
Cardinality of each codebook.
moshi/moshi/models/compression.py:260
Method
cardinality
(self)
moshi/moshi/models/compression.py:465
Method
channels
(self)
moshi/moshi/models/compression.py:65
Method
channels
(self)
moshi/moshi/models/compression.py:234
Method
channels
(self)
moshi/moshi/models/compression.py:453
Method
constructor
()
client/src/audio-processor.ts:11
Method
constructor
(message:string)
client/src/pages/Queue/api/errors/response_error.ts:2
Method
constructor
(message:string, status:number)
client/src/pages/Queue/api/errors/api_error.ts:4
Function
cuda_graph
Just calls `CUDAGraphed` on the given function.
moshi/moshi/utils/compile.py:304
Method
decode
Decode the given codes to the quantized representation.
moshi/moshi/quantization/vq.py:320
Method
decode
Decode the given codes to the quantized representation.
moshi/moshi/quantization/base.py:51
Method
decode
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
Method
decode
Converts integer codes into quantized vectors.
moshi/moshi/quantization/core_vq.py:292
Method
decode
Converts the integer codes into quantized vectors.
moshi/moshi/quantization/core_vq.py:378
Method
decode
See `MimiModel.decode`.
moshi/moshi/models/compression.py:54
Method
decode
(self, codes: torch.Tensor)
moshi/moshi/models/compression.py:439
Method
decode_latent
Decode from the discrete codes to continuous latent space.
moshi/moshi/models/compression.py:59
Method
decode_latent
(self, codes: torch.Tensor)
moshi/moshi/models/compression.py:442
Method
depformer_step
( self, text_token: torch.Tensor, transformer_out: torch.Tensor, audio_tokens:
moshi/moshi/models/lm.py:1129
Method
dimension
(self)
moshi/moshi/quantization/vq.py:341
Method
ema_frozen
Whether to apply ema to the codebooks.
moshi/moshi/quantization/base.py:91
Method
embedding
(self)
moshi/moshi/quantization/core_vq.py:274
Method
encode
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
Method
encode
Encode a given input tensor with the specified sample rate at the given bandwidth.
moshi/moshi/quantization/base.py:47
Method
encode
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
Method
encode
Encodes `x` into discrete integer codes.
moshi/moshi/quantization/core_vq.py:285
Method
encode
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
Method
encode
See `MimiModel.encode`.
moshi/moshi/models/compression.py:49
Method
encode
(self, x: torch.Tensor)
moshi/moshi/models/compression.py:436
Method
encode_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
Method
end_of_text_padding_id
Token id for optionally marking the last padding step for a word.
moshi/moshi/models/lm.py:374
Method
forward
(self, x: torch.Tensor)
moshi/moshi/modules/resample.py:79
Method
forward
(self, x: torch.Tensor)
moshi/moshi/modules/resample.py:130
Method
forward
(self, x)
moshi/moshi/modules/seanet.py:113
Method
forward
(self, x)
moshi/moshi/modules/seanet.py:261
Method
forward
(self, z)
moshi/moshi/modules/seanet.py:414
Method
forward
Apply rope rotation to query or key tensor.
moshi/moshi/modules/rope.py:103
Method
forward
(self, x: torch.Tensor)
moshi/moshi/modules/gating.py:69
Method
forward
(self, input: torch.Tensor)
moshi/moshi/modules/streaming.py:483
Method
forward
(self, x: torch.Tensor)
moshi/moshi/modules/streaming.py:537
Method
forward
(self, input: torch.Tensor)
moshi/moshi/modules/transformer.py:49
Method
forward
(self, x: torch.Tensor)
moshi/moshi/modules/transformer.py:117
Method
forward
(self, query: torch.Tensor, key: torch.Tensor, value: torch.Tensor)
moshi/moshi/modules/transformer.py:400
Method
forward
(self, x: torch.Tensor)
moshi/moshi/modules/transformer.py:607
Method
forward
(self, x: torch.Tensor, *args, **kwargs)
moshi/moshi/modules/transformer.py:698
Method
forward
(self, x, *args, **kwargs)
moshi/moshi/modules/transformer.py:762
Method
forward
(self, x)
moshi/moshi/modules/conv.py:55
Method
forward
(self, x)
moshi/moshi/modules/conv.py:151
Method
forward
(self, x)
moshi/moshi/modules/conv.py:175
Method
forward
(self, x)
moshi/moshi/modules/conv.py:253
Method
forward
(self, x)
moshi/moshi/modules/conv.py:327
Method
forward
(ctx, function, *args)
moshi/moshi/utils/compile.py:80
Method
forward
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
Method
forward
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
Method
forward
Given input tensor x, returns first the quantized (or approximately quantized) representation along with quantized codes, bandwidth,
moshi/moshi/quantization/base.py:38
Method
forward
(self, x: torch.Tensor, frame_rate: int)
moshi/moshi/quantization/base.py:128
Method
forward
( self, x: torch.Tensor, initialize: bool = True )
moshi/moshi/quantization/core_vq.py:208
Method
forward
(self, x: torch.Tensor, initialize: bool = True)
moshi/moshi/quantization/core_vq.py:299
Method
forward
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
Method
forward
(self, x: torch.Tensor)
moshi/moshi/models/compression.py:46
Method
forward
(self, x: torch.Tensor)
moshi/moshi/models/compression.py:433
Method
forward
(self, input, *args, **kwargs)
moshi/moshi/models/lm.py:207
Method
forward_train
(self, codes: torch.Tensor)
moshi/moshi/models/lm.py:531
Method
frame_rate
(self)
moshi/moshi/models/compression.py:69
Method
frame_rate
(self)
moshi/moshi/models/compression.py:238
Method
frame_rate
(self)
moshi/moshi/models/compression.py:457
Function
getAPIClient
(url:string)
client/src/pages/Queue/api/client.ts:5
Function
getSystemPref
()
client/src/pages/Conversation/hooks/useSystemTheme.ts:6
Function
get_mimi
Return a pretrained Mimi model.
moshi/moshi/models/loaders.py:129
Function
get_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
Function
handleChange
(e: MediaQueryListEvent)
client/src/pages/Conversation/hooks/useSystemTheme.ts:26
Method
handle_chat
(self, request)
moshi/moshi/server.py:135
Function
handle_root
(_)
moshi/moshi/server.py:462
Method
initial_token_id
Token id for the start of sequence (audio).
moshi/moshi/models/lm.py:356
Method
is_alive
()
moshi/moshi/server.py:268
← previous
next →
301–400 of 474, ranked by callers