MCPcopy Create free account

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

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

↓ 1 callersFunctionmoe_expert_silu_down_shared_fp8_batch3
( gpu: &dyn GpuBackend, kernel: KernelHandle, gate_out: DevicePtr, up_out: DevicePtr, dp_w
crates/spark-model/src/layers/ops/fp8_moe.rs:213
↓ 1 callersFunctionmoe_expert_silu_down_shared_prefill
( gpu: &dyn GpuBackend, kernel: KernelHandle, gate_out: DevicePtr, // [num_tokens*top_k, inter] BF
crates/spark-model/src/layers/ops/moe_prefill.rs:75
↓ 1 callersMethodmoe_forward_generic
Generic MoE forward for FP8/BF16 expert weights. Loop-based per-expert dispatch using `dense_gemv` / `dense_gemv_fp8w`. Requires D2H copy of expert i
crates/spark-model/src/layers/mtp_head/moe_forward.rs:77
↓ 1 callersFunctionmoe_fp8_grouped_gemm_ptrtable_n128
( gpu: &dyn GpuBackend, kernel: KernelHandle, a_fp8: DevicePtr, b_packed_ptrs: DevicePtr,
crates/spark-model/src/layers/ops/moe_grouped_a.rs:220
↓ 1 callersFunctionmoe_grouped_down_cutlass
( gpu: &dyn GpuBackend, a: DevicePtr, packed: DevicePtr, sfb: DevicePtr, scale2: DevicePtr
crates/spark-model/src/layers/ops/moe_grouped_a2.rs:195
↓ 1 callersFunctionmoe_grouped_gate_up_cutlass
( gpu: &dyn GpuBackend, a: DevicePtr, sorted_token_ids: DevicePtr, gate_packed: DevicePtr,
crates/spark-model/src/layers/ops/moe_grouped_a2.rs:118
↓ 1 callersFunctionmoe_hash_route
( gpu: &dyn GpuBackend, kernel: KernelHandle, gate_logits: DevicePtr, tid2eid: DevicePtr,
crates/spark-model/src/layers/ops/moe_gate.rs:130
↓ 1 callersFunctionmoe_hash_route_batched
( gpu: &dyn GpuBackend, kernel: KernelHandle, gate_logits: DevicePtr, tid2eid: DevicePtr,
crates/spark-model/src/layers/ops/moe_gate.rs:164
↓ 1 callersFunctionmoe_topk_sqrtsoftplus_batched
( gpu: &dyn GpuBackend, kernel: KernelHandle, gate_logits: DevicePtr, bias: DevicePtr, exp
crates/spark-model/src/layers/ops/moe_grouped_a.rs:115
↓ 1 callersFunctionmoe_w4a16_fused_gate_up_k64_m128
( gpu: &dyn GpuBackend, kernel: KernelHandle, a: DevicePtr, gate_packed_ptrs: DevicePtr, g
crates/spark-model/src/layers/ops/moe_grouped_a.rs:373
↓ 1 callersFunctionmoe_weighted_sum_blend_prefill
( gpu: &dyn GpuBackend, kernel: KernelHandle, output: DevicePtr, // [num_tokens, hidden] B
crates/spark-model/src/layers/ops/moe_prefill.rs:122
↓ 1 callersMethodms_mla_decode_one
( &self, c: &MultiSeqCtx<'_>, kv_cache: &mut PagedKvCache, meta: &AttnMetadata
crates/spark-model/src/layers/qwen3_attention/trait_impl/multi_seq/mla.rs:222
↓ 1 callersMethodms_mla_q_absorb
Q absorption: `Q_absorbed[head] = Q_nope[head] @ W_UK_T[head]`. Batched-GEMV kernel when available, else per-head dense GEMV.
crates/spark-model/src/layers/qwen3_attention/trait_impl/multi_seq/mla_gemv.rs:41
↓ 1 callersMethodms_mla_v_extract
V extraction: `v_out[head] = attn_latent[head] @ W_UV[head]`.
crates/spark-model/src/layers/qwen3_attention/trait_impl/multi_seq/mla_gemv.rs:90
↓ 1 callersMethodms_phase_ffn
(&self, c: &MultiSeqCtx<'_>, o_out: DevicePtr)
crates/spark-model/src/layers/qwen3_attention/trait_impl/multi_seq/ffn.rs:13
↓ 1 callersMethodms_qkv_batch2
n=2 NVFP4 batched path.
crates/spark-model/src/layers/qwen3_attention/trait_impl/multi_seq/qkv.rs:208
↓ 1 callersMethodms_qkv_batch3
n=3 NVFP4 batched path.
crates/spark-model/src/layers/qwen3_attention/trait_impl/multi_seq/qkv.rs:93
↓ 1 callersMethodms_qkv_seq_kv
( &self, fwd: &crate::layer::ForwardContext<'_>, normed_i: spark_runtime::gpu::DeviceP
crates/spark-model/src/layers/qwen3_attention/trait_impl/multi_seq/qkv.rs:434
↓ 1 callersMethodms_qkv_seq_q
( &self, fwd: &crate::layer::ForwardContext<'_>, normed_i: spark_runtime::gpu::DeviceP
crates/spark-model/src/layers/qwen3_attention/trait_impl/multi_seq/qkv.rs:324
↓ 1 callersMethodn
(&mut self)
crates/spark-model/examples/moe_topk_microtest.rs:11
↓ 1 callersFunctionnames
(id, kind, pos)
bench/longcode/analyze.mjs:141
↓ 1 callersFunctionnccl_mem_alloc
Allocate GPU memory backed by a symmetric memory window across the communicator. NCCL 2.28+ only — older NCCL returns `InvalidArgument`. Buffers from
crates/spark-comm/src/nccl.rs:326
↓ 1 callersFunctionnccl_mem_free
Free a buffer previously returned by `nccl_mem_alloc`. # Safety `ptr` must have been returned by [`nccl_mem_alloc`] and not yet freed.
crates/spark-comm/src/nccl.rs:337
↓ 1 callersMethodnew
Construct an edge. Panics if a char-range edge has `min > max`, matching the C++ `XGRAMMAR_DCHECK`.
crates/xgrammar/src/fsm/edge.rs:45
↓ 1 callersFunctionnew_chunk_id
Generate a new chunk ID for SSE streaming.
crates/spark-server/src/openai/mod.rs:39
↓ 1 callersFunctionnew_completion_id
Generate a new completion ID for SSE streaming.
crates/spark-server/src/openai/mod.rs:27
↓ 1 callersMethodnext_cnt_per_hint
(&self)
crates/xgrammar/src/grammar/builder.rs:106
↓ 1 callersMethodnext_is_signed_int
Whether the current `+`/`-` begins a signed integer literal (digit follows). `*`/`+`/`?` quantifiers take priority for `+`.
crates/xgrammar/src/grammar/lexer_scan.rs:202
↓ 1 callersFunctionnext_state
First transition target from `from` for `value` along `edge_type`, or [`NO_NEXT_STATE`]. Panics if `edge_type` is epsilon.
crates/xgrammar/src/fsm/traversal.rs:37
↓ 1 callersMethodnext_step
Which step type the scheduler should run next to advance measurement. Decode samples are collected first (they need no draft bootstrap), then verify s
crates/spark-server/src/scheduler/mtp_gate.rs:214
↓ 1 callersMethodnext_token
Produce the next token(s). Most calls return one token; a character class returns several.
crates/xgrammar/src/grammar/lexer_scan.rs:161
↓ 1 callersMethodnext_u64
(&mut self)
crates/spark-model/examples/inferspark_attn_microtest.rs:30
↓ 1 callersMethodnext_u64
(&mut self)
crates/spark-model/examples/moe_silu_down_microtest.rs:20
↓ 1 callersMethodnext_u64
(&mut self)
crates/spark-model/examples/fp8gemm_microtest.rs:34
↓ 1 callersMethodnext_u64
(&mut self)
crates/spark-model/examples/fp4_mma_microproof.rs:27
↓ 1 callersMethodnext_u64
(&mut self)
crates/spark-model/examples/dense_gemm_microtest.rs:59
↓ 1 callersMethodnext_u64
(&mut self)
crates/spark-model/examples/moe_shared_microtest.rs:28
↓ 1 callersMethodnext_u64
(&mut self)
crates/spark-model/examples/moe_blend_microtest.rs:18
↓ 1 callersMethodnext_u64
(&mut self)
crates/spark-model/examples/gdn_regresident_microtest.rs:30
↓ 1 callersFunctionnormalize
Lowercase, strip non-alphanumeric, collapse whitespace.
crates/spark-server/src/loop_simhash.rs:119
↓ 1 callersFunctionnormalize_modelopt_sidecar
Flatten a ModelOpt-style `hf_quant_config.json` payload into the canonical shape the rest of [`parse_quantization_config`] reads. Two transforms, bot
crates/atlas-core/src/config/parsers/quantization.rs:120
↓ 1 callersMethodnormalize_ssm_states
Normalize SSM h_state norms to prevent catastrophic state explosion during long chunked prefill. Called between chunks by the scheduler. Default: no-o
crates/spark-model/src/traits/model.rs:185
↓ 1 callersFunctionnormalize_tool_call_arguments
Atlas's chat_impl.rs F76: pre-parse tool_call argument strings into dicts.
bench/fp8_dgx2_drift/atlas_tokenize.py:25
↓ 1 callersMethodnum_edges
Number of edges in the logical (sub-)FSM. For a per-rule view this is the spliced-in sub-FSM's count, not the backing `complete_fsm`'s total (upstream
crates/xgrammar/src/fsm/compact_with_start_end.rs:98
↓ 1 callersMethodnum_entries
(&self)
crates/spark-runtime/src/radix_tree/inner.rs:408
↓ 1 callersMethodnum_free_blocks
(&self)
crates/spark-model/src/model/trait_impl/mod.rs:335
↓ 1 callersMethodnum_free_blocks_dispatch
(&self)
crates/spark-model/src/model/trait_impl/sequence.rs:458
↓ 1 callersFunctionnumeric_ref_citations
Parse `[N]` refs paired with a `[N] url` definition line.
crates/spark-server/src/citation.rs:154
↓ 1 callersFunctionnvfp4_grouped_down
( a: u64, packed_ptrs: &[u64], sfb_ptrs: &[u64], scale2_vals: &[f32], c: u64, expert_o
crates/spark-runtime/src/cutlass/grouped.rs:190
↓ 1 callersFunctionnvfp4_grouped_gate_up_fused
( a: u64, sorted_token_ids: u64, gate_packed_ptrs: &[u64], gate_sfb_ptrs: &[u64], gate_sca
crates/spark-runtime/src/cutlass/grouped.rs:109
↓ 1 callersFunctionnvfp4_mmq_repack
Repack a checkpoint NVFP4 weight (packed E2M1 [n, k/2] low=even/high=odd + E4M3 [n, k/16] scales) into llama block_nvfp4 rows \[n\]\[k/64\]. Raw bit s
crates/spark-model/src/layers/ops/nvfp4_mmq.rs:45
↓ 1 callersFunctionnvfp4_mmq_weight_bytes
Bytes for the block_nvfp4 form of an [n, k] weight (k % 64 == 0).
crates/spark-model/src/layers/ops/nvfp4_mmq.rs:30
↓ 1 callersFunctionnvfp4_scale_bf16
In-place ×scale2 for the down-projection MMQ output ([m, h] bf16).
crates/spark-model/src/layers/ops/nvfp4_mmq.rs:160
↓ 1 callersFunctionnvfp4_silu_mul_quant
( gpu: &dyn GpuBackend, kernel: KernelHandle, // atlas_nvfp4_silu_mul_quant gate: DevicePtr, u
crates/spark-model/src/layers/ops/nvfp4_mmq.rs:131
↓ 1 callersFunctionnvfp4_silu_mul_scaled
( gpu: &dyn GpuBackend, kernel: KernelHandle, // atlas_nvfp4_silu_mul_scaled gate: DevicePtr,
crates/spark-model/src/layers/ops/nvfp4_mmq.rs:180
↓ 1 callersFunctionnvidia_fs_loaded
()
crates/cufile-sys/src/lib.rs:166
↓ 1 callersMethodo_bytes
(&self)
crates/spark-storage/src/tiled_attention.rs:61
↓ 1 callersFunctionobserve
Observe the top-1/top-2 margin of the (post-grammar-mask) distribution and record a low-margin firing when inside a parameter body with chars already
crates/spark-server/src/scheduler/logit_processors/b1_margin.rs:47
↓ 1 callersMethodobserve
Observe K/V projection outputs and update running max. Launches absmax reduction kernels on the K and V buffers, then reads the results back to CPU a
crates/spark-model/src/layers/fp8_calibration.rs:122
↓ 1 callersMethodobserve_entropy
Track per-token entropy for diversity monitoring.
crates/spark-server/src/adaptive_sampler.rs:127
↓ 1 callersMethodoffload_block_no_predict_on_stream
( &mut self, stream: u64, layer: u32, block: u32, k_block_host: &[half
crates/spark-storage/src/stubs.rs:57
↓ 1 callersMethodoffload_block_on_stream
( &mut self, stream: u64, layer: u32, block: u32, k_block_dev: u64,
crates/spark-storage/src/stubs.rs:45
↓ 1 callersMethodoffload_block_on_stream
Stream-only variant for production callers (spark-model decode path). `stream` must already be bound to the current thread's CUDA context.
crates/spark-storage/src/high_speed_swap/impl_more.rs:42
↓ 1 callersFunctionone
(client: str)
bench/fp8_dgx2_drift/harness/overnight/edit_probe.py:152
↓ 1 callersFunctionone
(i)
bench/fp8_dgx2_drift/harness/overnight/edit_probe4.py:73
↓ 1 callersFunctionopen_direct
(path: &Path)
crates/spark-runtime/src/fast_weights/direct_io.rs:59
↓ 1 callersFunctionopen_dump_writer
(args: &cli::ServeArgs)
crates/spark-server/src/main_modules/serve_phases/runtime.rs:96
↓ 1 callersFunctionopen_o_direct
(path: &Path)
crates/spark-storage/src/bench.rs:34
↓ 1 callersFunctionopen_test_file
(path: &Path)
crates/spark-storage/src/bench.rs:204
↓ 1 callersFunctionoptimized_builtin_json
Optimize the builtin-JSON grammar to the FSM-accelerated form.
crates/xgrammar/src/compiler/tests/mod.rs:65
↓ 1 callersFunctionordered_vocab
Build the ordered vocab exactly as spark-server's `extract_ordered_vocab` does (index = token id), from the raw tokenizer.json: `model.vocab` plus `ad
crates/xgrammar/tests/qwen_toolcall_mask.rs:39
↓ 1 callersMethodoutput_extension
(&self)
crates/atlas-kernels/build_target.rs:46
↓ 1 callersFunctionpack_weight_sfb
Repack an Atlas E4M3 weight scale `[K/16,N]` (or `[N,K/16]`) into the CUTLASS SM120 blockscaled SFB swizzle atom (`tile_atom_to_shape_SFB`, ue4m3) tha
crates/spark-runtime/src/cutlass/pack.rs:17
↓ 1 callersFunctionpaged_decode_attn_bf16k_turbo2v
( gpu: &dyn GpuBackend, kernel: KernelHandle, q: DevicePtr, k_cache: DevicePtr, v_cache: D
crates/spark-model/src/layers/ops/kv_cache.rs:484
↓ 1 callersFunctionpaged_decode_attn_bf16k_turbo3v
( gpu: &dyn GpuBackend, kernel: KernelHandle, q: DevicePtr, k_cache: DevicePtr, v_cache: D
crates/spark-model/src/layers/ops/kv_cache.rs:306
↓ 1 callersFunctionpaged_decode_attn_bf16k_turbo4v
( gpu: &dyn GpuBackend, kernel: KernelHandle, q: DevicePtr, k_cache: DevicePtr, v_cache: D
crates/spark-model/src/layers/ops/kv_cache.rs:438
↓ 1 callersFunctionpaged_decode_attn_fp8k_turbo2v
( gpu: &dyn GpuBackend, kernel: KernelHandle, q: DevicePtr, k_cache: DevicePtr, v_cache: D
crates/spark-model/src/layers/ops/kv_cache_fp8k.rs:260
↓ 1 callersFunctionpaged_decode_attn_fp8k_turbo3v
( gpu: &dyn GpuBackend, kernel: KernelHandle, q: DevicePtr, k_cache: DevicePtr, v_cache: D
crates/spark-model/src/layers/ops/kv_cache_fp8k.rs:164
↓ 1 callersFunctionpaged_decode_attn_fp8k_turbo4v
( gpu: &dyn GpuBackend, kernel: KernelHandle, q: DevicePtr, k_cache: DevicePtr, v_cache: D
crates/spark-model/src/layers/ops/kv_cache_fp8k.rs:212
↓ 1 callersFunctionpaged_decode_attn_reduce_fp8
( gpu: &dyn GpuBackend, kernel: KernelHandle, workspace: DevicePtr, output: DevicePtr, seq
crates/spark-model/src/layers/ops/prefill_attn_b.rs:271
↓ 1 callersFunctionpaged_decode_attn_reduce_nvfp4
( gpu: &dyn GpuBackend, kernel: KernelHandle, workspace: DevicePtr, output: DevicePtr, seq
crates/spark-model/src/layers/ops/prefill_attn_b.rs:190
↓ 1 callersFunctionpaged_decode_attn_splitk_fp8
( gpu: &dyn GpuBackend, kernel: KernelHandle, q: DevicePtr, k_cache: DevicePtr, v_cache: D
crates/spark-model/src/layers/ops/prefill_attn_b.rs:221
↓ 1 callersFunctionpaged_decode_attn_splitk_nvfp4
( gpu: &dyn GpuBackend, kernel: KernelHandle, q: DevicePtr, k_cache: DevicePtr, v_cache: D
crates/spark-model/src/layers/ops/prefill_attn_b.rs:142
↓ 1 callersFunctionpaged_decode_attn_turbo3k_turbo8v
( gpu: &dyn GpuBackend, kernel: KernelHandle, q: DevicePtr, k_cache: DevicePtr, v_cache: D
crates/spark-model/src/layers/ops/kv_cache_turbok.rs:252
↓ 1 callersFunctionpaged_decode_attn_turbo4k_turbo3v
( gpu: &dyn GpuBackend, kernel: KernelHandle, q: DevicePtr, k_cache: DevicePtr, v_cache: D
crates/spark-model/src/layers/ops/kv_cache_turbok.rs:152
↓ 1 callersFunctionpaged_decode_attn_turbo4k_turbo8v
( gpu: &dyn GpuBackend, kernel: KernelHandle, q: DevicePtr, k_cache: DevicePtr, v_cache: D
crates/spark-model/src/layers/ops/kv_cache_turbok.rs:202
↓ 1 callersFunctionparam_doc
SDM-compressed per-parameter doc. Returns `None` when the description is absent or, after densification, adds nothing beyond the param name itself (a
crates/spark-server/src/tscg/render.rs:156
↓ 1 callersMethodparam_value_close_delim
qwen3_coder terminates each `<parameter=NAME>VALUE` with `</parameter>`. This is the SSOT delimiter consumed by the value-content ladder (BUG#2) — see
crates/spark-server/src/tool_parser/qwen3_coder.rs:35
↓ 1 callersFunctionparams
(rep: f32, pres: f32, freq: f32, lz: f32, dry: f32)
crates/spark-server/src/scheduler/fast_greedy.rs:125
↓ 1 callersMethodparse
Run the full parse and emit the finished grammar.
crates/xgrammar/src/grammar/parser.rs:198
↓ 1 callersMethodparse
Parse `text` as JSON, preserving object key order.
crates/xgrammar/src/schema/json_value.rs:38
↓ 1 callersFunctionparseRecipe
(text)
site/scripts/gen-models.mjs:48
↓ 1 callersMethodparse_all_of
Parse `allOf`. Port of `ParseAllOf`.
crates/xgrammar/src/schema/parser_composite.rs:60
↓ 1 callersFunctionparse_anthropic_blocking_response
Condense an Anthropic non-streaming /v1/messages response.
scripts/replay_dump.py:222
↓ 1 callersFunctionparse_anthropic_sse_response
Condense an Anthropic /v1/messages SSE stream into a summary. Anthropic's stream emits typed events (message_start, content_block_start, cont
scripts/replay_dump.py:140
↓ 1 callersMethodparse_any_of
Parse `anyOf` / `oneOf`. Port of `ParseAnyOf`.
crates/xgrammar/src/schema/parser_composite.rs:41
↓ 1 callersFunctionparse_args
()
tests/gemma4_hf_diff.py:62
↓ 1 callersFunctionparse_args
()
crates/spark-storage/examples/iouring_bench.rs:17
↓ 1 callersFunctionparse_args
()
crates/spark-storage/examples/gds_probe.rs:17
↓ 1 callersFunctionparse_args
()
crates/spark-storage/examples/long_context_bench.rs:50
← previousnext →3,101–3,200 of 7,049, ranked by callers