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
Method
from_i32
Reconstruct from the raw `i32` stored in the CSR data vector.
crates/xgrammar/src/grammar/expr.rs:38
Method
from_impl
Wrap an already-built [`CompiledGrammarImpl`].
crates/xgrammar/src/compiler/compiled_grammar.rs:189
Method
from_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
Method
from_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
Function
from_int_rejects_invalid
()
crates/xgrammar/src/tokenizer/vocab_type.rs:89
Function
from_int_round_trip
()
crates/xgrammar/src/tokenizer/vocab_type.rs:78
Method
from_json
Parse a structural-tag JSON document. Port of `StructuralTagParser::FromJSON`.
crates/xgrammar/src/structural_tag/parser.rs:32
Method
from_json
Parse from a JSON string. Returns `None` if parsing fails or string is empty.
crates/spark-server/src/openai/chat_request.rs:293
Method
from_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
Method
from_map
Crate-internal: wrap a pre-built map. Used by alternate loaders (e.g. `fast_weights::FastSafetensorsLoader`).
crates/spark-runtime/src/weights.rs:104
Method
from_model_dir
( model_dir: &Path, eos_token_id: u32, supports_thinking: bool, model_type: &s
crates/spark-server/src/tokenizer/chat_impl.rs:18
Method
from_parts
Construct directly from CSR parts — used by the grammar builder (W2) and the deserializer.
crates/xgrammar/src/grammar/data.rs:108
Method
from_ptx
(ptx: &str)
crates/spark-storage/src/cuda_module.rs:38
Method
from_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
Method
from_raw
Reconstruct from raw CSR parts. Returns `None` if the parts are inconsistent (used by deserialization).
crates/xgrammar/src/fsm/compact_array.rs:86
Function
from_raw_rejects_inconsistent
()
crates/xgrammar/src/fsm/compact_array.rs:146
Method
from_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
Method
from_safetensors
(dtype: safetensors::Dtype)
crates/spark-runtime/src/weights.rs:56
Method
from_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
Method
from_str
(s: &str)
crates/spark-model/src/precision_schedule.rs:82
Method
from_str
(s: &str)
crates/spark-model/src/forward/qwen3_5/mod.rs:267
Method
from_str
(s: &str)
crates/spark-model/src/layers/mtp_head.rs:40
Method
from_str
(s: &str)
crates/spark-server/src/tool_parser.rs:370
Method
from_str
(s: &str)
crates/spark-server/src/reasoning_parser/mod.rs:82
Method
from_str
(s: &str)
crates/spark-runtime/src/kv_cache.rs:152
Method
from_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
Method
from_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
Method
from_tokenizer_info
(tokenizer_info: TokenizerInfo)
crates/spark-server/src/grammar/engine.rs:132
Method
from_weights
( weights: DflashWeights, embed_tokens_shared: DevicePtr, lm_head_shared: DevicePtr,
crates/spark-model/src/layers/dflash_head/from_weights.rs:20
Function
fromstr_short_alias_parses_to_canonical_variant
()
crates/spark-runtime/src/kv_cache/tests_tq_plus.rs:99
Method
fsm
The underlying compact FSM.
crates/xgrammar/src/fsm/compact_with_start_end.rs:69
Function
fsm_accelerated_concatenation
()
crates/xgrammar/src/earley/tests.rs:178
Function
full_pipeline_alternation
()
crates/xgrammar/src/grammar/functor/mod.rs:86
Function
full_pipeline_byte_string
()
crates/xgrammar/src/grammar/functor/mod.rs:64
Function
full_pipeline_recursive_grammar
()
crates/xgrammar/src/grammar/functor/mod.rs:76
Function
fully_empty_regex
()
crates/xgrammar/src/regex/tests_patterns.rs:138
Method
fully_static_rule_count
(&self)
crates/xgrammar/src/compiler/decompose.rs:222
Method
function_cached
Look up a function handle with OnceLock caching (cudarc safe API).
crates/atlas-core/src/registry.rs:221
Function
function_test_compact_roundtrip
()
crates/xgrammar/src/fsm/mod.rs:59
Function
function_test_intersect
()
crates/xgrammar/src/fsm/mod.rs:139
Function
function_test_merge_equivalent
()
crates/xgrammar/src/fsm/mod.rs:108
Function
function_test_merge_precursor
()
crates/xgrammar/src/fsm/mod.rs:119
Function
function_test_minimize_then_not
()
crates/xgrammar/src/fsm/mod.rs:84
Function
function_test_simplify_epsilon_state_count
()
crates/xgrammar/src/fsm/mod.rs:98
Function
function_test_star_simplify
()
crates/xgrammar/src/fsm/mod.rs:129
Function
function_test_to_dfa_no_epsilon
()
crates/xgrammar/src/fsm/mod.rs:72
Function
fused_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
Function
fused_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
Function
fused_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
Function
fused_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
Function
fused_ws_quote_token_is_legal_at_ws_state
()
crates/xgrammar/src/matcher/tests/mask_regression_tests.rs:99
Function
fuzzy_repair_case_insensitive
()
crates/spark-server/src/tool_parser/tests/group_c.rs:439
Function
fuzzy_repair_dash_vs_underscore
()
crates/spark-server/src/tool_parser/tests/group_c.rs:429
Function
fuzzy_repair_mcp_double_underscore_added
()
crates/spark-server/src/tool_parser/tests/group_c.rs:419
Function
fuzzy_repair_mcp_double_underscore_dropped
()
crates/spark-server/src/tool_parser/tests/group_c.rs:409
Function
fuzzy_repair_no_false_positive_on_distinct_names
()
crates/spark-server/src/tool_parser/tests/group_c.rs:449
Function
gdn_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
Function
gdn_attention_core_fake
Fake implementation for torch.compile.
bench/fp8_dgx2_drift/vllm_src/gdn_linear_attn.py:1473
Function
gdn_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
Function
gdn_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
Function
gdn_holo_0_Kernel_Module_Unload
3rdparty_patches/gdn_aot/gdn_holo_0.h:53
Function
gdn_prefill
( gpu: &dyn GpuBackend, kernel: KernelHandle, h_state: DevicePtr, query: DevicePtr, key: D
crates/spark-model/src/layers/ops/ssm_gdn_a2.rs:29
Function
gdn_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
Method
gemm
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
Function
gemma4_auto_accepts_canonical_call
()
crates/spark-server/src/grammar/tests/gemma4_required.rs:71
Function
gemma4_auto_allows_free_prose
()
crates/spark-server/src/grammar/tests/gemma4_required.rs:106
Function
gemma4_channel_split
()
crates/spark-server/src/reasoning_parser/tests.rs:161
Function
gemma4_no_channel_is_all_content
()
crates/spark-server/src/reasoning_parser/tests.rs:172
Function
gemma4_open_channel_no_close_is_reasoning
()
crates/spark-server/src/reasoning_parser/tests.rs:180
Function
gemma4_required_accepts_canonical_call
()
crates/spark-server/src/grammar/tests/gemma4_required.rs:55
Function
gemma4_required_rejects_leading_prose
()
crates/spark-server/src/grammar/tests/gemma4_required.rs:89
Method
gemv_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
Method
gemv_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
Method
gemv_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
Method
gemv_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
Method
gemv_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
Method
generate_speculative
( &self, prompt_tokens: &[u32], params: &spark_runtime::sampler::SamplingParams,
crates/spark-model/src/model/trait_impl/mod.rs:215
Method
generate_unique_id
()
crates/spark-comm/src/nccl_backend.rs:418
Function
generated_grammar_is_parseable
()
crates/xgrammar/src/schema/tests_objects.rs:374
Function
get_by_id_negative
()
crates/xgrammar/src/grammar/builder_tests.rs:247
Function
get_by_id_ok
()
crates/xgrammar/src/grammar/builder_tests.rs:255
Function
get_by_id_out_of_bounds
()
crates/xgrammar/src/grammar/builder_tests.rs:239
Method
get_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
Method
get_cache_size_bytes
Approximate cache size in bytes. Port of the vendored `GrammarCompiler::get_cache_size_bytes`.
crates/xgrammar/src/api/compiler.rs:131
Method
get_config_filenames
(cls)
bench/fp8_dgx2_drift/vllm_src/fp8.py:148
Function
get_conversation
GET /v1/conversations/{id}
crates/spark-server/src/api/conversations.rs:115
Function
get_conversation_item
GET /v1/conversations/{id}/items/{item_id}
crates/spark-server/src/api/conversations.rs:270
Method
get_eagle3_aux_hidden_state_layers
(self)
bench/fp8_dgx2_drift/vllm_src/qwen3_5.py:494
Method
get_expert_mapping
(self)
bench/fp8_dgx2_drift/vllm_src/qwen3_next.py:827
Method
get_function
Get a kernel function handle by name.
crates/atlas-core/src/kernel.rs:34
Method
get_hf_config
(self)
bench/fp8_dgx2_drift/vllm_src/qwen3_5.py:114
Method
get_layer
(prefix: str)
bench/fp8_dgx2_drift/vllm_src/qwen3_next.py:481
Method
get_layer
(prefix: str)
bench/fp8_dgx2_drift/vllm_src/qwen3_5.py:227
Method
get_mamba_state_copy_func
(cls)
bench/fp8_dgx2_drift/vllm_src/qwen3_next.py:811
Method
get_mamba_state_copy_func
(cls)
bench/fp8_dgx2_drift/vllm_src/qwen3_5.py:707
Method
get_mamba_state_dtype_from_config
( cls, vllm_config: "VllmConfig", )
bench/fp8_dgx2_drift/vllm_src/qwen3_next.py:778
Method
get_mamba_state_dtype_from_config
( cls, vllm_config: "VllmConfig", )
bench/fp8_dgx2_drift/vllm_src/qwen3_5.py:674
Method
get_mamba_state_shape_from_config
( cls, vllm_config: "VllmConfig" )
bench/fp8_dgx2_drift/vllm_src/qwen3_next.py:789
Method
get_mamba_state_shape_from_config
( cls, vllm_config: "VllmConfig" )
bench/fp8_dgx2_drift/vllm_src/qwen3_5.py:685
Method
get_min_capability
(cls)
bench/fp8_dgx2_drift/vllm_src/fp8.py:144
← previous
next →
4,901–5,000 of 7,049, ranked by callers