MCPcopy Create free account

hub / github.com/NVIDIA/personaplex / functions

Functions474 in github.com/NVIDIA/personaplex

Methodis_streaming
(self)
moshi/moshi/modules/streaming.py:292
Functionload_streaming_state
load_streaming_state(path, metadata_path) Loads a streaming state from a safetensors file and its associated metadata json file. Parame
moshi/moshi/modules/streaming.py:232
Methodlog
(self, level: str, msg: str)
moshi/moshi/client_utils.py:41
FunctionmimeTypeCheck
()
client/src/pages/Conversation/getMimeType.ts:1
Methodn_q
(self)
moshi/moshi/quantization/vq.py:337
Functionno_cuda_graph
Deactivate CUDA Graphing for all the calls in this context manager.
moshi/moshi/utils/compile.py:199
Methodnum_audio_codebooks
(self)
moshi/moshi/models/lm.py:402
Methodnum_codebooks
(self)
moshi/moshi/quantization/vq.py:180
Methodnum_codebooks
(self)
moshi/moshi/quantization/vq.py:333
Methodnum_codebooks
Number of active codebooks.
moshi/moshi/quantization/base.py:66
Methodnum_codebooks
Total number of codebooks.
moshi/moshi/quantization/base.py:157
Methodnum_codebooks
(self)
moshi/moshi/models/compression.py:81
Methodnum_codebooks
Active number of codebooks used by the quantizer.
moshi/moshi/models/compression.py:251
Methodnum_codebooks
(self)
moshi/moshi/models/compression.py:469
Methodnum_codebooks
(self)
moshi/moshi/models/lm.py:398
Functiono
(e, t)
client/public/assets/decoderWorker.min.js:89
Methodopus_loop
()
moshi/moshi/server.py:204
Functionpad_for_conv1d
Pad for a convolution to make sure that the last window is full. Extra padding is added at the end. This is required to ensure that we can rebuild
moshi/moshi/modules/conv.py:81
Methodprint_header
(self)
moshi/moshi/client_utils.py:34
Methodprint_header
(self)
moshi/moshi/client_utils.py:131
Methodprint_lag
(self)
moshi/moshi/client_utils.py:44
Methodprint_lag
(self)
moshi/moshi/client_utils.py:197
Methodprint_pending
(self)
moshi/moshi/client_utils.py:48
Methodprint_pending
(self)
moshi/moshi/client_utils.py:200
Methodprint_token
(self, token: str)
moshi/moshi/client_utils.py:37
Methodprocess
(inputs, outputs, parameters)
client/src/audio-processor.ts:132
Functionquit_
(status, toThrow)
client/public/assets/decoderWorker.min.js:317
FunctionreceiveInstantiationResult
(result)
client/public/assets/decoderWorker.min.js:677
Methodrecv_loop
()
moshi/moshi/server.py:173
Methodreset
(self)
moshi/moshi/modules/streaming.py:425
Methodreset
(self)
moshi/moshi/modules/streaming.py:439
Methodreset
(self)
moshi/moshi/modules/streaming.py:468
Methodreset
(self)
moshi/moshi/modules/streaming.py:518
Methodreset
(self)
moshi/moshi/modules/transformer.py:260
Methodreset
(self)
moshi/moshi/modules/transformer.py:311
Methodreset
(self)
moshi/moshi/modules/transformer.py:454
Methodreset
(self)
moshi/moshi/modules/transformer.py:623
Methodreset
(self)
moshi/moshi/modules/conv.py:185
Methodreset
(self)
moshi/moshi/modules/conv.py:282
Methodreset
Reset the state, meaning the next call we get CUDA Graphed again. Useful if some shapes have changed, or external state (e.g. KVCache) has cha
moshi/moshi/utils/compile.py:230
Methodreset
(self)
moshi/moshi/models/compression.py:98
Methodreset
(self)
moshi/moshi/models/lm.py:565
Methodsample_rate
(self)
moshi/moshi/models/compression.py:73
Methodsample_rate
(self)
moshi/moshi/models/compression.py:242
Methodsample_rate
(self)
moshi/moshi/models/compression.py:461
Methodsave_streaming_state
Save the streaming state, including that of sub-modules, to the given paths. Parameters ---------- save_path : str
moshi/moshi/modules/streaming.py:367
Methodsemantic_quantizer
This returns the quantizer that models the first level of the hierarchy (typically semantic).
moshi/moshi/quantization/vq.py:345
Methodsemantic_quantizer
This returns the quantizer that models the first level of the hierarchy (typically semantic). In this case, it's the quantizer itself.
moshi/moshi/quantization/base.py:71
FunctionsendControlBOS
()
client/src/pages/Conversation/components/Controls/Controls.tsx:11
FunctionsendControlEOS
()
client/src/pages/Conversation/components/Controls/Controls.tsx:15
Methodsend_loop
()
moshi/moshi/server.py:244
Functionset_attention_context
Deactivates or changes the context span (in time steps) in a model. Args: model (nn.Module): model over which to look for attentions.
moshi/moshi/modules/transformer.py:203
Methodset_num_codebooks
(self, n: int)
moshi/moshi/quantization/vq.py:354
Methodset_num_codebooks
Set the number of active codebooks.
moshi/moshi/quantization/base.py:86
Methodset_num_codebooks
Set the number of active codebooks.
moshi/moshi/quantization/base.py:161
Methodset_num_codebooks
Set the active number of codebooks used by the quantizer.
moshi/moshi/models/compression.py:88
Methodset_num_codebooks
(self, n: int)
moshi/moshi/models/compression.py:445
Methodset_streaming_state
Set the streaming state, including that of sub-modules.
moshi/moshi/modules/streaming.py:405
Methodset_streaming_state_inplace
Set the streaming state in-place, including that of sub-modules using a flattened-state dict.
moshi/moshi/modules/streaming.py:393
Functionsimple_checkpoint
Custom implementation of checkpointing in PyTorch as the builtin implementation is broken when using torch compile. Only supports wrapping a `nn.M
moshi/moshi/utils/compile.py:141
Methodtext_initial_token_id
Token id for the start of sequence (text).
moshi/moshi/models/lm.py:361
Methodtext_padding_token_id
Token id for text padding.
moshi/moshi/models/lm.py:366
Functiontorch_compile_lazy
torch.compile creates a huge pool of processes, even when not using the function at all, e.g. with Dora. This can polute stderr when doing CTRL+C.
moshi/moshi/utils/compile.py:58
Methodtotal_codebooks
(self)
moshi/moshi/quantization/vq.py:176
Methodtotal_codebooks
(self)
moshi/moshi/quantization/vq.py:329
Methodtotal_codebooks
Total number of codebooks.
moshi/moshi/quantization/base.py:61
Methodtotal_codebooks
Total number of codebooks.
moshi/moshi/quantization/base.py:152
Methodtotal_codebooks
(self)
moshi/moshi/models/compression.py:85
Methodtotal_codebooks
Total number of quantizer codebooks available.
moshi/moshi/models/compression.py:246
Methodtotal_codebooks
(self)
moshi/moshi/models/compression.py:473
Methodungenerated_token_id
Special value that can be provided in the prompt to indicate that this specific value should be predicted and sampled. This allows for partial
moshi/moshi/models/lm.py:385
FunctionuseSystemTheme
()
client/src/pages/Conversation/hooks/useSystemTheme.ts:5
FunctionuseUserEmail
(isBypass: boolean)
client/src/pages/Queue/hooks/useUserEmail.ts:6
Methodzero_token_id
Special value in the input tokens, indicating that no sampling should happen for that value, and no input should be given to the model.
moshi/moshi/models/lm.py:379
← previous401–474 of 474, ranked by callers