Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AtomaAI/atoma-infer
/ functions
Functions
613 in github.com/AtomaAI/atoma-infer
⨍
Functions
613
◇
Types & classes
173
Function
compute_attn_1rowblock
csrc/kernels/flash_fwd_kernel.h:57
Function
compute_attn_1rowblock_splitkv
csrc/kernels/flash_fwd_kernel.h:505
Function
compute_attn_splitkv
csrc/kernels/flash_fwd_kernel.h:1118
Method
compute_full_blocks_in_sequence
Marks full blocks in a `Sequence` as computed. This function iterates through the blocks of a given sequence and marks them as computed if they are f
backends/vllm/src/block_manager.rs:1045
Method
config
(&self)
backends/vllm/src/models/llama.rs:119
Method
config
(&self)
backends/vllm/src/models/llama_nccl.rs:116
Method
config_7b_v1
()
models/src/llama.rs:102
Method
config_7b_v2
()
models/src/llama.rs:120
Method
control
()
server/src/api/chat_completions.rs:820
Function
convert_layout_acc_Aregs
csrc/kernels/utils.h:198
Function
convert_type
csrc/kernels/utils.h:227
Function
convert_type_relu
csrc/kernels/utils.h:255
Method
copy_blocks
Initiates a copy blocks operation on the current CUDA device
models/src/flash_attention.rs:294
Function
copy_blocks_t
Launches the `copy_blocks_kernel` on the given `key_caches` and `value_caches`, following the `block_mapping`, to copy the blocks on both `key_cache`
csrc/src/cache_manager.rs:166
Function
copy_rotary_contiguous
csrc/kernels/rotary.h:85
Function
copy_rotary_interleaved
csrc/kernels/rotary.h:22
Function
copy_w_min_idx
csrc/kernels/utils.h:413
Function
cp_async_wait
csrc/kernels/utils.h:285
Method
cpu_fwd
(&self, _s: &CpuStorage, _l: &Layout)
models/src/multi_gpu.rs:71
Method
cpu_fwd
( &self, _: &mut candle_core::CpuStorage, _: &candle_core::Layout, _: &candle_
csrc/src/ops.rs:30
Method
cpu_fwd
( &self, _: &CpuStorage, _: &Layout, _: &CpuStorage, _: &Layout,
csrc/src/lib.rs:350
Method
create_empty
Create an empty `Self` instance
backends/vllm/src/scheduler.rs:173
Method
cuda_fwd
( &self, s: &candle_core::CudaStorage, l: &Layout, )
models/src/multi_gpu.rs:75
Method
cuda_fwd
( &self, dst_c: &mut CudaStorage, dst_l: &Layout, src_c: &CudaStorage,
csrc/src/ops.rs:40
Method
cuda_fwd
( &self, q: &candle_core::CudaStorage, q_l: &Layout, k: &candle_core::CudaStor
csrc/src/lib.rs:362
Method
cuda_fwd_t
( &self, q: &candle_core::CudaStorage, q_l: &Layout, k: &candle_core::CudaStor
csrc/src/lib.rs:31
Method
decoded_token
Getter for `decoded_token`
backends/vllm/src/sequence.rs:52
Method
default
()
backends/vllm/src/sampling_params.rs:31
Method
default
()
backends/vllm/src/evictor.rs:78
Function
default_parameters
()
backends/vllm/src/types.rs:75
Function
default_rope
()
models/src/llama.rs:60
Method
deserialize
(deserializer: D)
server/src/api/chat_completions.rs:476
Function
deserialize_assistant_message
()
server/src/api/chat_completions.rs:1276
Function
deserialize_message_content_array
()
server/src/api/chat_completions.rs:1350
Function
deserialize_message_content_text
()
server/src/api/chat_completions.rs:1339
Function
deserialize_request_body_basic
()
server/src/api/chat_completions.rs:1193
Function
deserialize_system_message
()
server/src/api/chat_completions.rs:1212
Function
deserialize_tool_message
()
server/src/api/chat_completions.rs:1318
Function
deserialize_user_message
()
server/src/api/chat_completions.rs:1232
Method
empty
Creates an empty instance of `Self`
backends/vllm/src/sequence.rs:2113
Method
eos_token_ids
(&self)
backends/vllm/src/models/llama.rs:128
Method
eos_token_ids
(&self)
backends/vllm/src/models/llama_nccl.rs:125
Method
eq
(&self, other: &Self)
backends/vllm/src/sequence.rs:182
Method
evict
(&mut self)
backends/vllm/src/evictor.rs:88
Method
fetch
( api_key: String, cache_dir: T, model_id: String, revision: String, )
backends/vllm/src/tests/mod.rs:78
Method
fetch
( api_key: String, cache_dir: T, model_id: String, revision: String, )
backends/vllm/src/models/llama.rs:39
Method
fetch
( api_key: String, cache_dir: T, model_id: String, revision: String, )
backends/vllm/src/models/llama_nccl.rs:39
Function
flash_attn_acausal
()
csrc/tests/flash_attn_tests.rs:33
Function
flash_attn_alibi
Flash-attention v2 layer. This implements scaled dot-product attention, `softmax(Q @ K^T . softmax_scale) @ V`. Multi-query and grouped-query attenti
csrc/src/lib.rs:464
Function
flash_attn_alibi_windowed
Flash-attention v2 layer. This implements scaled dot-product attention, `softmax(Q @ K^T . softmax_scale) @ V`. Multi-query and grouped-query attenti
csrc/src/lib.rs:506
Function
flash_attn_alibi_windowed_with_softcap
( q: &Tensor, k: &Tensor, v: &Tensor, alibi_slopes: &Tensor, softmax_scale: f32, windo
csrc/src/lib.rs:552
Function
flash_attn_kv_cache
Flash-attention v2 layer with key and value tensors cached. This implements scaled dot-product attention, `softmax(Q @ K^T . softmax_scale) @ V`. Mul
csrc/src/lib.rs:1907
Function
flash_attn_kv_cache
()
csrc/tests/flash_attn_tests.rs:196
Function
flash_attn_kv_cache_alibi
Flash-attention v2 layer with key and value tensors cached. This implements scaled dot-product attention, `softmax(Q @ K^T . softmax_scale) @ V`. Mul
csrc/src/lib.rs:1989
Function
flash_attn_kv_cache_alibi_windowed
Flash-attention v2 layer with key and value tensors cached. This implements scaled dot-product attention, `softmax(Q @ K^T . softmax_scale) @ V`. Mul
csrc/src/lib.rs:2036
Function
flash_attn_kv_cache_windowed
Flash-attention v2 layer with key and value tensors cached. This implements scaled dot-product attention, `softmax(Q @ K^T . softmax_scale) @ V`. Mul
csrc/src/lib.rs:1949
Function
flash_attn_varlen_alibi
Flash-attention v2 layer with variable-length batching. This implements scaled dot-product attention, `softmax(Q @ K^T . softmax_scale) @ V`. Multi-q
csrc/src/lib.rs:1268
Function
flash_attn_varlen_alibi_windowed
Flash-attention v2 layer with variable-length batching. This implements scaled dot-product attention, `softmax(Q @ K^T . softmax_scale) @ V`. Multi-q
csrc/src/lib.rs:1328
Function
flash_attn_varlen_full
Flash-attention v2 layer with variable-length batching. This implements scaled dot-product attention, `softmax(Q @ K^T . softmax_scale) @ V`. Multi-q
csrc/src/lib.rs:1464
Function
flash_attn_varlen_windowed
Flash-attention v2 layer with variable-length batching. This implements scaled dot-product attention, `softmax(Q @ K^T . softmax_scale) @ V`. Multi-q
csrc/src/lib.rs:1218
Function
flash_attn_windowed
Flash-attention v2 layer. This implements scaled dot-product attention, `softmax(Q @ K^T . softmax_scale) @ V`. Multi-query and grouped-query attenti
csrc/src/lib.rs:432
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
backends/vllm/src/sequence.rs:1946
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
server/src/api/chat_completions.rs:132
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
models/src/phi3.rs:128
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
models/src/mistral.rs:130
Method
fork
(&self, new_sequence_id: u64)
backends/vllm/src/sequence.rs:903
Method
forward
( &mut self, input: &Tensor, input_positions: &Tensor, selected_token_position
backends/vllm/src/models/llama.rs:102
Method
forward
( &mut self, input: &Tensor, input_positions: &Tensor, selected_token_position
backends/vllm/src/models/llama_nccl.rs:99
Method
forward
(&self, x: &Tensor)
models/src/multi_gpu.rs:16
Method
free_sequences
( &mut self, request_id: String, sequences_ids: &[u64], sequence_status: Seque
backends/vllm/src/scheduler.rs:506
Method
from
(value: ExecuteModelRequest)
backends/vllm/src/tests/mod.rs:126
Method
from
(value: ValidationError)
server/src/api/validate_schema.rs:32
Method
from_env_file
Creates a new instance of `ModelConfig` from a `.env` file.
backends/vllm/src/config.rs:86
Method
from_file_path
Creates a new instance of `ModelsConfig` from a toml file.
backends/vllm/src/config.rs:73
Method
from_file_path
Creates a new instance of self, from a file path
backends/vllm/src/model_executor.rs:118
Method
from_file_path
(_: &PathBuf)
backends/vllm/src/tests/mod.rs:70
Method
from_sequence_group
Creates a new `Self` instance from a `SequenceGroup`
backends/vllm/src/llm_engine.rs:543
Method
get_beam_search_score
Calculate the beam search score with length penalty. Adapted from https://github.com/huggingface/transformers/blob/ccb92be23def445f2afdea94c31286f84
backends/vllm/src/sequence.rs:862
Method
get_config
(&self)
models/src/llama.rs:501
Method
get_kv_cache_shape
Returns the KV cache shape for the given model configurations.
models/src/flash_attention.rs:239
Method
get_last_latency
Calculates the latency since the last token generation and updates the last token time. This method performs two main tasks: 1. It calculates the dur
backends/vllm/src/sequence.rs:1237
Function
get_lse_tile
csrc/kernels/flash_fwd_kernel.h:36
Method
get_num_free_blocks
Gets number of free blocks
backends/vllm/src/block_allocator.rs:112
Method
get_priority
(now: Instant, sequence_group: &SequenceGroup)
backends/vllm/src/policy.rs:58
Method
get_token_ids
Returns all token ids, including both prompt and output. This method combines the prompt token ids and the output token ids into a single vector. #
backends/vllm/src/sequence.rs:274
Method
gets_all_computed_blocks
( &self, sequence: Sequence, )
backends/vllm/src/block_manager.rs:1095
Method
gpu_memory_utilization
Getter for `gpu_memory_utilization`
backends/vllm/src/config.rs:295
Method
half_t>
csrc/kernels/utils.h:34
Method
handle_outputs
( &mut self, outputs: Result<Vec<SequenceGroupOutput>, EngineError>, )
backends/vllm/src/llm_engine.rs:157
Method
handle_request
( &mut self, request: GenerateRequest, )
backends/vllm/src/llm_service.rs:318
Method
has_unfinished_sequences
Checks if there are any unfinished sequences in the scheduler. This method returns true if any of the scheduler's queues (waiting, running, or swappe
backends/vllm/src/scheduler.rs:574
Method
hash_of_block
Computes the hash of a block given its logical index. This function calculates a hash based on the prefix tokens up to the given logical block index.
backends/vllm/src/sequence.rs:571
Function
healthz
()
server/src/server.rs:202
Method
into_response
(self)
server/src/server.rs:179
Method
load
( _: Self::C, _: &Device, _: DType, _: &ModelFilePaths, )
backends/vllm/src/tests/mod.rs:104
Method
load
( config: Self::C, device: &Device, dtype: DType, file_paths: &ModelFilePaths,
backends/vllm/src/models/llama.rs:73
Method
load
( config: Self::C, device: &Device, dtype: DType, file_paths: &ModelFilePaths,
backends/vllm/src/models/llama_nccl.rs:73
Method
load
(vb: VarBuilder, cfg: &Config, dtype: DType, device: &Device)
models/src/llama.rs:316
Method
load
(vb: VarBuilder, cfg: &Phi3Config, _dtype: DType, _device: &Device)
models/src/phi3.rs:373
Method
load
(vb: VarBuilder, comm: Rc<Comm>)
models/src/multi_gpu.rs:19
← previous
next →
301–400 of 613, ranked by callers