MCPcopy Create free account

hub / github.com/evilsocket/cake / functions

Functions2,320 in github.com/evilsocket/cake

↓ 1 callersFunctionmake_vb_qwen3_5_moe_linear
Build VarBuilder for a Qwen3_5 MoE linear attention (GatedDeltaNet) block.
cake-core/benches/bench_helpers.rs:591
↓ 1 callersFunctionmake_vb_transformer_block
(cfg: &Config)
cake-core/benches/bench_helpers.rs:203
↓ 1 callersFunctionmasked_fill
(on_false: &Tensor, mask: &Tensor, on_true: f32)
cake-core/src/models/qwen3_5/full_attention.rs:13
↓ 1 callersFunctionmasked_fill
(on_false: &Tensor, mask: &Tensor, on_true: f32)
cake-core/src/models/common/attention.rs:40
↓ 1 callersFunctionmaster_setup
Run the full zero-config master setup. Discovers workers via mDNS, computes layer assignments based on VRAM, connects to each worker with mutual auth
cake-core/src/cake/sharding/mod.rs:162
↓ 1 callersFunctionmelody
(sample_rate: usize, duration_secs: f32)
cake-core/tests/test_luxtts_audio.rs:22
↓ 1 callersFunctionmetal_supports_simdgroup_matrix
()
cake-mobile/src/lib.rs:173
↓ 1 callersFunctionmock_master_audio
Master with audio model loaded.
cake-core/src/cake/sharding/api/test_helpers.rs:312
↓ 1 callersFunctionmock_master_image
Master with image model loaded.
cake-core/src/cake/sharding/api/test_helpers.rs:304
↓ 1 callersFunctionmock_master_none
Master with no models loaded (all 404).
cake-core/src/cake/sharding/api/test_helpers.rs:320
↓ 1 callersFunctionmock_master_text
Master with text model loaded (image/audio return errors from stubs).
cake-core/src/cake/sharding/api/test_helpers.rs:291
↓ 1 callersFunctionmoe_config
()
cake-core/benches/bench_moe.rs:7
↓ 1 callersMethodname
(&self)
cake-core/src/backends/vulkan/mod.rs:1252
↓ 1 callersMethodneeds_auto_sharding
Returns `true` if any node in this topology has an empty `layers` list, meaning layer assignments should be computed automatically.
cake-core/src/cake/sharding/topology.rs:197
↓ 1 callersMethodnext_token
(&mut self, _index: usize)
cake-core/src/cake/sharding/api/test_helpers.rs:112
↓ 1 callersMethodnum_key_value_heads
Return the number of kv heads.
cake-core/src/models/qwen2/config.rs:64
↓ 1 callersMethodnum_key_value_heads
Return the number of kv heads.
cake-core/src/models/llama3/config.rs:56
↓ 1 callersFunctionolmo2_config
()
cake-core/benches/bench_blocks.rs:16
↓ 1 callersFunctionparse_dtype_str
Parse a dtype string ("f16", "bf16", "f32") into a candle DType. Returns F16 when the input is `None`.
cake-core/src/cake/mod.rs:69
↓ 1 callersMethodproject_condition
Project condition once per frame (constant across all diffusion steps). Returns the projected condition to be reused.
cake-core/src/models/vibevoice/prediction_head.rs:249
↓ 1 callersFunctionpush_model_data
Push model data files to a worker that doesn't have them cached.
cake-core/src/cake/sharding/mod.rs:509
↓ 1 callersFunctionqwen3_5_moe_config
Qwen3.5 MoE config (linear attention + MoE).
cake-core/benches/bench_helpers.rs:647
↓ 1 callersFunctionqwen3_5_moe_config
()
cake-core/benches/bench_moe.rs:17
↓ 1 callersFunctionqwen3_moe_config
()
cake-core/benches/bench_blocks.rs:33
↓ 1 callersFunctionread_layer_tensor_details
Read per-layer tensor metadata from safetensors file headers (via mmap). Only the header bytes are paged in — tensor data is never accessed.
cake-core/src/cake/sharding/api/ui.rs:207
↓ 1 callersMethodread_tensors
(&self, names: &[&str])
cake-core/src/utils/tensor_storage.rs:505
↓ 1 callersFunctionreceive_model_data
Receive model data from master and write to the cache directory.
cake-core/src/cake/sharding/mod.rs:940
↓ 1 callersMethodrel_shift
Relative position shift: convert from (batch/heads, ?, seq, 2*seq-1) to (batch/heads, ?, seq, seq). For row i, extract columns [seq-1-i .. 2*seq-1-i],
cake-core/src/models/luxtts/rel_pos_attention.rs:115
↓ 1 callersFunctionremove_lines
(file: P, patterns: &[&str])
cake-core/src/backends/cuda/compat/candle-kernels-build.rs:60
↓ 1 callersMethodrepo_and_file
(&self)
cake-core/src/models/flux/config.rs:141
↓ 1 callersFunctionresolve_model_path
Resolve a model path, downloading from HuggingFace if it looks like a repo ID.
cake-cli/src/main.rs:699
↓ 1 callersMethodrocblas_gemm
(&self, a: *const f32, b: *const f32, m: usize, k: usize, n: usize)
cake-core/src/backends/rocm/mod.rs:264
↓ 1 callersFunctionrope
(bencher: divan::Bencher, head_dim: usize)
cake-core/benches/bench_backend_ops.rs:61
↓ 1 callersFunctionrun_app
( terminal: &mut Terminal<ratatui::backend::CrosstermBackend<io::Stdout>>, server: &str, )
cake-cli/src/chat.rs:896
↓ 1 callersFunctionrun_as_worker
Worker setup: zero-config discovery or manual topology. Used by `run` (no model + cluster key) subcommand.
cake-cli/src/main.rs:243
↓ 1 callersFunctionrun_direct_worker
(name: &str, model: &str, address: &str)
cake-mobile/src/lib.rs:461
↓ 1 callersFunctionrun_local
Local chat: start an ephemeral API server, then connect the TUI to it. This reuses the existing remote chat TUI with zero code duplication.
cake-cli/src/chat.rs:1127
↓ 1 callersFunctionrun_master_audio
(ctx: Context)
cake-cli/src/main.rs:329
↓ 1 callersFunctionrun_master_image
(ctx: Context)
cake-cli/src/main.rs:622
↓ 1 callersFunctionrun_master_luxtts
(mut ctx: Context)
cake-cli/src/main.rs:578
↓ 1 callersFunctionrun_vibevoice_0_5b
( ctx: Context, model_path: &std::path::Path, config_path: &std::path::Path, )
cake-cli/src/main.rs:365
↓ 1 callersFunctionrun_vibevoice_1_5b
( ctx: Context, model_path: &std::path::Path, config_path: &std::path::Path, )
cake-cli/src/main.rs:440
↓ 1 callersFunctionrun_worker
(ctx: &mut Context)
cake-cli/src/main.rs:650
↓ 1 callersFunctionrun_zero_config_worker
( name: &str, cluster_key: &str, address: &str, cache_dir: &std::path::Path, _model: &str,
cake-mobile/src/lib.rs:329
↓ 1 callersMethodsample_speech_latent
Sample speech latent with CFG using DPM-Solver++.
cake-core/src/models/vibevoice/vibevoice_1_5b.rs:346
↓ 1 callersFunctionsave_wav
(bencher: divan::Bencher, num_samples: usize)
cake-core/benches/bench_wav.rs:36
↓ 1 callersFunctionscan_cake_cache
Scan the Cake cluster cache for worker-received models.
cake-core/src/utils/models.rs:293
↓ 1 callersFunctionscan_hf_cache
Scan the HuggingFace hub cache for model snapshots.
cake-core/src/utils/models.rs:241
↓ 1 callersMethodscroll_to_bottom
(&mut self, visible_height: u16)
cake-cli/src/chat.rs:159
↓ 1 callersMethodsetCacheDir
cake-mobile-app/shared/src/commonMain/kotlin/com/evilsocket/cake/WorkerBridge.kt:7
↓ 1 callersFunctionset_cache_dir
(path: String)
cake-mobile/src/lib.rs:81
↓ 1 callersMethodset_prompt
Override the image prompt (used to pass the positional CLI prompt).
cake-core/src/lib.rs:433
↓ 1 callersFunctionsimple_downsample
SimpleDownsample: weighted average over groups of `ds` frames using learned softmax weights.
cake-core/src/models/luxtts/model.rs:54
↓ 1 callersFunctionsimple_upsample
SimpleUpsample: repeat each frame `ds` times.
cake-core/src/models/luxtts/model.rs:89
↓ 1 callersFunctionsinusoidal_time_embedding
Sinusoidal time embedding: cat([cos(t*freqs), sin(t*freqs)]).
cake-core/src/models/luxtts/model.rs:135
↓ 1 callersFunctionsplit_model
Split a model into per-worker bundles. Each bundle contains a reduced safetensors file with only the worker's assigned tensors, a matching index file
cake-core/src/utils/split.rs:155
↓ 1 callersFunctionstageIcon
cake-mobile-app/shared/src/commonMain/kotlin/com/evilsocket/cake/ui/WorkerScreen.kt:281
↓ 1 callersFunctionstageLabel
cake-mobile-app/shared/src/commonMain/kotlin/com/evilsocket/cake/ui/WorkerScreen.kt:295
↓ 1 callersFunctionstart
(master: Master<M>)
cake-core/src/cake/sharding/api/mod.rs:66
↓ 1 callersMethodstart
cake-mobile-app/shared/src/commonMain/kotlin/com/evilsocket/cake/WorkerViewModel.kt:38
↓ 1 callersFunctionstart_worker
(name: String, model: String, cluster_key: String)
cake-mobile/src/lib.rs:233
↓ 1 callersMethodstop
cake-mobile-app/shared/src/commonMain/kotlin/com/evilsocket/cake/WorkerViewModel.kt:68
↓ 1 callersFunctionstop_worker
()
cake-mobile/src/lib.rs:21
↓ 1 callersFunctionstrip_think_tags
Remove all `<think>...</think>` blocks (closed) and any trailing open `<think>...` (still thinking) from the displayed content.
cake-cli/src/chat.rs:300
↓ 1 callersFunctionsysctl_string
(name: &str)
cake-core/src/cake/sharding/discovery.rs:276
↓ 1 callersFunctionsysctl_u64
(name: &str)
cake-core/src/cake/sharding/discovery.rs:303
↓ 1 callersFunctiont5_xxl_config
T5-XXL v1.1 configuration.
cake-core/src/models/flux/t5_encoder.rs:13
↓ 1 callersFunctiontest_config_with_bias
()
cake-core/tests/unit_tests/helpers.rs:67
↓ 1 callersFunctiontest_config_with_gelu
()
cake-core/benches/bench_helpers.rs:65
↓ 1 callersFunctiontest_config_with_gelu
()
cake-core/tests/unit_tests/helpers.rs:60
↓ 1 callersFunctiontest_config_with_qk_norm
()
cake-core/benches/bench_helpers.rs:51
↓ 1 callersFunctiontest_config_with_sliding_window
(w: usize)
cake-core/benches/bench_helpers.rs:58
↓ 1 callersFunctiontest_config_with_sliding_window
(w: usize)
cake-core/tests/unit_tests/helpers.rs:53
↓ 1 callersFunctiontimestep_embedding
(bencher: divan::Bencher, dim: usize)
cake-core/benches/bench_flux.rs:15
↓ 1 callersFunctiontimestep_embedding
(t: &Tensor, dim: usize, dtype: DType)
cake-core/src/models/flux/flux2_model.rs:15
↓ 1 callersMethodto_candle
(self)
cake-core/src/utils/tensor_storage.rs:33
↓ 1 callersMethodtotal_vram
Total VRAM across all GPUs.
cake-core/src/cake/sharding/discovery.rs:44
↓ 1 callersFunctionupdate_serving_status
(model_name: &str, layers_range: &str, backend: &str)
cake-mobile/src/lib.rs:50
↓ 1 callersMethodvae_file
(&self, use_f16: bool)
cake-core/src/lib.rs:469
↓ 1 callersMethodwarmup
Pre-dequantize F8→F16 and cache. Call once before inference loop.
cake-core/src/utils/fp8.rs:223
↓ 1 callersMethodwith_kv_cache
Return true if kv-caching is enabled.
cake-core/src/models/common/cache.rs:133
↓ 1 callersFunctionworker_setup
( worker_name: &str, cluster_key: &str, bind_address: &str, model_cache_dir: &Path, )
cake-core/src/cake/sharding/mod.rs:819
FunctionMainViewController
cake-mobile-app/shared/src/iosMain/kotlin/com/evilsocket/cake/MainViewController.kt:7
Functionacoustic_connector_1_5b_forward
(bencher: divan::Bencher)
cake-core/benches/bench_vibevoice.rs:100
Functionacoustic_connector_forward
(bencher: divan::Bencher)
cake-core/benches/bench_vibevoice.rs:82
Methodadaln_modulate
(&self, x: &Tensor, nw: &Tensor, sc: &Tensor, sh: &Tensor, e: f32)
cake-core/src/backends/rocm/mod.rs:410
Methodadaln_modulate
(&self, x: &Tensor, norm_weight: &Tensor, scale: &Tensor, shift: &Tensor, eps: f32)
cake-core/src/backends/metal/mod.rs:982
Methodadaln_modulate
( &self, x: &Tensor, nw: &Tensor, scale: &Tensor, shift: &Tensor,
cake-core/src/backends/vulkan/mod.rs:1472
Methodadaln_modulate
(&self, x: &Tensor, norm_weight: &Tensor, scale: &Tensor, shift: &Tensor, eps: f32)
cake-core/src/backends/cuda/mod.rs:148
Methodadd3
(&self, a: &Tensor, b: &Tensor, c: &Tensor)
cake-core/src/backends/rocm/mod.rs:406
Methodadd3
(&self, a: &Tensor, b: &Tensor, c: &Tensor)
cake-core/src/backends/metal/mod.rs:860
Methodadd3
(&self, a: &Tensor, b: &Tensor, c: &Tensor)
cake-core/src/backends/vulkan/mod.rs:1312
Methodadd3
(&self, a: &Tensor, b: &Tensor, c: &Tensor)
cake-core/src/backends/cuda/mod.rs:129
Methodadd_message
(&mut self, _message: Message)
cake-core/src/models/mod.rs:190
Methodadd_message
(&mut self, message: Message)
cake-core/src/models/qwen3/model.rs:36
Methodadd_message
(&mut self, message: Message)
cake-core/src/models/qwen3_moe/model.rs:41
Methodadd_message
Add a message to the chat history.
cake-core/src/models/qwen2/qwen.rs:38
Methodadd_message
(&mut self, message: Message)
cake-core/src/models/luxtts/model.rs:333
Methodadd_message
(&mut self, message: Message)
cake-core/src/models/mistral/model.rs:40
Methodadd_message
(&mut self, message: Message)
cake-core/src/models/exaone4/model.rs:37
← previousnext →601–700 of 2,320, ranked by callers