MCPcopy Create free account

hub / github.com/Avarok-Cybersecurity/atlas / functions

Functions7,049 in github.com/Avarok-Cybersecurity/atlas

↓ 1 callersMethodhas_self_speculative_dispatch
(&self)
crates/spark-model/src/model/trait_impl/speculative.rs:81
↓ 1 callersMethodhas_tool_grammar
F69 (2026-04-29): cheap query — does this parser produce a non-`None` result from [`Self::compile_tool_grammar`] with at least one tool? Used for star
crates/spark-server/src/tool_parser.rs:314
↓ 1 callersFunctionhash_call
Hash `(name, canonical_args)` to a u64. The JSON args are parsed and re-serialised in canonical (sorted-key, no-whitespace) form so semantically ident
crates/spark-server/src/tool_arg_dedup.rs:118
↓ 1 callersMethodhash_cycle
Hash a simple cycle: hash each member, rotation-combine, detach.
crates/xgrammar/src/grammar/functor/fsm_hasher.rs:158
↓ 1 callersFunctionhash_sequence
Hash a normalized `Sequence` expr — used by the matcher to key its per-sequence cache. `None` when the sequence is not hashable.
crates/xgrammar/src/grammar/functor/fsm_hasher.rs:198
↓ 1 callersFunctionhf_cache_for
(host: str)
tests/run_all_models.py:52
↓ 1 callersMethodhidden_after_norm
(&self)
crates/spark-model/src/model/trait_impl/mod.rs:182
↓ 1 callersMethodhidden_after_norm_dispatch
(&self)
crates/spark-model/src/model/trait_impl/meta.rs:287
↓ 1 callersMethodhigh_speed_swap_dims_dispatch
(&self)
crates/spark-model/src/model/trait_impl/meta.rs:35
↓ 1 callersMethodhint
(&self, ctx: &HintContext)
crates/spark-server/src/hint_injector.rs:44
↓ 1 callersFunctionhip_mirror_source
Mirror `src` (a `.cu`/`.cuh`) into `mirror_root` with the 64-wide-wavefront mask-widen transform applied, and return the mirrored path to compile. gf
crates/atlas-kernels/build.rs:481
↓ 1 callersFunctionholo_fast_moe_layer_selected
(layer: usize)
crates/spark-model/src/weight_loader/qwen35/load_layers.rs:960
↓ 1 callersFunctionholo_fast_moe_mode
()
crates/spark-model/src/weight_loader/qwen35/load_layers.rs:927
↓ 1 callersFunctionholo_moe_down_fp4
`ATLAS_HOLO_MOE_DOWN_FP4=1` opts in to the FP4 (NVFP4 block-scaled) down prefill path. OnceLock-cached, default OFF => the existing FP8/w4a16 down pat
crates/spark-model/src/weight_loader/qwen35/load_layers.rs:917
↓ 1 callersFunctionholo_moe_gateup_fp4
`ATLAS_HOLO_MOE_GATEUP_FP4=1` opts in to the FP4 (NVFP4 block-scaled) grouped gate_up prefill path. OnceLock-cached, default OFF => the existing FP8 f
crates/spark-model/src/weight_loader/qwen35/load_layers.rs:904
↓ 1 callersFunctionim_start_hard_stop
()
crates/spark-server/src/scheduler/helpers.rs:35
↓ 1 callersFunctionimage_pad_count
Number of image pad tokens produced per image after the vision encoder's spatial merger. Qwen3-VL / Qwen3.6 fold a 2×2 patch block into a single token
crates/spark-model/src/vision_preprocess.rs:136
↓ 1 callersMethodimage_pad_token_id
Encode the `<|image_pad|>` placeholder token and return its ID. Returns `None` when the tokenizer doesn't have this token (text-only models). Cheap to
crates/spark-server/src/tokenizer/chat_impl.rs:286
↓ 1 callersMethodimage_pixels_ref
Borrow the preprocessed image data (non-consuming) — used by the vision co-dispatch pre-pass to batch-encode across requests before the admit loop con
crates/spark-server/src/api/inference_impl.rs:69
↓ 1 callersMethodinc_refs
Increment ref_count on all nodes along the matched path.
crates/spark-runtime/src/radix_tree/inner.rs:176
↓ 1 callersMethodindex
(&self, i: usize)
crates/xgrammar/src/grammar/expr.rs:78
↓ 1 callersFunctioninferTopology
(stem, top)
site/scripts/gen-models.mjs:177
↓ 1 callersFunctioninfer_default_subagent_type
Choose a valid `subagent_type` for a delegation tool (opencode / Claude Code `task`). `subagent_type` is a REQUIRED free-form string whose legal valu
crates/spark-server/src/tool_parser/validation.rs:117
↓ 1 callersFunctioninit_gpu_backend
( args: &cli::ServeArgs, ptx_set: &atlas_kernels::TargetPtxSet, )
crates/spark-server/src/main_modules/serve_phases/preflight.rs:207
↓ 1 callersFunctioninit_nccl_comm
( args: &cli::ServeArgs, gpu: &dyn spark_runtime::gpu::GpuBackend, world_size: usize, )
crates/spark-server/src/main_modules/serve_phases/topology.rs:129
↓ 1 callersMethodinit_rule_names
Pre-declare every rule name (so forward references resolve) and verify the root rule is present.
crates/xgrammar/src/grammar/parser.rs:166
↓ 1 callersMethodinsert
( &self, _tokens: &[u32], _block_table: &[u32], _disk_block_ids: &[u32],
crates/spark-runtime/src/prefix_cache.rs:251
↓ 1 callersFunctioninstall_high_speed_swap
Install --high-speed-swap orchestrator after bind_gpu_to_thread.
crates/spark-server/src/scheduler/mod_helpers.rs:18
↓ 1 callersMethodinto_parser
Create a boxed parser implementation for this format.
crates/spark-server/src/tool_parser.rs:388
↓ 1 callersMethodinvalidate
Drop the resident slot for `key` (if any). Returns the slot to the free list so the next `assign(key, _)` triggers a fresh disk read. Used by the off
crates/spark-storage/src/scratch_pool.rs:109
↓ 1 callersFunctionipv6_pattern
()
crates/xgrammar/src/schema/formats.rs:62
↓ 1 callersFunctionis_ascii_alpha
`isalpha` for a codepoint.
crates/xgrammar/src/regex/sub_handlers.rs:128
↓ 1 callersMethodis_aux_edge
True if the edge uses `edge_aux_data` (currently only repeat refs).
crates/xgrammar/src/fsm/edge.rs:79
↓ 1 callersMethodis_eos
True if this is an EOS transition.
crates/xgrammar/src/fsm/edge.rs:69
↓ 1 callersMethodis_ep_dispatch
(&self)
crates/spark-model/src/model/trait_impl/ep_misc.rs:38
↓ 1 callersMethodis_fully_static
(&self)
crates/xgrammar/src/compiler/decompose.rs:136
↓ 1 callersFunctionis_holo_modelopt_mixed_precision
(config: &ModelConfig)
crates/spark-model/src/weight_loader/qwen35/load_layers.rs:990
↓ 1 callersMethodis_invalid
True if this is the invalid sentinel.
crates/xgrammar/src/earley/state.rs:88
↓ 1 callersMethodis_measuring
Whether the gate still needs to drive measurement steps. False once a decision has been reached.
crates/spark-server/src/scheduler/mtp_gate.rs:207
↓ 1 callersMethodis_node_productive
True if FSM node `node` of rule `rule_id` can reach an end node — i.e. the rule can still complete from there. Out-of-range rule or node ids return `t
crates/xgrammar/src/earley/prune.rs:85
↓ 1 callersFunctionis_non_terminal_state
True if `state` has an outgoing rule-ref, epsilon, or repeat-ref edge — i.e. it must be expanded by prediction. Port of `IsNonTerminalState`.
crates/xgrammar/src/earley/fsm_view.rs:26
↓ 1 callersMethodis_persistent
(&self)
crates/spark-server/src/response_store/store_impl.rs:191
↓ 1 callersMethodis_qwen35_dense
Factory use only.
crates/atlas-core/src/config/methods.rs:178
↓ 1 callersMethodis_qwen3_vl
Factory use only. Recognises the upstream `qwen3_vl_moe` model_type (Qwen3-VL MoE) and Qwen3.5-VL — which ships with `model_type = "qwen3_5"` plus `a
crates/atlas-core/src/config/methods.rs:191
↓ 1 callersFunctionis_regex_special_escape
Regex-style escapes with special meaning inside a character class.
crates/xgrammar/src/grammar/lexer_scan.rs:240
↓ 1 callersFunctionis_set
(mask: &[i32], token_id: i32)
crates/xgrammar/tests/qwen_toolcall_mask.rs:93
↓ 1 callersFunctionis_special_token
A decoded token is a "special token" iff it is empty. Faithful to C++ `IsSpecialToken`, whose comment notes that *only* the empty string is treated a
crates/xgrammar/src/tokenizer/info.rs:214
↓ 1 callersMethodis_ssm_layer_inner
(&self)
crates/spark-model/src/layers/qwen3_ssm/trait_prefill_phase1.rs:8
↓ 1 callersMethodis_tag_dispatch_rule
True if `init_rule_id`'s body is a `TagDispatch`.
crates/xgrammar/src/compiler/mask_gen/mod.rs:127
↓ 1 callersMethodis_token_pass_lookahead
Check whether `token` can satisfy `init_rule_id`'s lookahead assertion, given the per-byte "can reach rule end" flags accumulated in `can_reach_end_st
crates/xgrammar/src/compiler/mask_gen/lookahead.rs:21
↓ 1 callersFunctionis_tool_name_component
(s: &str)
crates/spark-server/src/tool_parser.rs:36
↓ 1 callersMethodis_unexpanded
True if the rule still needs expansion before parsing.
crates/xgrammar/src/earley/state.rs:98
↓ 1 callersFunctionis_vacuous_system_content
True when a system message carries no actual instruction and should be treated as absent. Conservative by design — a substantive prompt must never be
crates/spark-server/src/api/chat/msg_entry.rs:297
↓ 1 callersFunctionjaccard
(a: &HashSet<u64>, b: &HashSet<u64>)
crates/spark-server/src/loop_detector.rs:334
↓ 1 callersFunctionjaccard
(a: set[int], b: set[int])
bench/fp8_dgx2_drift/c1_final_logit_overlap.py:100
↓ 1 callersFunctionjaccard_pct
Jaccard similarity expressed as a percentage 0..=100. `|A ∩ B| / |A ∪ B| * 100`.
crates/spark-server/src/loop_simhash.rs:167
↓ 1 callersFunctionjson_string
Render `s` as a JSON string literal.
crates/xgrammar/src/structural_tag/mod.rs:134
↓ 1 callersMethodk_is_rotated
K side stored in the WHT-rotated basis (gates K rotation at append and the WHT(Q) decode bookend).
crates/spark-model/src/forward/qwen3_5/mod.rs:252
↓ 1 callersMethodkeep_probs
(&self, tokens: &[&str])
crates/spark-server/src/llmlingua.rs:48
↓ 1 callersMethodkernel_batched_eligible
Returns true when the batched-kernel path is viable for these streams. Cheap upfront check — caller (dispatch) falls back to per-stream when false.
crates/spark-model/src/model/trait_impl/prefill_b/batch_kernel/eligible.rs:35
↓ 1 callersFunctionkl
(p, q)
bench/fp8_dgx2_drift/temp03_sampling_amp.py:59
↓ 1 callersMethodkv_cache_lock
Acquire the MTP KV cache mutex. Used by the multi-module dispatcher (`mtp_multi`) to reclaim blocks during free_state. `parking_lot::Mutex` does not p
crates/spark-model/src/layers/mtp_head.rs:166
↓ 1 callersMethodkv_layer_dims
(&self, config: &ModelConfig)
crates/spark-model/src/weight_loader/gemma4.rs:91
↓ 1 callersFunctionkv_layer_dims_impl
(config: &ModelConfig)
crates/spark-model/src/weight_loader/gemma4/loader_b.rs:168
↓ 1 callersMethodl_bytes
(&self)
crates/spark-storage/src/tiled_attention.rs:58
↓ 1 callersFunctionlargest_balanced_json_prefix
Find the largest prefix of `s` that is a valid balanced JSON object. Used to salvage truncated Mistral tool calls when max_tokens cuts the response mi
crates/spark-server/src/tool_parser/helpers_a.rs:99
↓ 1 callersFunctionlast_entropy
Read the most recent per-token entropy (nats).
crates/spark-runtime/src/sampler.rs:22
↓ 1 callersFunctionlaunch_config
Launch configuration helper for SM121.
crates/atlas-core/src/kernel.rs:42
↓ 1 callersFunctionlaunch_container
Start a fresh atlas-gb10 container for the given model. Returns the container name. Blocks until the server logs 'Listening on'.
tests/vision_sweep.py:118
↓ 1 callersFunctionlaunch_fused
( g: &dyn GpuBackend, k: KernelHandle, h: DevicePtr, conv: DevicePtr, gates: DevicePtr,
crates/spark-model/examples/gdn_strided_norm_microtest.rs:143
↓ 1 callersFunctionlaunch_geometry
Per-kernel launch geometry. Both transposed kernels take the SAME args (A, B_t, scale_t, C, M, N, K); only the grid/block tiling differs.
crates/spark-model/examples/w8a16t_microtest.rs:176
↓ 1 callersFunctionlaunch_m1
( g: &dyn GpuBackend, k: KernelHandle, a: DevicePtr, b: DevicePtr, bs: DevicePtr, c: D
crates/spark-model/examples/w8a16_gemv_batch4_microtest.rs:76
↓ 1 callersFunctionlaunch_no_sync
Launch WITHOUT a trailing stream synchronize — for the CUDA-event timing loop, where the per-launch host sync would serialize iterations and inflate t
crates/spark-model/examples/w8a16_microtest.rs:204
↓ 1 callersFunctionlaunch_norm
Launch `gated_rms_norm` for a single token, exactly as `gated_rms_norm` (ops::norm) wraps it (num_tokens=NV, hidden_size=VD per-head).
crates/spark-model/examples/gdn_verify_fused_microtest.rs:227
↓ 1 callersFunctionlaunch_norm
( g: &dyn GpuBackend, k: KernelHandle, input: DevicePtr, z_gate: DevicePtr, norm_w: Device
crates/spark-model/examples/gdn_strided_norm_microtest.rs:120
↓ 1 callersFunctionlaunch_strided
( g: &dyn GpuBackend, k: KernelHandle, h: DevicePtr, conv: DevicePtr, gates: DevicePtr,
crates/spark-model/examples/gdn_strided_norm_microtest.rs:90
↓ 1 callersFunctionlayer_dequant_selected
Whether absolute layer index `layer` is selected for BF16 dequant per `ATLAS_FP8_DEQUANT_LAYERS` (PCND opt-in). The spec is a comma-separated list of
crates/spark-model/src/weight_loader/qwen35/load_layers.rs:866
↓ 1 callersMethodlayout
(&self)
crates/spark-storage/src/backend/io_uring.rs:66
↓ 1 callersMethodlen
(&self)
crates/spark-server/src/ngram.rs:83
↓ 1 callersMethodlen
Number of hashes currently stored.
crates/spark-server/src/tool_arg_dedup.rs:109
↓ 1 callersFunctionlib_src
()
bench/fp8_dgx2_drift/harness/overnight/edit_probe4.py:32
↓ 1 callersFunctionlink_libcuda
()
crates/spark-storage/build.rs:75
↓ 1 callersFunctionload_all_layers
( store: &WeightStore, config: &ModelConfig, gpu: &dyn GpuBackend, layer_kv_dtypes: &[KvCacheD
crates/spark-model/src/weight_loader/deepseek_v4/load_layers.rs:13
↓ 1 callersFunctionload_attention_layer
( store: &WeightStore, config: &ModelConfig, gpu: &dyn GpuBackend, lp: &str, input_norm: D
crates/spark-model/src/weight_loader/step3p7/load_layers.rs:337
↓ 1 callersFunctionload_claude_code_tools
Loads the captured Claude Code 70-tool array. Used for end-to-end translator tests that need realistic tool-schema sizes (the fixture was produced fro
crates/spark-server/src/anthropic/tests/translator_b.rs:273
↓ 1 callersFunctionload_config_rms_eps
()
bench/fp8_dgx2_drift/c1_final_logit_overlap.py:48
↓ 1 callersFunctionload_config_template
Load template from tokenizer_config.json in the model directory.
crates/spark-server/src/tokenizer/jinja_helpers.rs:320
↓ 1 callersFunctionload_correction_bias
Load the DeepSeek-V4 MoE `e_score_correction_bias` (noaux_tc loss-free balancing bias) as an F32 `[num_experts]` tensor. The RedHatAI re-quant flatten
crates/spark-model/src/weight_loader/deepseek_v4/assemble.rs:524
↓ 1 callersFunctionload_dequant_state_dict
Read every safetensors shard; dequant NVFP4 triples to a single bf16 `weight`; pass dense tensors through; drop *_scale* sidecars.
bench/nemotron_hf_ref_cpu.py:63
↓ 1 callersFunctionload_dequant_state_dict
Read every safetensors shard; dequant NVFP4 triples to a single bf16 `weight`; pass dense tensors through; drop *_scale* sidecars.
bench/nemotron_hf_ref.py:60
↓ 1 callersFunctionload_dflash_drafter
( args: &cli::ServeArgs, ptx_set: &atlas_kernels::TargetPtxSet, gpu: &dyn spark_runtime::gpu::GpuB
crates/spark-server/src/main_modules/serve_phases/weights.rs:110
↓ 1 callersFunctionload_dflash_weights
Load DFlash drafter weights from a separate [`WeightStore`] pointing at the drafter checkpoint. The drafter ships its weights at the **root** of the
crates/spark-model/src/weight_loader/dflash_loader.rs:175
↓ 1 callersFunctionload_embedding
(store: &WeightStore, config: &ModelConfig)
crates/spark-model/src/weight_loader/qwen35_dense/loaders_b.rs:12
↓ 1 callersMethodload_embedding
( &self, store: &WeightStore, _config: &ModelConfig, _gpu: &dyn GpuBackend,
crates/spark-model/src/weight_loader/qwen3.rs:425
↓ 1 callersFunctionload_eos_tokens
(model_dir: &Path, config: &ModelConfig)
crates/spark-server/src/main_modules/serve_phases/runtime.rs:15
↓ 1 callersFunctionload_events
(path: pathlib.Path)
bench/fp8_dgx2_drift/harness/score_run.py:43
↓ 1 callersFunctionload_final_norm
(store: &WeightStore, config: &ModelConfig)
crates/spark-model/src/weight_loader/qwen35_dense/loaders_b.rs:17
↓ 1 callersMethodload_final_norm
( &self, store: &WeightStore, _config: &ModelConfig, _gpu: &dyn GpuBackend,
crates/spark-model/src/weight_loader/qwen3.rs:434
↓ 1 callersFunctionload_final_norm_impl
( store: &WeightStore, config: &ModelConfig, )
crates/spark-model/src/weight_loader/gemma4/loader_b.rs:134
↓ 1 callersFunctionload_final_norm_weight
RMS-norm gamma for the final norm. Stored in shard 26.
bench/fp8_dgx2_drift/c1_final_logit_overlap.py:55
← previousnext →2,801–2,900 of 7,049, ranked by callers