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
Method
load_layers
( &self, store: &WeightStore, config: &ModelConfig, gpu: &dyn GpuBackend,
crates/spark-model/src/weight_loader/qwen3.rs:32
↓ 1 callers
Function
load_layers_impl
( store: &WeightStore, config: &ModelConfig, gpu: &dyn GpuBackend, layer_kv_dtypes: &[KvCacheD
crates/spark-model/src/weight_loader/gemma4/loader_a.rs:21
↓ 1 callers
Method
load_layers_inner
( &self, store: &WeightStore, config: &ModelConfig, gpu: &dyn GpuBackend,
crates/spark-model/src/mistral_loader/loader_impl/mod.rs:117
↓ 1 callers
Function
load_level
(level: int)
bench/fp8_dgx2_drift/harness/overnight/run_level.py:44
↓ 1 callers
Function
load_lm_head
(store: &WeightStore, config: &ModelConfig)
crates/spark-model/src/weight_loader/qwen35_dense/loaders_b.rs:22
↓ 1 callers
Method
load_lm_head
(&self, store: &WeightStore, _config: &ModelConfig)
crates/spark-model/src/weight_loader/qwen3.rs:443
↓ 1 callers
Function
load_lm_head_impl
(store: &WeightStore, config: &ModelConfig)
crates/spark-model/src/weight_loader/gemma4/loader_b.rs:144
↓ 1 callers
Function
load_lm_head_weight
lm_head [vocab, hidden] in BF16 → cast to f32 for stable matmul.
bench/fp8_dgx2_drift/c1_final_logit_overlap.py:67
↓ 1 callers
Function
load_lora_qkv
(ctx: &mut MistralLayerCtx<'_>)
crates/spark-model/src/mistral_loader/loader_impl/phase_lora_qkv.rs:11
↓ 1 callers
Function
load_model_config
(model_dir: &Path)
crates/spark-server/src/main_modules/serve_phases/config.rs:32
↓ 1 callers
Function
load_moe_ffn
( store: &WeightStore, config: &ModelConfig, gpu: &dyn GpuBackend, lp: &str, moe_gate_key:
crates/spark-model/src/weight_loader/step3p7/load_layers.rs:127
↓ 1 callers
Function
load_moe_gemma4
Load MoE weights for Gemma-4 26B-A4B. Differences from Qwen3.5: - Router at `{lp}.router.proj.weight` (not `{lp}.mlp.gate.weight`) - Router `scale` `
crates/spark-model/src/weight_map/ssm_qwen35_more.rs:229
↓ 1 callers
Function
load_moe_minimax
( store: &WeightStore, layer_prefix: &str, num_experts: usize, gpu: &dyn GpuBackend, confi
crates/spark-model/src/weight_map/ssm_qwen35_more.rs:32
↓ 1 callers
Function
load_moe_mistral
Load MoE weights for Mistral models (w1/w2/w3 naming convention). w1 = gate_proj, w2 = down_proj, w3 = up_proj.
crates/spark-model/src/weight_map/loaders_moe.rs:111
↓ 1 callers
Function
load_moe_no_shared
Load MoE weights for models without shared experts (e.g. Qwen3-VL). Creates zero-filled dummy shared expert weights so the fused MoE kernels (which a
crates/spark-model/src/weight_map/ssm_qwen35.rs:382
↓ 1 callers
Function
load_moe_qwen35
Load MoE weights for Qwen3.5, auto-selecting NVFP4 naming convention. Under EP (ep_world_size > 1), only local experts are loaded from the store. Rem
crates/spark-model/src/weight_map/ssm_qwen35.rs:89
↓ 1 callers
Function
load_moe_skip_experts
Load MoE with option to skip routed experts (native FP8 loads them separately).
crates/spark-model/src/weight_map/loaders_fp8.rs:312
↓ 1 callers
Function
load_mtp_experts_stacked
Slice a stacked + fused MTP MoE expert layout into per-expert `DenseExpertWeight`s via DevicePtr offsets (zero-copy). Expects two BF16 tensors in `st
crates/spark-model/src/weight_map/loaders_mtp.rs:27
↓ 1 callers
Method
load_mtp_weights
( &self, store: &WeightStore, config: &ModelConfig, gpu: &dyn GpuBackend,
crates/spark-model/src/weight_loader/qwen3.rs:451
↓ 1 callers
Function
load_mtp_weights_impl
( _store: &WeightStore, _config: &ModelConfig, _gpu: &dyn GpuBackend, )
crates/spark-model/src/weight_loader/gemma4/loader_b.rs:159
↓ 1 callers
Method
load_mtp_weights_multi
( &self, store: &WeightStore, config: &ModelConfig, _gpu: &dyn GpuBackend,
crates/spark-model/src/weight_loader/step3p7.rs:196
↓ 1 callers
Function
load_nemotron_attention
Load Nemotron-H attention weights. Standard GQA: 32 Q heads, 2 KV heads, head_dim=128. Mixed quantization: some attention layers are NVFP4, some BF16
crates/spark-model/src/weight_map/nemotron.rs:133
↓ 1 callers
Function
load_nemotron_moe
Load Nemotron-H MoE weights. Handles both Nano (all NVFP4) and Super 120B (mixed FP8/NVFP4/BF16 + LatentMoE). For FP8 shared_up and fc1_latent_proj,
crates/spark-model/src/weight_map/nemotron.rs:200
↓ 1 callers
Function
load_nemotron_ssm
Load Nemotron-H Mamba-2 SSM weights. Mixed quantization: NVFP4, FP8, or BF16 depending on layer and model. Non-NVFP4 projections use QuantizedWeight:
crates/spark-model/src/weight_map/nemotron.rs:86
↓ 1 callers
Function
load_o_proj
(ctx: &mut MistralLayerCtx<'_>)
crates/spark-model/src/mistral_loader/loader_impl/phase_o_proj.rs:10
↓ 1 callers
Function
load_openai_template
Try loading an OpenAI-variant template from jinja-templates/openai/{model_type}.jinja.
crates/spark-server/src/tokenizer/jinja_helpers.rs:288
↓ 1 callers
Function
load_override_template
Try loading an override template from jinja-templates/{model_type}.jinja.
crates/spark-server/src/tokenizer/jinja_helpers.rs:254
↓ 1 callers
Function
load_prompt
(isl: int | None)
bench/quick_bench.py:63
↓ 1 callers
Function
load_qk_norms_tp
Q/K-norm 1D shard pair. The closure receives `(name, full_dim)` and returns the loader's sharded norm — typically a `DenseWeight`. `q_norm` is sharded
crates/spark-model/src/tp_shard.rs:280
↓ 1 callers
Function
load_requests
Return the dump's request entries in file order.
scripts/replay_dump.py:44
↓ 1 callers
Function
load_sampling_defaults
(model_dir: &Path, args: &cli::ServeArgs)
crates/spark-server/src/main_modules/serve_phases/runtime.rs:54
↓ 1 callers
Function
load_sharded
( model_dir: &Path, index_path: &Path, gpu: &dyn GpuBackend, oom_reserve_bytes: usize, ski
crates/spark-runtime/src/weights/loader/load_fns.rs:14
↓ 1 callers
Function
load_v4_mtp_module
Loads the DeepSeek-V4 MTP draft module if the checkpoint contains MTP weights. Returns `Ok(None)` (no-op) when MTP is disabled (`num_mtp_modules == 0
crates/spark-model/src/weight_loader/deepseek_v4/mtp.rs:65
↓ 1 callers
Method
load_vision_encoder
Load the Qwen3.6 ViT tower. Returns `None` when `config.vision` is `None` (Qwen3.5 text-only). Otherwise matches the Qwen3-VL shape exactly (27 blocks
crates/spark-model/src/weight_loader/qwen35.rs:139
↓ 1 callers
Function
load_weight_store
( args: &cli::ServeArgs, config: &ModelConfig, model_dir: &Path, gpu: &dyn spark_runtime::gpu:
crates/spark-server/src/main_modules/serve_phases/weights.rs:27
↓ 1 callers
Method
load_weights
(self, weights: Iterable[tuple[str, torch.Tensor]])
bench/fp8_dgx2_drift/vllm_src/qwen3_next.py:559
↓ 1 callers
Method
local_count
Number of (token, expert) pairs handled locally.
crates/spark-model/src/layers/ep_dispatch.rs:35
↓ 1 callers
Function
local_installed
()
crates/spark-storage/src/stubs.rs:92
↓ 1 callers
Function
log_behavior_audit
(args: &cli::ServeArgs, ptx_set: &atlas_kernels::TargetPtxSet)
crates/spark-server/src/main_modules/serve_phases/runtime.rs:150
↓ 1 callers
Method
log_io_error_once
(&self, msg: &str)
crates/spark-server/src/request_dumper.rs:142
↓ 1 callers
Function
log_response_store_audit
( response_store: &crate::response_store::ResponseStore, rate_limiter: &crate::rate_limiter::RateLimit
crates/spark-server/src/main_modules/serve_phases/runtime.rs:119
↓ 1 callers
Method
logits_buffer_ptr_dispatch
(&self)
crates/spark-model/src/model/trait_impl/meta.rs:209
↓ 1 callers
Method
logits_ptr_is_fp32_dispatch
(&self, logits_ptr: DevicePtr)
crates/spark-model/src/model/trait_impl/meta.rs:205
↓ 1 callers
Function
logits_writer
Open the per-step logits sink when `ATLAS_LOGITS_OUT` is set. Raw little-endian bf16, `[n_steps, vocab]`.
crates/spark-model/examples/metal_qwen35_inference/eval_io.rs:12
↓ 1 callers
Function
looks_like_error
Check if a tool response looks like an error (any injector matches).
crates/spark-server/src/hint_injector.rs:257
↓ 1 callers
Function
looks_repetitive
(text: str, window: int = 20, repeats: int = 3)
bench/qwen36_correctness.py:36
↓ 1 callers
Method
lookup
(&self, _tokens: &[u32], _block_size: usize, _session_hash: u64)
crates/spark-runtime/src/prefix_cache.rs:247
↓ 1 callers
Function
low_entropy_token_count
Total tokens with entropy < 0.3 (potential degeneration).
crates/spark-runtime/src/sampler.rs:27
↓ 1 callers
Method
lz_temperature_multiplier
Temperature multiplier based on LZ compression ratio.
crates/spark-server/src/adaptive_sampler.rs:195
↓ 1 callers
Method
m_bytes
(&self)
crates/spark-storage/src/tiled_attention.rs:55
↓ 1 callers
Function
main
()
scripts/gen_test_images.py:47
↓ 1 callers
Function
main
()
scripts/preprocess_step3p7_experts.py:296
↓ 1 callers
Function
main
()
scripts/replay_dump.py:365
↓ 1 callers
Function
main
()
scripts/realistic_soak.py:131
↓ 1 callers
Function
main
()
scripts/dev/ssm_context_profile_v2.py:243
↓ 1 callers
Function
main
()
scripts/dev/verify_mistral_layer0.py:89
↓ 1 callers
Function
main
()
scripts/dev/ssm_context_profile.py:149
↓ 1 callers
Function
main
()
scripts/dev/test_bugfixes.py:528
↓ 1 callers
Function
main
()
scripts/dev/coherence_test.py:399
↓ 1 callers
Function
main
()
scripts/dev/ssm_context_profile_v3.py:115
↓ 1 callers
Function
main
()
scripts/dev/agentic_test.py:176
↓ 1 callers
Function
main
()
scripts/dev/test_long_context.py:171
↓ 1 callers
Function
main
()
scripts/dev/overnight_marathon.py:187
↓ 1 callers
Function
main
()
tests/metal_kv_kld_compare.py:35
↓ 1 callers
Function
main
()
tests/run_all_models.py:696
↓ 1 callers
Function
main
()
tests/single_gpu_suite.py:740
↓ 1 callers
Function
main
()
tests/atlas_bench_comprehensive.py:240
↓ 1 callers
Function
main
()
tests/gemma4_hf_diff.py:92
↓ 1 callers
Function
main
()
tests/vit_reference_check.py:204
↓ 1 callers
Function
main
()
tests/test_session_isolation.py:98
↓ 1 callers
Function
main
()
tests/test_kv_dtype_smoke.py:117
↓ 1 callers
Function
main
()
tests/vision_sweep.py:231
↓ 1 callers
Function
main
()
tests/ab_35b.py:197
↓ 1 callers
Function
main
()
bench/qwen36_ttft.py:108
↓ 1 callers
Function
main
()
bench/warm_cold_chat_diff.py:151
↓ 1 callers
Function
main
()
bench/bench_isl_osl.py:201
↓ 1 callers
Function
main
()
bench/nemotron_hf_ref_cpu.py:99
↓ 1 callers
Function
main
()
bench/prefix_cache_contamination.py:83
↓ 1 callers
Function
main
()
bench/mtp_marconi_groundtruth.py:96
↓ 1 callers
Function
main
()
bench/warm_cold_specdecode_diff.py:140
↓ 1 callers
Function
main
()
bench/warm_cold_multiturn_diff.py:131
↓ 1 callers
Function
main
()
bench/prefix_cache_contamination2.py:81
↓ 1 callers
Function
main
()
bench/bench_concurrency.py:329
↓ 1 callers
Function
main
()
bench/nemotron_layer_diff.py:42
↓ 1 callers
Function
main
()
bench/quick_bench.py:150
↓ 1 callers
Function
main
()
bench/warm_cold_concurrent_diff.py:84
↓ 1 callers
Function
main
()
bench/nemotron_hf_ref.py:95
↓ 1 callers
Function
main
()
bench/qwen36_correctness.py:51
↓ 1 callers
Function
main
()
bench/cold_warm_ttft.py:59
↓ 1 callers
Function
main
()
bench/phase2c-kv-sweep/compare-configs.py:55
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/hf_forward_new_tokens.py:34
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/hf_forward_bf16_unquant.py:30
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/render_master_table.py:12
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/fire_atlas_prompt.py:24
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/vllm_layer_dump.py:143
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/cosine_vllm_atlas.py:34
↓ 1 callers
Function
main
(write_md: pathlib.Path | None = None)
bench/fp8_dgx2_drift/cosine_analyze.py:45
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/atlas_tokenize.py:47
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/c1_final_logit_overlap.py:121
↓ 1 callers
Function
main
()
bench/fp8_dgx2_drift/temp03_sampling_amp.py:66
← previous
next →
2,901–3,000 of 7,049, ranked by callers