MCPcopy Create free account

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

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

Methodfrom_i32
Reconstruct from the raw `i32` stored in the CSR data vector.
crates/xgrammar/src/grammar/expr.rs:38
Methodfrom_impl
Wrap an already-built [`CompiledGrammarImpl`].
crates/xgrammar/src/compiler/compiled_grammar.rs:189
Methodfrom_inline
Build from a single inline token. The caller is expected to have already trimmed; we trim defensively to catch obvious mistakes.
crates/spark-server/src/auth.rs:68
Methodfrom_int
Convert from the integer discriminant used in serialized metadata. Returns `None` for any value other than `0`, `1`, `2` — faithful to the C++ `XGRAM
crates/xgrammar/src/tokenizer/vocab_type.rs:33
Functionfrom_int_rejects_invalid
()
crates/xgrammar/src/tokenizer/vocab_type.rs:89
Functionfrom_int_round_trip
()
crates/xgrammar/src/tokenizer/vocab_type.rs:78
Methodfrom_json
Parse a structural-tag JSON document. Port of `StructuralTagParser::FromJSON`.
crates/xgrammar/src/structural_tag/parser.rs:32
Methodfrom_json
Parse from a JSON string. Returns `None` if parsing fails or string is empty.
crates/spark-server/src/openai/chat_request.rs:293
Methodfrom_json_schema
Construct a grammar from a JSON schema. Port of the vendored `Grammar::from_json_schema`. `indent`, `separators` and `max_whitespace_cnt` follow the
crates/xgrammar/src/api/grammar.rs:45
Methodfrom_map
Crate-internal: wrap a pre-built map. Used by alternate loaders (e.g. `fast_weights::FastSafetensorsLoader`).
crates/spark-runtime/src/weights.rs:104
Methodfrom_model_dir
( model_dir: &Path, eos_token_id: u32, supports_thinking: bool, model_type: &s
crates/spark-server/src/tokenizer/chat_impl.rs:18
Methodfrom_parts
Construct directly from CSR parts — used by the grammar builder (W2) and the deserializer.
crates/xgrammar/src/grammar/data.rs:108
Methodfrom_ptx
(ptx: &str)
crates/spark-storage/src/cuda_module.rs:38
Methodfrom_ptx_src
Load a PTX module from source string into the given CUDA context. The PTX source should be compiled at build time via nvcc --ptx and embedded with in
crates/atlas-core/src/kernel.rs:25
Methodfrom_raw
Reconstruct from raw CSR parts. Returns `None` if the parts are inconsistent (used by deserialization).
crates/xgrammar/src/fsm/compact_array.rs:86
Functionfrom_raw_rejects_inconsistent
()
crates/xgrammar/src/fsm/compact_array.rs:146
Methodfrom_responses_input_item
Translate a Responses-API `input` array item into a chat-completions message. Returns `None` for items the adapter doesn't understand (they are silent
crates/spark-server/src/openai/chat_message.rs:75
Methodfrom_safetensors
(dtype: safetensors::Dtype)
crates/spark-runtime/src/weights.rs:56
Methodfrom_store
Build typed weight references from a flat WeightStore. `layer_types` maps layer index → FullAttention or LinearAttention. `num_experts` is 512 for Qw
crates/spark-model/src/weight_map/model_b.rs:18
Methodfrom_str
(s: &str)
crates/spark-model/src/precision_schedule.rs:82
Methodfrom_str
(s: &str)
crates/spark-model/src/forward/qwen3_5/mod.rs:267
Methodfrom_str
(s: &str)
crates/spark-model/src/layers/mtp_head.rs:40
Methodfrom_str
(s: &str)
crates/spark-server/src/tool_parser.rs:370
Methodfrom_str
(s: &str)
crates/spark-server/src/reasoning_parser/mod.rs:82
Methodfrom_str
(s: &str)
crates/spark-runtime/src/kv_cache.rs:152
Methodfrom_structural_tag
Construct a grammar from a structural tag JSON document. Port of the vendored `Grammar::from_structural_tag`.
crates/xgrammar/src/api/grammar.rs:70
Methodfrom_tokenizer
Build a [`GrammarEngine`] from a HuggingFace tokenizer with the vocab type **auto-detected** from the tokenizer's serialized metadata. F68 (2026-04-2
crates/spark-server/src/grammar/engine.rs:82
Methodfrom_tokenizer_info
(tokenizer_info: TokenizerInfo)
crates/spark-server/src/grammar/engine.rs:132
Methodfrom_weights
( weights: DflashWeights, embed_tokens_shared: DevicePtr, lm_head_shared: DevicePtr,
crates/spark-model/src/layers/dflash_head/from_weights.rs:20
Functionfromstr_short_alias_parses_to_canonical_variant
()
crates/spark-runtime/src/kv_cache/tests_tq_plus.rs:99
Methodfsm
The underlying compact FSM.
crates/xgrammar/src/fsm/compact_with_start_end.rs:69
Functionfsm_accelerated_concatenation
()
crates/xgrammar/src/earley/tests.rs:178
Functionfull_pipeline_alternation
()
crates/xgrammar/src/grammar/functor/mod.rs:86
Functionfull_pipeline_byte_string
()
crates/xgrammar/src/grammar/functor/mod.rs:64
Functionfull_pipeline_recursive_grammar
()
crates/xgrammar/src/grammar/functor/mod.rs:76
Functionfully_empty_regex
()
crates/xgrammar/src/regex/tests_patterns.rs:138
Methodfully_static_rule_count
(&self)
crates/xgrammar/src/compiler/decompose.rs:222
Methodfunction_cached
Look up a function handle with OnceLock caching (cudarc safe API).
crates/atlas-core/src/registry.rs:221
Functionfunction_test_compact_roundtrip
()
crates/xgrammar/src/fsm/mod.rs:59
Functionfunction_test_intersect
()
crates/xgrammar/src/fsm/mod.rs:139
Functionfunction_test_merge_equivalent
()
crates/xgrammar/src/fsm/mod.rs:108
Functionfunction_test_merge_precursor
()
crates/xgrammar/src/fsm/mod.rs:119
Functionfunction_test_minimize_then_not
()
crates/xgrammar/src/fsm/mod.rs:84
Functionfunction_test_simplify_epsilon_state_count
()
crates/xgrammar/src/fsm/mod.rs:98
Functionfunction_test_star_simplify
()
crates/xgrammar/src/fsm/mod.rs:129
Functionfunction_test_to_dfa_no_epsilon
()
crates/xgrammar/src/fsm/mod.rs:72
Functionfused_gdn_gating
Fused computation of g and beta for Gated Delta Net. g = -self.A_log.float().exp() * F.softplus(a.float() + self.dt_bias) beta_output = b
bench/fp8_dgx2_drift/vllm_src/gdn_linear_attn.py:1529
Functionfused_gdn_gating_kernel
( g, beta_output, A_log, a, b, dt_bias, seq_len, NUM_HEADS: tl.constexpr,
bench/fp8_dgx2_drift/vllm_src/gdn_linear_attn.py:1494
Functionfused_k_norm_rope_cache_write_bf16
( gpu: &dyn GpuBackend, kernel: KernelHandle, k_in: DevicePtr, k_norm_weight: DevicePtr, p
crates/spark-model/src/layers/ops/kv_cache.rs:130
Functionfused_k_norm_rope_cache_write_fp8
( gpu: &dyn GpuBackend, kernel: KernelHandle, k_in: DevicePtr, k_norm_weight: DevicePtr, p
crates/spark-model/src/layers/ops/kv_cache.rs:209
Functionfused_ws_quote_token_is_legal_at_ws_state
()
crates/xgrammar/src/matcher/tests/mask_regression_tests.rs:99
Functionfuzzy_repair_case_insensitive
()
crates/spark-server/src/tool_parser/tests/group_c.rs:439
Functionfuzzy_repair_dash_vs_underscore
()
crates/spark-server/src/tool_parser/tests/group_c.rs:429
Functionfuzzy_repair_mcp_double_underscore_added
()
crates/spark-server/src/tool_parser/tests/group_c.rs:419
Functionfuzzy_repair_mcp_double_underscore_dropped
()
crates/spark-server/src/tool_parser/tests/group_c.rs:409
Functionfuzzy_repair_no_false_positive_on_distinct_names
()
crates/spark-server/src/tool_parser/tests/group_c.rs:449
Functiongdn_attention_core
Custom op dispatching to _forward_core or _forward_core_rocm. Handles conv1d + recurrent attention only; input/output projections are perform
bench/fp8_dgx2_drift/vllm_src/gdn_linear_attn.py:1433
Functiongdn_attention_core_fake
Fake implementation for torch.compile.
bench/fp8_dgx2_drift/vllm_src/gdn_linear_attn.py:1473
Functiongdn_decode_chunk2
( gpu: &dyn GpuBackend, kernel: KernelHandle, h_state: DevicePtr, query: DevicePtr, key: D
crates/spark-model/src/layers/ops/ssm_gdn_a.rs:335
Functiongdn_decode_chunk3
( gpu: &dyn GpuBackend, kernel: KernelHandle, h_state: DevicePtr, query: DevicePtr, key: D
crates/spark-model/src/layers/ops/ssm_gdn_b.rs:27
Functiongdn_holo_0_Kernel_Module_Unload
3rdparty_patches/gdn_aot/gdn_holo_0.h:53
Functiongdn_prefill
( gpu: &dyn GpuBackend, kernel: KernelHandle, h_state: DevicePtr, query: DevicePtr, key: D
crates/spark-model/src/layers/ops/ssm_gdn_a2.rs:29
Functiongdn_prefill_split
( gpu: &dyn GpuBackend, kernel: KernelHandle, h_state: DevicePtr, query: DevicePtr, key: D
crates/spark-model/src/layers/ops/ssm_gdn_a2.rs:80
Methodgemm
Prefill-path GEMM: `Y = X @ self_dequant^T`. `X` is BF16 `[m, in_features]`; `Y` is BF16 `[m, out_features]`. Runs the fused `mlx_int8_gemm` kernel —
crates/spark-runtime/src/weights/mlx_int8.rs:319
Functiongemma4_auto_accepts_canonical_call
()
crates/spark-server/src/grammar/tests/gemma4_required.rs:71
Functiongemma4_auto_allows_free_prose
()
crates/spark-server/src/grammar/tests/gemma4_required.rs:106
Functiongemma4_channel_split
()
crates/spark-server/src/reasoning_parser/tests.rs:161
Functiongemma4_no_channel_is_all_content
()
crates/spark-server/src/reasoning_parser/tests.rs:172
Functiongemma4_open_channel_no_close_is_reasoning
()
crates/spark-server/src/reasoning_parser/tests.rs:180
Functiongemma4_required_accepts_canonical_call
()
crates/spark-server/src/grammar/tests/gemma4_required.rs:55
Functiongemma4_required_rejects_leading_prose
()
crates/spark-server/src/grammar/tests/gemma4_required.rs:89
Methodgemv_gate_up_with
Dual-output GEMV with shared input: `gate_y = self @ x`, `up_y = other @ x`. The default impl is two serial `gemv` calls — correct on any backend, jus
crates/spark-model/src/forward/quant_weights.rs:51
Methodgemv_silu_gate
Fused FFN tail: `y = self @ (silu(gate) ⊙ up)`. Default impl errors — backends that ship the fused kernel override; backends that don't can either er
crates/spark-model/src/forward/quant_weights.rs:76
Methodgemv_silu_gate
Decode-path FFN-residual fusion: `y = self @ (silu(gate) ⊙ up)` Runs the fused `mlx_int8_gemv_silu_gate` kernel — replaces the `silu_gate → gemv(down_
crates/spark-runtime/src/weights/mlx_int8.rs:282
Methodgemv_silu_gate_resid
Same as [`Self::gemv_silu_gate`] but additionally folds the layer-output residual addition into the same kernel: `y[n] = x_resid[n] + sum_k self[n, k]
crates/spark-model/src/forward/quant_weights.rs:96
Methodgemv_silu_gate_resid
Like `gemv_silu_gate`, but additionally folds the residual stream addition into the same kernel: `y[n] = x_resid[n] + sum_k self[n, k] * (silu(gate[k]
crates/spark-runtime/src/weights/mlx_int8.rs:242
Methodgenerate_speculative
( &self, prompt_tokens: &[u32], params: &spark_runtime::sampler::SamplingParams,
crates/spark-model/src/model/trait_impl/mod.rs:215
Methodgenerate_unique_id
()
crates/spark-comm/src/nccl_backend.rs:418
Functiongenerated_grammar_is_parseable
()
crates/xgrammar/src/schema/tests_objects.rs:374
Functionget_by_id_negative
()
crates/xgrammar/src/grammar/builder_tests.rs:247
Functionget_by_id_ok
()
crates/xgrammar/src/grammar/builder_tests.rs:255
Functionget_by_id_out_of_bounds
()
crates/xgrammar/src/grammar/builder_tests.rs:239
Methodget_cache_scale
Check whether the param name matches the format for k/v cache scales in compressed-tensors. If this is the case, return its equivalen
bench/fp8_dgx2_drift/vllm_src/fp8.py:207
Methodget_cache_size_bytes
Approximate cache size in bytes. Port of the vendored `GrammarCompiler::get_cache_size_bytes`.
crates/xgrammar/src/api/compiler.rs:131
Methodget_config_filenames
(cls)
bench/fp8_dgx2_drift/vllm_src/fp8.py:148
Functionget_conversation
GET /v1/conversations/{id}
crates/spark-server/src/api/conversations.rs:115
Functionget_conversation_item
GET /v1/conversations/{id}/items/{item_id}
crates/spark-server/src/api/conversations.rs:270
Methodget_eagle3_aux_hidden_state_layers
(self)
bench/fp8_dgx2_drift/vllm_src/qwen3_5.py:494
Methodget_expert_mapping
(self)
bench/fp8_dgx2_drift/vllm_src/qwen3_next.py:827
Methodget_function
Get a kernel function handle by name.
crates/atlas-core/src/kernel.rs:34
Methodget_hf_config
(self)
bench/fp8_dgx2_drift/vllm_src/qwen3_5.py:114
Methodget_layer
(prefix: str)
bench/fp8_dgx2_drift/vllm_src/qwen3_next.py:481
Methodget_layer
(prefix: str)
bench/fp8_dgx2_drift/vllm_src/qwen3_5.py:227
Methodget_mamba_state_copy_func
(cls)
bench/fp8_dgx2_drift/vllm_src/qwen3_next.py:811
Methodget_mamba_state_copy_func
(cls)
bench/fp8_dgx2_drift/vllm_src/qwen3_5.py:707
Methodget_mamba_state_dtype_from_config
( cls, vllm_config: "VllmConfig", )
bench/fp8_dgx2_drift/vllm_src/qwen3_next.py:778
Methodget_mamba_state_dtype_from_config
( cls, vllm_config: "VllmConfig", )
bench/fp8_dgx2_drift/vllm_src/qwen3_5.py:674
Methodget_mamba_state_shape_from_config
( cls, vllm_config: "VllmConfig" )
bench/fp8_dgx2_drift/vllm_src/qwen3_next.py:789
Methodget_mamba_state_shape_from_config
( cls, vllm_config: "VllmConfig" )
bench/fp8_dgx2_drift/vllm_src/qwen3_5.py:685
Methodget_min_capability
(cls)
bench/fp8_dgx2_drift/vllm_src/fp8.py:144
← previousnext →4,901–5,000 of 7,049, ranked by callers