MCPcopy Create free account

hub / github.com/evilsocket/cake / functions

Functions2,320 in github.com/evilsocket/cake

↓ 2 callersFunctionload_wav_mono_24k
(path: &std::path::Path)
cake-cli/src/main.rs:566
↓ 2 callersFunctionmake_bias_norm
(dim: usize)
cake-core/src/models/luxtts/bias_norm.rs:44
↓ 2 callersFunctionmake_disk_provider
Create a temp safetensors file with expert tensors and return DiskProvider.
cake-core/benches/bench_expert_provider.rs:26
↓ 2 callersFunctionmake_empty_topology
(num_workers: usize)
cake-core/benches/bench_topology.rs:29
↓ 2 callersFunctionmake_node
(layers: Vec<&str>)
cake-core/src/utils/split.rs:241
↓ 2 callersFunctionmake_prediction_head
(h: usize, latent: usize, layers: usize)
cake-core/benches/bench_vibevoice.rs:15
↓ 2 callersFunctionmake_stacked_provider
(n: usize, i: usize, h: usize)
cake-core/benches/bench_expert_provider.rs:11
↓ 2 callersFunctionmake_test_dict
()
cake-core/src/models/luxtts/tokenizer.rs:258
↓ 2 callersFunctionmake_vb_qwen3_5_moe_linear
(cfg: &Config, layer_name: &str)
cake-core/tests/unit_tests/test_blocks.rs:951
↓ 2 callersFunctionmax_layers_for_gpus
Compute max layers from a list of GPUs, applying per-device VRAM reserves. - **Dedicated VRAM (CUDA)**: reserve max(5%, 768 MiB) - **Unified memory (
cake-core/src/cake/sharding/mod.rs:72
↓ 2 callersFunctionmel_filterbank
Build mel filterbank matrix [n_mels, n_freq].
cake-core/src/models/luxtts/mel.rs:105
↓ 2 callersFunctionmock_worker_info
(latency: u128)
cake-core/tests/protocol.rs:30
↓ 2 callersFunctionmock_worker_info
()
cake-core/tests/unit_tests/test_client_worker.rs:24
↓ 2 callersMethodprocess_kv_inner
( &mut self, block_idx: usize, mut k: Tensor, mut v: Tensor, limit: us
cake-core/src/models/common/cache.rs:184
↓ 2 callersFunctionpush_layer_bar
( lines: &mut Vec<Line<'static>>, name: &str, count: usize, total: usize, bar_max_width: u
cake-cli/src/chat.rs:730
↓ 2 callersMethodqkv
(&self, xs: &Tensor)
cake-core/src/models/flux/flux1_model.rs:563
↓ 2 callersFunctionqwen3_5_moe_config
()
cake-core/tests/unit_tests/test_blocks.rs:941
↓ 2 callersFunctionrandom_nonce
Generate a random 32-byte nonce.
cake-core/src/cake/sharding/auth.rs:33
↓ 2 callersMethodread_f32
Read f32 data from the buffer via mapped pointer.
cake-core/src/backends/vulkan/mod.rs:53
↓ 2 callersFunctionrender_node
( lines: &mut Vec<Line<'static>>, name: &str, backend: &str, os: &str, vram_bytes: u64,
cake-cli/src/chat.rs:636
↓ 2 callersMethodrepeat_kv
(&self, x: Tensor)
cake-core/src/models/common/attention.rs:359
↓ 2 callersMethodrequest
Send a Message to the worker and return a response.
cake-core/src/cake/sharding/client.rs:68
↓ 2 callersMethodreset
(&mut self)
cake-core/src/cake/sharding/api/test_helpers.rs:101
↓ 2 callersMethodrules_fallback
Simple rule-based English grapheme→IPA fallback for OOV words.
cake-core/src/models/luxtts/tokenizer.rs:165
↓ 2 callersFunctionrun_as_master
Shared master setup: zero-config discovery + dispatch. Used by `run` and `serve` subcommands.
cake-cli/src/main.rs:282
↓ 2 callersFunctionrun_master
(ctx: Context)
cake-cli/src/main.rs:306
↓ 2 callersFunctionrun_remote
Remote chat: connect to an API server.
cake-cli/src/chat.rs:880
↓ 2 callersFunctionrun_text_worker
(ctx: &mut Context)
cake-mobile/src/lib.rs:549
↓ 2 callersFunctionsample_json
()
cake-core/src/models/qwen3_moe/config.rs:111
↓ 2 callersFunctionsample_json
()
cake-core/src/models/falcon3/config.rs:97
↓ 2 callersFunctionsample_json
()
cake-core/src/models/olmo2/config.rs:97
↓ 2 callersFunctionsample_json
()
cake-core/src/models/qwen3_5_moe/config.rs:155
↓ 2 callersMethodsample_speech_latent
Sample speech latent with CFG using DPM-Solver++.
cake-core/src/models/vibevoice/vibevoice.rs:198
↓ 2 callersMethodsecond_order_update
Second-order DPM-Solver++ midpoint update. m0 = most recent x0 prediction (at timestep s0) m1 = previous x0 prediction (at timestep s1) Goes from s0
cake-core/src/models/vibevoice/ddpm.rs:125
↓ 2 callersMethodserialized_size_hint
(&self)
cake-core/src/cake/sharding/proto/message.rs:299
↓ 2 callersFunctionshould_force_cpu
()
cake-mobile/src/lib.rs:156
↓ 2 callersMethodshould_stop
Check if generation should stop (probability > threshold).
cake-core/src/models/vibevoice/eos_classifier.rs:44
↓ 2 callersFunctionsine_wave
Generate a sine wave at the given frequency.
cake-core/tests/test_luxtts_audio.rs:10
↓ 2 callersMethodsplit_images
( &mut self, latents: &Tensor, vae_scale: f64, bsize: usize, )
cake-core/src/models/sd/sd.rs:549
↓ 2 callersMethodstartWorker
cake-mobile-app/shared/src/commonMain/kotlin/com/evilsocket/cake/WorkerBridge.kt:4
↓ 2 callersMethodstopWorker
cake-mobile-app/shared/src/commonMain/kotlin/com/evilsocket/cake/WorkerBridge.kt:5
↓ 2 callersMethodtensor_names
(&self)
cake-core/src/utils/tensor_storage.rs:576
↓ 2 callersMethodtensor_names
(&self)
cake-core/tests/unit_tests/test_expert_provider.rs:124
↓ 2 callersFunctiontest_app_image
( )
cake-core/src/cake/sharding/api/test_helpers.rs:407
↓ 2 callersFunctiontest_config_with_qk_norm
()
cake-core/tests/unit_tests/helpers.rs:46
↓ 2 callersMethodtext_embeddings
( &mut self, prompt: &str, uncond_prompt: &str, use_guide_scale: bool,
cake-core/src/models/sd/sd.rs:580
↓ 2 callersMethodto_pcm_bytes
Return raw PCM f32 bytes (little-endian).
cake-core/src/models/mod.rs:157
↓ 2 callersMethodtotal_fm_layers
Total number of FM decoder layers across all stacks.
cake-core/src/models/luxtts/config.rs:98
↓ 2 callersMethodupload_uncached
(&self, data: &[f32])
cake-core/src/backends/vulkan/mod.rs:660
↓ 2 callersFunctionupsample
Upsample audio from source_rate to target_rate using linear interpolation.
cake-core/src/models/luxtts/vocos.rs:370
↓ 2 callersFunctionvae_scale_factor
Return the VAE scaling factor for a given SD version.
cake-core/src/models/sd/sd.rs:690
↓ 2 callersFunctionworker_setup_with_progress
( worker_name: &str, cluster_key: &str, bind_address: &str, model_cache_dir: &Path, on_pro
cake-core/src/cake/sharding/mod.rs:828
↓ 1 callersFunctionAppHeader
cake-mobile-app/shared/src/commonMain/kotlin/com/evilsocket/cake/ui/WorkerScreen.kt:106
↓ 1 callersFunctionConfigCard
cake-mobile-app/shared/src/commonMain/kotlin/com/evilsocket/cake/ui/WorkerScreen.kt:145
↓ 1 callersFunctionServingInfo
cake-mobile-app/shared/src/commonMain/kotlin/com/evilsocket/cake/ui/WorkerScreen.kt:246
↓ 1 callersFunctionStatusBadge
cake-mobile-app/shared/src/commonMain/kotlin/com/evilsocket/cake/ui/WorkerScreen.kt:123
↓ 1 callersFunctionStatusCard
cake-mobile-app/shared/src/commonMain/kotlin/com/evilsocket/cake/ui/WorkerScreen.kt:190
↓ 1 callersFunctionadvertise_worker
Start listening for discovery queries and responding with worker info. Spawns a background thread. Returns a handle that must be kept alive.
cake-core/src/cake/sharding/discovery.rs:429
↓ 1 callersMethodauto_assign_layers_with_strategy
Automatically assign layers to nodes using the specified [`Strategy`].
cake-core/src/cake/sharding/topology.rs:225
↓ 1 callersMethodbind
()
cake-core/tests/protocol.rs:53
↓ 1 callersFunctionbuild_cluster_lines
(topo: &TopologyResponse, width: usize)
cake-cli/src/chat.rs:500
↓ 1 callersFunctionbuild_message_lines
(app: &App, width: u16)
cake-cli/src/chat.rs:188
↓ 1 callersFunctionbuild_worker_topology
Build a minimal Topology for a single worker from assigned layers.
cake-cli/src/main.rs:711
↓ 1 callersFunctioncache_base_dir
Return the base cache directory for zero-config model data.
cake-cli/src/main.rs:734
↓ 1 callersFunctioncake_cache_dir
Return the Cake cluster cache directory if it exists.
cake-core/src/utils/models.rs:229
↓ 1 callersFunctioncake_get_worker_status
()
cake-mobile/src/lib.rs:528
↓ 1 callersFunctioncake_set_cache_dir
(path: *const c_char)
cake-mobile/src/lib.rs:535
↓ 1 callersFunctioncake_start_worker
( name: *const c_char, model: *const c_char, cluster_key: *const c_char, )
cake-mobile/src/lib.rs:510
↓ 1 callersFunctioncake_stop_worker
()
cake-mobile/src/lib.rs:523
↓ 1 callersMethodcausal_conv1d_seq
Apply causal depthwise conv1d + SiLU on a full sequence. Uses vectorized unfold to process all timesteps in ~5 kernel calls instead of 3*N calls from
cake-core/src/models/qwen3_5/linear_attention.rs:219
↓ 1 callersMethodclip2_file
(&self, use_f16: bool)
cake-core/src/lib.rs:493
↓ 1 callersMethodclip_file
(&self, use_f16: bool)
cake-core/src/lib.rs:481
↓ 1 callersFunctionclip_l_config
CLIP-L configuration matching evilsocket/clip-vit-large-patch14.
cake-core/src/models/flux/clip_encoder.rs:16
↓ 1 callersFunctionconvert_model
Convert main model weights with key remapping.
scripts/convert_luxtts.py:86
↓ 1 callersFunctionconvert_vocoder
Convert vocoder weights.
scripts/convert_luxtts.py:118
↓ 1 callersFunctioncpu_storage_bytes_range
(storage: &candle_core::CpuStorage, start: usize, end: usize)
cake-core/src/cake/sharding/proto/message.rs:62
↓ 1 callersFunctioncreate_new_metadata
( data_path: &Path, reduced: &HashMap<String, Vec<String>>, )
cake-core/src/utils/split.rs:115
↓ 1 callersMethoddecode
Decode acoustic latents to audio waveform. Input: (batch, vae_dim, frames) or (batch, frames, vae_dim) Output: (batch, 1, samples)
cake-core/src/models/vibevoice/vae_decoder.rs:399
↓ 1 callersMethoddecode_streaming
Streaming decode: uses cache for correct context between frames. Each call processes a single latent frame and produces audio samples.
cake-core/src/models/vibevoice/vae_decoder.rs:428
↓ 1 callersFunctiondefault_partial_rotary
()
cake-core/src/models/qwen3_5_moe/config.rs:9
↓ 1 callersFunctiondefault_partial_rotary_factor
()
cake-core/src/models/qwen3_5/config.rs:15
↓ 1 callersFunctiondefault_rope
()
cake-core/src/models/qwen3_5/config.rs:7
↓ 1 callersFunctiondefault_rope
()
cake-core/src/models/qwen3_5_moe/config.rs:7
↓ 1 callersFunctiondelete_model
Delete a cached model from disk. For HuggingFace cache models, removes the entire `models--org--name/` directory (including all snapshots and blobs).
cake-core/src/utils/models.rs:130
↓ 1 callersMethoddepthwise_conv1d
(&self, x: &Tensor)
cake-core/src/models/luxtts/vocos.rs:107
↓ 1 callersMethoddepthwise_conv1d
Manual depthwise conv1d using broadcast_mul + sum pattern.
cake-core/src/models/luxtts/convolution_module.rs:71
↓ 1 callersMethoddepthwise_conv1d_bias
(&self, i: &Tensor, w: &Tensor, b: &Tensor, ks: usize, _: usize)
cake-core/src/backends/rocm/mod.rs:404
↓ 1 callersMethoddepthwise_conv1d_bias
(&self, padded_input: &Tensor, weight: &Tensor, bias: &Tensor, _kernel_size: usize, _channels: usize)
cake-core/src/backends/metal/mod.rs:884
↓ 1 callersMethoddepthwise_conv1d_bias
( &self, input: &Tensor, weight: &Tensor, bias: &Tensor, ks: usize,
cake-core/src/backends/vulkan/mod.rs:1435
↓ 1 callersFunctiondetect_cuda_version_from_dirs
Search for CUDA version info in the given directories (testable inner function).
cake-core/src/cake/sharding/discovery.rs:232
↓ 1 callersMethoddevice
(&self)
cake-core/src/backends/vulkan/mod.rs:1255
↓ 1 callersFunctiondiscover_workers
Browse for workers on the network matching the given cluster key. Sends periodic UDP broadcast queries, collects responses until `timeout`. If `min_w
cake-core/src/cake/sharding/discovery.rs:602
↓ 1 callersMethoddispatch_softmax
Dispatch scaled softmax on GPU: output[row,j] = softmax(input[row,j] * scale). If seq_len > 0, applies causal mask.
cake-core/src/backends/vulkan/mod.rs:885
↓ 1 callersMethoddispatch_unary_vec4
(&self, x: &Tensor, entry: &str)
cake-core/src/backends/vulkan/mod.rs:858
↓ 1 callersMethoddown_proj
(&self)
cake-core/src/models/common/expert_provider.rs:80
↓ 1 callersFunctiondraw
(frame: &mut Frame, app: &mut App)
cake-cli/src/chat.rs:328
↓ 1 callersFunctiondraw_chat
(frame: &mut Frame, app: &mut App, area: Rect)
cake-cli/src/chat.rs:381
↓ 1 callersFunctiondraw_cluster
(frame: &mut Frame, app: &mut App, area: Rect)
cake-cli/src/chat.rs:442
↓ 1 callersFunctiondraw_tab_bar
(frame: &mut Frame, app: &App, area: Rect)
cake-cli/src/chat.rs:345
↓ 1 callersMethodembed_conv1d
Conv1d for input embedding.
cake-core/src/models/luxtts/vocos.rs:272
← previousnext →401–500 of 2,320, ranked by callers