MCPcopy Create free account

hub / github.com/NVIDIA/personaplex / functions

Functions474 in github.com/NVIDIA/personaplex

↓ 1 callersFunctionsafe_asdict
safe_asdict(dataclass_obj) Converts a dataclass object to a dict, skipping empty nested dataclasses without requiring values to be pickl
moshi/moshi/modules/streaming.py:166
↓ 1 callersFunctionsample_top_k
Sample next token from top K values along the last dimension of the input probs tensor. Args: probs (torch.Tensor): Input probabilities w
moshi/moshi/utils/sampling.py:72
↓ 1 callersFunctionsample_top_p
Sample next token from top P probabilities along the last dimension of the input probs tensor. Args: probs (torch.Tensor): Input probabil
moshi/moshi/utils/sampling.py:87
↓ 1 callersFunctionseed_all
Seed torch, CUDA, numpy, and Python RNG for reproducible runs. Matches the seeding strategy in server.py.
moshi/moshi/offline.py:66
↓ 1 callersMethodset_num_codebooks
(self, n: int)
moshi/moshi/quantization/vq.py:183
↓ 1 callersMethodset_streaming_propagate
(self, streaming_propagate: bool)
moshi/moshi/modules/streaming.py:295
↓ 1 callersFunctionsetupWorker
()
client/src/pages/Conversation/hooks/useServerAudio.ts:152
↓ 1 callersMethodstep_embeddings
(self, embeddings: torch.Tensor)
moshi/moshi/models/lm.py:853
↓ 1 callersMethodstep_system_prompts
(self, mimi)
moshi/moshi/models/lm.py:1123
↓ 1 callersMethodstep_system_prompts_async
(self, mimi, is_alive: Optional[Callable]=None)
moshi/moshi/models/lm.py:1117
↓ 1 callersFunctiontest
()
moshi/moshi/modules/streaming.py:573
↓ 1 callersFunctiontorch_auto_device
Return a torch.device based on the requested string or availability.
moshi/moshi/server.py:57
↓ 1 callersFunctionupdateGlobalBufferAndViews
(buf)
client/public/assets/decoderWorker.min.js:512
↓ 1 callersFunctionuseLocalStorage
(key: string, initialValue: T)
client/src/pages/Conversation/hooks/useLocalStorage.ts:3
↓ 1 callersFunctionuseServerAudio
({setGetAudioStats}: useServerAudioArgs)
client/src/pages/Conversation/hooks/useServerAudio.ts:28
↓ 1 callersFunctionuseServerInfo
()
client/src/pages/Conversation/hooks/useServerInfo.ts:63
↓ 1 callersFunctionuseServerText
()
client/src/pages/Conversation/hooks/useServerText.ts:5
↓ 1 callersFunctionuseSocket
({ onMessage, uri, onDisconnect: onDisconnectProp, }: { onMessage?: (message: WSMessage) => void; ur
client/src/pages/Conversation/hooks/useSocket.ts:5
↓ 1 callersFunctionuseUserAudio
({ constraints, onDataChunk, onRecordingStart = () => {}, onRecordingStop = () => {}, }: useUserAudioA
client/src/pages/Conversation/hooks/useUserAudio.ts:23
↓ 1 callersFunctionvalidateAddUser
(response: unknown)
client/src/pages/Queue/api/validators.ts:3
↓ 1 callersFunctionvalidateCheckUser
(response: unknown)
client/src/pages/Queue/api/validators.ts:11
↓ 1 callersFunctionwarmup
Run a short warmup loop to initialize CUDA graphs and streaming state. Replicates the same warmup behavior as server.py: zeros → encode → LMGen.s
moshi/moshi/offline.py:93
↓ 1 callersMethodwarmup
(self)
moshi/moshi/server.py:119
↓ 1 callersFunctionwrap_with_system_tags
Add system tags as the model expects if they are missing. Example: "<system> You enjoy having a good conversation. Have a deep conversation about
moshi/moshi/offline.py:83
↓ 1 callersFunctionwrap_with_system_tags
Add system tags as the model expects if they are missing. Example: "<system> You enjoy having a good conversation. Have a deep conversation about
moshi/moshi/server.py:79
FunctionAudioVisualizer
({ analyser })
client/src/pages/Conversation/components/AudioVisualizer/AudioVisualizer.tsx:7
FunctionButton
({ children, className, ...props })
client/src/components/Button/Button.tsx:4
FunctionClientVisualizer
({ analyser, parent, theme })
client/src/pages/Conversation/components/AudioVisualizer/ClientVisualizer.tsx:27
FunctionControls
()
client/src/pages/Conversation/components/Controls/Controls.tsx:8
FunctionConversation
({ workerAddr, workerAuthId, audioContext, worklet, sessionAuthId, sessionId, onConversationEnd,
client/src/pages/Conversation/Conversation.tsx:79
FunctionExitStatus
(status)
client/public/assets/decoderWorker.min.js:855
FunctionHomepage
({ startConnection, showMicrophoneAccessMessage, textPrompt, setTextPrompt, voicePrompt, setVoiceP
client/src/pages/Queue/Queue.tsx:46
FunctionInput
({className, error, ...props}:InputProps)
client/src/components/Input/Input.tsx:5
FunctionModelParams
({ textTemperature, textTopk, audioTemperature, audioTopk, padMult, repetitionPenalty, repetitio
client/src/pages/Conversation/components/ModelParams/ModelParams.tsx:9
FunctionQueue
()
client/src/pages/Queue/Queue.tsx:128
FunctionServerAudio
({ setGetAudioStats, theme })
client/src/pages/Conversation/components/ServerAudio/ServerAudio.tsx:10
FunctionServerAudioStats
({ getAudioStats }: ServerAudioStatsProps)
client/src/pages/Conversation/components/ServerAudio/ServerAudioStats.tsx:16
FunctionServerInfo
()
client/src/pages/Conversation/components/ServerInfo/ServerInfo.tsx:3
FunctionServerVisualizer
({ analyser, parent, theme })
client/src/pages/Conversation/components/AudioVisualizer/ServerVisualizer.tsx:14
FunctionTextDisplay
({ containerRef, })
client/src/pages/Conversation/components/TextDisplay/TextDisplay.tsx:8
FunctionTextDisplayStats
({ totalTextMessages, })
client/src/pages/Conversation/components/TextDisplay/TextDisplayStats.tsx:6
FunctionUserAudio
({theme})
client/src/pages/Conversation/components/UserAudio/UserAudio.tsx:10
FunctionUserAudioStats
({ sentMessagesCount, })
client/src/pages/Conversation/components/UserAudio/UserAudioStats.tsx:7
Method__bool__
(self)
moshi/moshi/client_utils.py:74
Method__call__
(self, *args, **kwargs)
moshi/moshi/utils/compile.py:241
Method__enter__
(self)
moshi/moshi/utils/autocast.py:29
Method__exit__
(self, *args, **kwargs)
moshi/moshi/utils/autocast.py:42
Method__init__
(self, mimi: MimiModel, other_mimi: MimiModel, text_tokenizer: sentencepiece.SentencePieceProcessor,
moshi/moshi/server.py:97
Method__init__
(self, stream=sys.stdout, err_stream=sys.stderr)
moshi/moshi/client_utils.py:30
Method__init__
(self, stream)
moshi/moshi/client_utils.py:68
Method__init__
(self, max_cols: int = 80, stream=sys.stdout, err_stream=sys.stderr)
moshi/moshi/client_utils.py:123
Method__init__
( self, stride: int, dimension: tp.Optional[int] = None, causal: bool = False,
moshi/moshi/modules/resample.py:94
Method__init__
( self, dim: int, kernel_sizes: tp.List[int] = [3, 1], dilations: tp.List[int]
moshi/moshi/modules/seanet.py:60
Method__init__
( self, channels: int = 1, dimension: int = 128, n_filters: int = 32,
moshi/moshi/modules/seanet.py:295
Method__init__
(self, max_period: float = 10000.0)
moshi/moshi/modules/rope.py:99
Method__init__
(self, dim: int, dim_feedforward: int, activation, **factory_kwargs)
moshi/moshi/modules/gating.py:56
Method__init__
(self, *args, **kwargs)
moshi/moshi/modules/streaming.py:473
Method__init__
(self, *args, **kwargs)
moshi/moshi/modules/streaming.py:525
Method__init__
( self, channels: int, init: float = 1e-4, channel_last: bool = True,
moshi/moshi/modules/transformer.py:101
Method__init__
( self, batch_size: int, num_heads: int, dim_per_head: int, capacity:
moshi/moshi/modules/transformer.py:243
Method__init__
( self, embed_dim: int, num_heads: int, causal: bool = False, context:
moshi/moshi/modules/transformer.py:336
Method__init__
( self, d_model: int, num_heads: int, dim_feedforward: int | list[int] = 2048,
moshi/moshi/modules/transformer.py:481
Method__init__
( self, d_model: int, num_heads: int, num_layers: int, dim_feedforward
moshi/moshi/modules/transformer.py:648
Method__init__
( self, input_dimension: int, output_dimensions: tp.Tuple[int, ...], d_model:
moshi/moshi/modules/transformer.py:735
Method__init__
(self, **kwargs)
moshi/moshi/modules/conv.py:51
Method__init__
( self, *args, causal: bool = False, norm: str = "none", norm_kwargs:
moshi/moshi/modules/conv.py:161
Method__init__
( self, in_channels: int, out_channels: int, kernel_size: int, stride:
moshi/moshi/modules/conv.py:194
Method__init__
( self, in_channels: int, out_channels: int, kernel_size: int, stride:
moshi/moshi/modules/conv.py:291
Method__init__
(self, prefix: str, info_color: str)
moshi/moshi/utils/logging.py:63
Method__init__
(self, enabled: bool, *args, **kwargs)
moshi/moshi/utils/autocast.py:26
Method__init__
(self, func: tp.Callable, warmup_steps: int = 1, disable: bool = False)
moshi/moshi/utils/compile.py:222
Method__init__
( self, *, n_q: int = 8, no_quantization_rate: float = 0.0, no_quantiz
moshi/moshi/quantization/vq.py:204
Method__init__
( self, dimension: int, input_dimension: tp.Optional[int] = None, output_dimen
moshi/moshi/quantization/base.py:103
Method__init__
( self, dim: int, codebook_size: int, codebook_dim: tp.Optional[int] = None,
moshi/moshi/quantization/core_vq.py:241
Method__init__
(self, *, num_quantizers: int, codebook_offset: int, **kwargs)
moshi/moshi/quantization/core_vq.py:317
Method__init__
(self, model: CompressionModel)
moshi/moshi/models/compression.py:429
Method__init__
(self, *args, norm: bool = False, zero_idx: int = -1, **kwargs)
moshi/moshi/models/lm.py:199
Method__init__
( self, delays: List[int] = [0], n_q: int = 8, dep_q: int = 8, card: i
moshi/moshi/models/lm.py:242
Method__len__
(self)
moshi/moshi/client_utils.py:63
Method__len__
(self)
moshi/moshi/client_utils.py:77
Function_abort
()
client/public/assets/decoderWorker.min.js:746
Method_add
(name: str, module: StreamingModule)
moshi/moshi/modules/streaming.py:361
Method_broadcast_buffers
(self)
moshi/moshi/quantization/core_vq.py:152
Method_clone_tensors
(args: tuple)
moshi/moshi/utils/compile.py:247
Function_compute_entropy
(usage: torch.Tensor)
moshi/moshi/quantization/core_vq.py:54
Method_context_for_encoder_decoder
(self)
moshi/moshi/models/compression.py:291
Method_effective_kernel_size
(self)
moshi/moshi/modules/conv.py:239
Function_ema_inplace
(moving_avg: torch.Tensor, new: torch.Tensor, decay: float)
moshi/moshi/quantization/core_vq.py:33
Function_emscripten_memcpy_big
(dest, src, num)
client/public/assets/decoderWorker.min.js:749
Function_emscripten_resize_heap
(requestedSize)
client/public/assets/decoderWorker.min.js:755
Function_fd_close
(fd)
client/public/assets/decoderWorker.min.js:786
Function_fd_seek
(fd, offset_low, offset_high, whence, newOffset)
client/public/assets/decoderWorker.min.js:789
Function_fd_write
(fd, iov, iovcnt, pnum)
client/public/assets/decoderWorker.min.js:790
Method_handle_module
(prefix: str, module: torch.nn.Module, recurse: bool = True)
moshi/moshi/modules/streaming.py:299
Method_init_streaming_state
(self, batch_size: int)
moshi/moshi/modules/streaming.py:329
Method_init_streaming_state
(self, batch_size: int)
moshi/moshi/modules/streaming.py:430
Method_init_streaming_state
(self, batch_size: int)
moshi/moshi/modules/streaming.py:480
Method_init_streaming_state
(self, batch_size: int)
moshi/moshi/modules/streaming.py:534
Method_init_streaming_state
(self, batch_size: int)
moshi/moshi/modules/transformer.py:370
Method_init_streaming_state
(self, batch_size: int)
moshi/moshi/modules/transformer.py:571
← previousnext →201–300 of 474, ranked by callers