Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Avarok-Cybersecurity/atlas
/ functions
Functions
7,049 in github.com/Avarok-Cybersecurity/atlas
⨍
Functions
7,049
◇
Types & classes
847
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/hf_dual_forward.py:111
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/hf_forward_gpu.py:36
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/cosine_run.py:40
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/scan_ws_tokens.py:35
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/op_cosine.py:272
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/hf_op_dump.py:123
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/harness/score_run.py:465
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/harness/mtp_warm_stress.py:115
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/harness/backfill_followed_directions.py:59
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/harness/prefix_partial_hit_repro.py:131
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/harness/compare_tiers.py:104
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/harness/followed_directions.py:169
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/harness/aggregate.py:207
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/harness/warm_cold_chain_repro.py:73
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/harness/overnight/edit_probe2.py:156
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/harness/overnight/edit_probe.py:170
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/harness/overnight/edit_probe4.py:103
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/harness/overnight/run_level.py:118
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/harness/overnight/edit_probe3.py:147
↓ 1 callers
Function
main
()
bench/longcode/harness.py:174
↓ 1 callers
Function
main
()
bench/longcode/compare.py:18
↓ 1 callers
Function
main
()
bench/longcode/hang-forensics/hf_gdn_ref_a3b.py:106
↓ 1 callers
Function
main
()
bench/qwen36_fp8_dequant_audit/cosine_three_way_phase2b.py:61
↓ 1 callers
Function
main
()
bench/qwen36_fp8_dequant_audit/hf_dequant_forward.py:37
↓ 1 callers
Function
main
()
bench/qwen36_fp8_dequant_audit/dequant_to_bf16.py:67
↓ 1 callers
Function
main
()
bench/qwen36_fp8_dequant_audit/cosine_three_way.py:60
↓ 1 callers
Method
make
Build a shared spec — the Rust analogue of `SchemaSpec::Make`.
crates/xgrammar/src/schema/spec.rs:180
↓ 1 callers
Function
make_assistant_tool_call
(name: &str, args_json: &str)
crates/spark-server/src/api/tests/watchdog_f7.rs:85
↓ 1 callers
Function
make_filler
(n_words)
bench/fp8_dgx2_drift/harness/prefix_partial_hit_repro.py:83
↓ 1 callers
Function
make_fp8_moe_kernel
( moe_quant_config: FusedMoEQuantConfig, moe_config: FusedMoEConfig, experts_cls: type[mk.FusedMoE
bench/fp8_dgx2_drift/vllm_src/moe_oracle_fp8.py:591
↓ 1 callers
Function
make_fp8_moe_quant_config
Create FusedMoEQuantConfig for the specified FP8 Backend. The FusedMoEQuantConfig holds the scales that are used at runtime by the Modula
bench/fp8_dgx2_drift/vllm_src/moe_oracle_fp8.py:507
↓ 1 callers
Function
make_hook
(li)
bench/fp8_dgx2_drift/hf_forward_new_tokens.py:60
↓ 1 callers
Function
make_hook
(li)
bench/fp8_dgx2_drift/hf_forward_bf16_unquant.py:55
↓ 1 callers
Function
make_hook
(li)
bench/fp8_dgx2_drift/vllm_layer_dump.py:107
↓ 1 callers
Function
make_hook
(li)
bench/fp8_dgx2_drift/hf_dual_forward.py:53
↓ 1 callers
Function
make_hook
(li)
bench/fp8_dgx2_drift/hf_forward_gpu.py:69
↓ 1 callers
Function
make_hook
(li)
bench/qwen36_fp8_dequant_audit/hf_dequant_forward.py:63
↓ 1 callers
Function
make_layer_input_prehook
Forward-pre-hook on the decoder layer to capture the input hidden state.
bench/fp8_dgx2_drift/hf_op_dump.py:101
↓ 1 callers
Function
make_prompt
(target_tokens: int)
bench/bench_isl_osl.py:47
↓ 1 callers
Function
make_prompt
(target_tokens: int)
bench/bench-atlas-concurrency.py:63
↓ 1 callers
Function
make_prompt
Build a prompt targeting ~isl_tokens total (chat template adds ~12 overhead). count_prompt=True appends a counting instruction so the model gener
bench/bench_concurrency.py:174
↓ 1 callers
Function
make_v_norm_ones_bf16
Allocate a BF16 ones-filled buffer of length `head_dim` for v_norm (Gemma-4 v_norm is identity-shaped per HF reference).
crates/spark-model/src/weight_loader/gemma4/loader_b.rs:76
↓ 1 callers
Function
mamba2_ssm_prefill
( gpu: &dyn GpuBackend, kernel: KernelHandle, h_state: DevicePtr, x: DevicePtr, b_proj: De
crates/spark-model/src/layers/ops/ssm_mamba.rs:227
↓ 1 callers
Function
mamba2_ssm_prefill_persistent
( gpu: &dyn GpuBackend, kernel: KernelHandle, h_state: DevicePtr, x: DevicePtr, b_proj: De
crates/spark-model/src/layers/ops/ssm_mamba.rs:283
↓ 1 callers
Function
map_fp8_backend
Map user's MoEBackend to Fp8MoeBackend.
bench/fp8_dgx2_drift/vllm_src/moe_oracle_fp8.py:206
↓ 1 callers
Method
mark_visited
Mark `state` visited without enqueuing it for processing. Returns true if it was newly marked. Mirrors the C++ `EnqueueWithoutProcessing` visited-set
crates/xgrammar/src/earley/queue.rs:60
↓ 1 callers
Function
mask_code_spans
We walk char-by-char to keep multi-byte characters intact: each non- newline char inside a code region becomes N ASCII spaces where N is the char's UT
crates/spark-server/src/openai/annotations.rs:219
↓ 1 callers
Function
mask_logits_and_sample
Apply a packed accept bitmask to a logits vector, then pick the arg-max — a minimal CPU proxy for the "mask logits + sample" step a constrained-decodi
crates/xgrammar/benches/grammar_bench.rs:245
↓ 1 callers
Function
masked_entropy
Shannon entropy of the softmax distribution over `logits`, computed in numerically-stable log-sum-exp form. Tokens at `-inf` (masked by the grammar bi
crates/spark-server/src/scheduler/logit_processors/adadec_diag.rs:70
↓ 1 callers
Function
max_abs_f32
(a: &[f32], b: &[f32])
crates/spark-storage/tests/predictor_parity.rs:65
↓ 1 callers
Function
maybe_dump_tokens
Write the argmax sequence (one id per line) when `ATLAS_DUMP_TOKENS` is set — the output feeds `ATLAS_FORCE_TOKENS_FILE` in later runs.
crates/spark-model/examples/metal_qwen35_inference/eval_io.rs:37
↓ 1 callers
Method
maybe_finalize
Poll `d_innerq_count`. When it crosses `target_tokens`, pull `d_innerq_sq_accum`, compute per-channel scale/scale_inv, upload, and flip `d_innerq_acti
crates/spark-model/src/layers/qwen3_attention/innerq_driver.rs:135
↓ 1 callers
Function
maybe_log_decode_trace
Env-gated diagnostic trace for the thinking-phase emit path. Off by default; logs at DEBUG when `ATLAS_THINKING_DECODE_TRACE` is set in the environmen
crates/spark-server/src/api/chat_stream/strip.rs:53
↓ 1 callers
Function
maybe_run_ep_worker
( args: &cli::ServeArgs, model: &mut Option<Box<dyn spark_model::traits::Model>>, early_high_speed
crates/spark-server/src/main_modules/serve_phases/build.rs:145
↓ 1 callers
Function
maybe_run_minimax_m2_moe_transpose
Pre-flight memory audit + MoE-transpose pass for MiniMax-M2 unified / hybrid layout modes.
crates/spark-model/src/factory/m2_setup.rs:13
↓ 1 callers
Function
measure_decode_tps
(url: str, model: str, out_tokens: int)
bench/qwen36_ttft.py:83
↓ 1 callers
Function
measure_ttft
(url: str, model: str, prompt_len: int)
bench/qwen36_ttft.py:61
↓ 1 callers
Function
mem_info
Query the current context's free/total HBM in bytes. Used by HSS install preflight to fail fast with an actionable error before a multi-GB `cuMemAlloc
crates/spark-storage/src/cuda_min.rs:35
↓ 1 callers
Method
memory_bytes
Approximate memory footprint of this correction in bytes. Used to budget how many layers can carry corrections within a memory ceiling.
crates/spark-server/src/lqer.rs:61
↓ 1 callers
Method
memory_size
Approximate heap memory usage in bytes. Port of `MemorySize(const CompiledGrammar::Impl&)`. The mask term sums only the masks computed so far (the laz
crates/xgrammar/src/compiler/compiled_grammar.rs:86
↓ 1 callers
Method
memory_size
Approximate heap memory used by this mask, in bytes. Port of the C++ `MemorySize(const AdaptiveTokenMask&)` friend.
crates/xgrammar/src/compiler/mask.rs:199
↓ 1 callers
Method
memory_size_bytes
Approximate memory usage in bytes. Port of `CompiledGrammar::MemorySizeBytes`.
crates/xgrammar/src/compiler/compiled_grammar.rs:298
↓ 1 callers
Method
memset
(&self, ptr: DevicePtr, value: u8, bytes: usize)
crates/spark-runtime/src/metal_backend.rs:530
↓ 1 callers
Function
merge_sidecar_quant_config
(model_dir: &Path, config: &mut ModelConfig)
crates/spark-server/src/main_modules/serve_phases/config.rs:13
↓ 1 callers
Function
merged_annotations
Convenience: run the bare-URL extractor + the structured citation extractor and return the deduped annotations. `None` when nothing matched, so the fi
crates/spark-server/src/citation.rs:50
↓ 1 callers
Function
messages_to_disk_json
Convert `Vec<IncomingMessage>` to a JSON array that can be round-tripped back via the same `IncomingMessage::deserialize` path that serves inbound req
crates/spark-server/src/response_store.rs:149
↓ 1 callers
Function
mid_word_token_mask
Read the mid-word token mask. `None` until `set_mid_word_token_mask` runs — callers must treat `None` as "no mid-word info available" and skip the sup
crates/spark-server/src/scheduler/helpers.rs:438
↓ 1 callers
Method
middle_separator
Separator between elements of a container.
crates/xgrammar/src/schema/indent.rs:76
↓ 1 callers
Method
mixed_build_decode_layer_states
Build the decode portion's `(seq_lens, block_tables, all_layer_states)` for the fused mixed forward. Real decode sequences contribute their own seq_le
crates/spark-model/src/model/trait_impl/decode_b/build_states.rs:26
↓ 1 callers
Method
mixed_final_norm_lm_head
( &self, hidden: DevicePtr, prefill_hidden: DevicePtr, padded_n: usize,
crates/spark-model/src/model/trait_impl/decode_b2.rs:26
↓ 1 callers
Method
mixed_forward
Process N decode tokens + an M-token prefill chunk in one pass through the same weight loads. Returns decode logits `[N, vocab]` and prefill logits `[
crates/spark-model/src/traits/model.rs:79
↓ 1 callers
Method
mixed_forward_batch
Generalised mixed forward: M decode tokens + N concurrent prefill chunks fused into one forward pass. Default: delegates to `decode_batch` + `prefill_
crates/spark-model/src/traits/model.rs:148
↓ 1 callers
Method
mixed_forward_dispatch
( &self, decode_tokens: &[u32], decode_seqs: &mut [&mut SequenceState], prefil
crates/spark-model/src/model/trait_impl/decode_b.rs:37
↓ 1 callers
Function
mla_cache_assemble
MLA cache assembly: fuse [kv_latent|k_rope]→K and [kv_latent|zeros]→V into 1 kernel.
crates/spark-model/src/layers/ops/kv_cache.rs:664
↓ 1 callers
Function
mla_paged_decode_fp8
( gpu: &dyn GpuBackend, kernel: KernelHandle, q: DevicePtr, k_cache: DevicePtr, v_cache: D
crates/spark-model/src/layers/ops/kv_cache.rs:753
↓ 1 callers
Function
mla_paged_decode_nvfp4
( gpu: &dyn GpuBackend, kernel: KernelHandle, q: DevicePtr, k_cache: DevicePtr, v_cache: D
crates/spark-model/src/layers/ops/kv_cache.rs:700
↓ 1 callers
Function
mla_q_rope_scatter
( gpu: &dyn GpuBackend, kernel: KernelHandle, q_full: DevicePtr, q_absorbed_buf: DevicePtr,
crates/spark-model/src/layers/ops/kv_cache.rs:610
↓ 1 callers
Function
mla_q_rope_writeback
MLA Q_rope writeback: scatter RoPE'd rope portions to strided layout. 1 kernel replaces 32 D2D copies.
crates/spark-model/src/layers/ops/kv_cache.rs:640
↓ 1 callers
Function
module_for
PTX module a kernel resolves in. Most share the `gemm` TU (dense_gemm_bf16.cu); dense_gemm_tc.cu is its own TU → module = file stem.
crates/spark-model/examples/dense_gemm_microtest.rs:161
↓ 1 callers
Function
moe_decode_atomic_c4_finalize
( gpu: &dyn GpuBackend, kernel: KernelHandle, output: DevicePtr, routed_accum: DevicePtr,
crates/spark-model/src/layers/ops/moe_atomic_c4.rs:62
↓ 1 callers
Function
moe_decode_atomic_c4_silu_down_accum
( gpu: &dyn GpuBackend, kernel: KernelHandle, gate_out: DevicePtr, up_out: DevicePtr, pack
crates/spark-model/src/layers/ops/moe_atomic_c4.rs:14
↓ 1 callers
Function
moe_expert_gate_up_shared
( gpu: &dyn GpuBackend, kernel: KernelHandle, input: DevicePtr, gate_packed_ptrs: DevicePtr,
crates/spark-model/src/layers/ops/moe_expert.rs:230
↓ 1 callers
Function
moe_expert_gate_up_shared_batch2
( gpu: &dyn GpuBackend, kernel: KernelHandle, input: DevicePtr, // [2, H] BF16 gate_packed_ptr
crates/spark-model/src/layers/ops/moe_expert_more.rs:74
↓ 1 callers
Function
moe_expert_gate_up_shared_batch2_t
( gpu: &dyn GpuBackend, kernel: KernelHandle, input: DevicePtr, gate_packed_t_ptrs: DevicePtr,
crates/spark-model/src/layers/ops/fp8_moe_batch_a.rs:18
↓ 1 callers
Function
moe_expert_gate_up_shared_batch3
( gpu: &dyn GpuBackend, kernel: KernelHandle, input: DevicePtr, // [3, H] BF16 gate_packed_ptr
crates/spark-model/src/layers/ops/moe_expert_more.rs:214
↓ 1 callers
Function
moe_expert_gate_up_shared_batch3_t
( gpu: &dyn GpuBackend, kernel: KernelHandle, input: DevicePtr, gate_packed_t_ptrs: DevicePtr,
crates/spark-model/src/layers/ops/fp8_moe_batch_a.rs:114
↓ 1 callers
Function
moe_expert_gate_up_shared_bf16
( gpu: &dyn GpuBackend, kernel: KernelHandle, input: DevicePtr, gate_weight_ptrs: DevicePtr,
crates/spark-model/src/layers/ops/moe_expert.rs:388
↓ 1 callers
Function
moe_expert_gate_up_shared_bf16_batch2
( gpu: &dyn GpuBackend, kernel: KernelHandle, input: DevicePtr, gate_weight_ptrs: DevicePtr,
crates/spark-model/src/layers/ops/moe_expert.rs:476
↓ 1 callers
Function
moe_expert_gate_up_shared_fp8
( gpu: &dyn GpuBackend, kernel: KernelHandle, input: DevicePtr, gate_weight_ptrs: DevicePtr,
crates/spark-model/src/layers/ops/moe_expert.rs:338
↓ 1 callers
Function
moe_expert_gate_up_shared_fp8_batch2
( gpu: &dyn GpuBackend, kernel: KernelHandle, input: DevicePtr, gp_w: DevicePtr, gp_s: Dev
crates/spark-model/src/layers/ops/fp8_moe.rs:80
↓ 1 callers
Function
moe_expert_gate_up_shared_fp8_batch3
( gpu: &dyn GpuBackend, kernel: KernelHandle, input: DevicePtr, gp_w: DevicePtr, gp_s: Dev
crates/spark-model/src/layers/ops/fp8_moe.rs:167
↓ 1 callers
Function
moe_expert_silu_down_shared
( gpu: &dyn GpuBackend, kernel: KernelHandle, gate_out: DevicePtr, up_out: DevicePtr, pack
crates/spark-model/src/layers/ops/moe_expert.rs:287
↓ 1 callers
Function
moe_expert_silu_down_shared_batch2
( gpu: &dyn GpuBackend, kernel: KernelHandle, gate_out: DevicePtr, // [2*top_k, inter] BF16 up
crates/spark-model/src/layers/ops/moe_expert_more.rs:128
↓ 1 callers
Function
moe_expert_silu_down_shared_batch2_t
( gpu: &dyn GpuBackend, kernel: KernelHandle, gate_out: DevicePtr, up_out: DevicePtr, pack
crates/spark-model/src/layers/ops/fp8_moe_batch_a.rs:69
↓ 1 callers
Function
moe_expert_silu_down_shared_batch3
( gpu: &dyn GpuBackend, kernel: KernelHandle, gate_out: DevicePtr, // [3*top_k, inter] BF16 up
crates/spark-model/src/layers/ops/moe_expert_more.rs:267
↓ 1 callers
Function
moe_expert_silu_down_shared_batch3_t
( gpu: &dyn GpuBackend, kernel: KernelHandle, gate_out: DevicePtr, up_out: DevicePtr, pack
crates/spark-model/src/layers/ops/fp8_moe_batch_a.rs:165
↓ 1 callers
Function
moe_expert_silu_down_shared_bf16
( gpu: &dyn GpuBackend, kernel: KernelHandle, gate_out: DevicePtr, up_out: DevicePtr, down
crates/spark-model/src/layers/ops/moe_expert.rs:431
↓ 1 callers
Function
moe_expert_silu_down_shared_bf16_batch2
( gpu: &dyn GpuBackend, kernel: KernelHandle, gate_out: DevicePtr, up_out: DevicePtr, down
crates/spark-model/src/layers/ops/moe_expert.rs:520
↓ 1 callers
Function
moe_expert_silu_down_shared_fp8
( gpu: &dyn GpuBackend, kernel: KernelHandle, gate_out: DevicePtr, up_out: DevicePtr, down
crates/spark-model/src/layers/ops/moe_expert.rs:563
↓ 1 callers
Function
moe_expert_silu_down_shared_fp8_batch2
( gpu: &dyn GpuBackend, kernel: KernelHandle, gate_out: DevicePtr, up_out: DevicePtr, dp_w
crates/spark-model/src/layers/ops/fp8_moe.rs:126
← previous
next →
3,001–3,100 of 7,049, ranked by callers