Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/buyukakyuz/rig
/ functions
Functions
938 in github.com/buyukakyuz/rig
⨍
Functions
938
◇
Types & classes
217
↓ 3 callers
Method
release
(&mut self, request_id: RequestId)
crates/rig-runtime-candle/src/kv_cache.rs:77
↓ 3 callers
Method
send_activation
(&self, activation: &Activation)
crates/rig-worker/src/stage.rs:139
↓ 3 callers
Method
send_token
( &mut self, request_id: RequestId, token_text: String, )
crates/rig-worker/src/coordinator_client.rs:170
↓ 3 callers
Function
serialize_activation
(activation: &Activation)
crates/rig-worker/src/peer_connection.rs:106
↓ 3 callers
Method
shutdown_receiver
(&self)
crates/rig-coordinator/src/server.rs:46
↓ 3 callers
Method
state
(&self)
crates/rig-worker/tests/integration.rs:78
↓ 3 callers
Method
step
(&mut self)
crates/rig-worker/src/stage.rs:211
↓ 3 callers
Method
store_generation_decision
( &self, request_id: RequestId, decision: GenerationDecision, )
crates/rig-coordinator/src/state.rs:550
↓ 3 callers
Method
update
(&mut self, new_k: Tensor, new_v: Tensor)
crates/rig-runtime-candle/src/cache.rs:205
↓ 3 callers
Method
with_chat_template
(mut self, use_chat_template: bool)
crates/rig-core/src/types/request.rs:139
↓ 3 callers
Method
with_connect_timeout
(mut self, timeout: Duration)
crates/rig-transport-tcp/src/config.rs:25
↓ 3 callers
Method
with_coordinator_addr
(mut self, addr: Address)
crates/rig-worker/src/config.rs:27
↓ 3 callers
Method
with_model_paths
(mut self, paths: HashMap<ModelId, PathBuf>)
crates/rig-worker/src/config.rs:51
↓ 3 callers
Method
with_seed
(mut self, seed: u64)
crates/rig-core/src/types/request.rs:145
↓ 3 callers
Method
with_stages
(mut self, num_stages: usize)
crates/rig-core/src/types/protocol.rs:370
↓ 3 callers
Method
with_stop_sequence
(mut self, stop: impl Into<String>)
crates/rig-core/src/types/request.rs:127
↓ 3 callers
Method
with_system_prompt
(mut self, prompt: impl Into<String>)
crates/rig-core/src/types/request.rs:133
↓ 3 callers
Method
with_version
(mut self, version: impl Into<String>)
crates/rig-core/src/types/protocol.rs:358
↓ 2 callers
Function
activation_to_tensor
( activation: &Activation, dtype: DType, device: &Device, )
crates/rig-runtime-candle/src/utils.rs:54
↓ 2 callers
Method
as_tcp
(&self)
crates/rig-core/src/types/node.rs:215
↓ 2 callers
Method
clear
(&mut self)
crates/rig-runtime-candle/src/cache.rs:224
↓ 2 callers
Function
compute_checksum
(data: &[u8])
crates/rig-worker/src/peer_connection.rs:252
↓ 2 callers
Function
create_decode_activation
(request_id: RequestId, token: u32, position: u32)
crates/rig-worker/src/node.rs:808
↓ 2 callers
Method
create_decode_stream
( &self, skip_special_tokens: bool, )
crates/rig-runtime-candle/src/tokenizer.rs:180
↓ 2 callers
Method
create_pipeline
( &self, config: PipelineConfig, assignments: Vec<(rig_core::NodeId, usize, usize)>,
crates/rig-cli/src/client.rs:103
↓ 2 callers
Method
create_pipeline
(&mut self, model_name: &str, stages: usize)
crates/rig-cli/src/commands/demo.rs:216
↓ 2 callers
Method
decode_time_ms
(&self)
crates/rig-core/src/types/request.rs:322
↓ 2 callers
Method
deregister_node
(&self, node_id: NodeId)
crates/rig-coordinator/src/state.rs:392
↓ 2 callers
Method
discover_model
(&self, model_id: ModelId, path: &Path)
crates/rig-runtime-candle/src/runtime.rs:126
↓ 2 callers
Function
dtype_to_u8
(dtype: DType)
crates/rig-worker/src/peer_connection.rs:230
↓ 2 callers
Function
extract_token_ids
(activation: &Activation, device: &Device)
crates/rig-runtime-candle/src/utils.rs:108
↓ 2 callers
Function
format_timestamp
(ts: str)
bench/compare.py:60
↓ 2 callers
Method
forward_sample
( &mut self, input: Activation, sampling: &SamplingParams, )
crates/rig-core/src/traits/runtime.rs:34
↓ 2 callers
Function
generate_test_tokens
(bos_token: u32, vocab_size: usize, target_length: usize)
crates/rig-cli/src/commands/benchmark.rs:117
↓ 2 callers
Method
get
(&self, request_id: RequestId)
crates/rig-runtime-candle/src/kv_cache.rs:69
↓ 2 callers
Method
get_pending_request
(&self, pipeline_id: PipelineId)
crates/rig-coordinator/src/state.rs:484
↓ 2 callers
Method
get_pipeline_first_stage
( &self, pipeline_id: PipelineId, )
crates/rig-coordinator/src/state.rs:421
↓ 2 callers
Method
get_pipeline_info
( &self, pipeline_id: PipelineId, )
crates/rig-coordinator/src/state.rs:745
↓ 2 callers
Method
get_status
(&self)
crates/rig-cli/src/client.rs:35
↓ 2 callers
Method
gguf_weight_names
(&self)
crates/rig-runtime-candle/src/model/qwen.rs:39
↓ 2 callers
Method
heartbeat
(&mut self, status: NodeStatus)
crates/rig-worker/src/coordinator_client.rs:84
↓ 2 callers
Method
init_buffers
( &mut self, batch_size: usize, num_heads: usize, max_seq_len: usize,
crates/rig-runtime-candle/src/cache.rs:159
↓ 2 callers
Method
interpret_rope_scaling
(&self, config: &RopeScalingConfig)
crates/rig-runtime-candle/src/model/llama.rs:43
↓ 2 callers
Method
is_online
(&self)
crates/rig-core/src/types/node.rs:174
↓ 2 callers
Method
is_pipeline_ready
(&self, pipeline_id: PipelineId)
crates/rig-coordinator/src/state.rs:412
↓ 2 callers
Method
layer_mut
(&mut self, idx: usize)
crates/rig-runtime-candle/src/cache.rs:283
↓ 2 callers
Function
load_benchmark
(path: Path)
bench/compare.py:18
↓ 2 callers
Method
load_partition
( &self, assignment: &Assignment, model_spec: &ModelSpec, )
crates/rig-worker/src/node.rs:196
↓ 2 callers
Method
node_count
(&self)
crates/rig-coordinator/src/state.rs:697
↓ 2 callers
Method
num_elements
(&self)
crates/rig-core/src/types/tensor.rs:44
↓ 2 callers
Method
partition_and_tokenizer
(&mut self)
crates/rig-worker/src/stage.rs:86
↓ 2 callers
Function
query_cpu_memory
()
crates/rig-runtime-candle/src/memory.rs:23
↓ 2 callers
Method
register_with_models
( &mut self, info: NodeInfo, models: Vec<ModelInfo>, )
crates/rig-worker/src/coordinator_client.rs:55
↓ 2 callers
Method
report_ready
(&mut self, assignment: &Assignment)
crates/rig-worker/src/node.rs:257
↓ 2 callers
Method
run
(mut self)
crates/rig-coordinator/src/monitor.rs:32
↓ 2 callers
Function
run_forward_through_stages
( partitions: &mut [Box<dyn Partition>], input: Activation, sampling: &SamplingParams, )
crates/rig-cli/src/commands/benchmark.rs:219
↓ 2 callers
Function
run_single_benchmark
( partitions: &mut [Box<dyn Partition>], tokenizer: &dyn Tokenizer, tokens: &[u32], generation
crates/rig-cli/src/commands/benchmark.rs:164
↓ 2 callers
Method
safetensor_weight_names
(&self)
crates/rig-runtime-candle/src/model/qwen.rs:35
↓ 2 callers
Method
send_streaming_complete
( &mut self, request_id: RequestId, usage: UsageStats, )
crates/rig-worker/src/coordinator_client.rs:197
↓ 2 callers
Method
seq_len
(&self)
crates/rig-runtime-candle/src/cache.rs:189
↓ 2 callers
Method
set_coordinator_client
(&mut self, client: SharedCoordinatorClient<T, C>)
crates/rig-worker/src/stage.rs:109
↓ 2 callers
Method
should_continue
(&self)
crates/rig-core/src/types/stop.rs:13
↓ 2 callers
Method
shutdown_receiver
(&self)
crates/rig-worker/src/node.rs:80
↓ 2 callers
Method
submit_request
( &self, pipeline_id: PipelineId, request: InferenceRequest, )
crates/rig-coordinator/src/request.rs:19
↓ 2 callers
Method
tensor_cache_mut
(&mut self)
crates/rig-runtime-candle/src/kv_cache.rs:35
↓ 2 callers
Function
test_activation
()
crates/rig-worker/src/peer_connection.rs:267
↓ 2 callers
Function
test_node_info
()
crates/rig-core/src/types/protocol.rs:501
↓ 2 callers
Function
test_request
(model_id: ModelId)
crates/rig-coordinator/src/request.rs:52
↓ 2 callers
Method
to_toml
(&self)
crates/rig-cli/src/config.rs:146
↓ 2 callers
Function
u8_to_dtype
(value: u8)
crates/rig-worker/src/peer_connection.rs:241
↓ 2 callers
Method
update_seq_len
(&mut self, request_id: &RequestId, new_len: usize)
crates/rig-runtime-candle/src/kv_cache.rs:39
↓ 2 callers
Method
with_max_message_size
(mut self, size: usize)
crates/rig-transport-tcp/src/config.rs:43
↓ 2 callers
Method
with_model_path
(mut self, model_id: ModelId, path: impl Into<PathBuf>)
crates/rig-worker/src/config.rs:45
↓ 2 callers
Method
with_pipeline_id
(mut self, pipeline_id: PipelineId)
crates/rig-core/src/types/protocol.rs:314
↓ 2 callers
Method
with_top_k
(mut self, top_k: usize)
crates/rig-core/src/types/request.rs:121
↓ 1 callers
Method
accept
( &self, peer_node_id: NodeId, )
crates/rig-worker/src/peer_connection.rs:84
↓ 1 callers
Function
aggregate_metrics
(runs: &[SingleRunMetrics])
crates/rig-cli/src/commands/benchmark.rs:261
↓ 1 callers
Method
all
()
crates/rig-core/src/types/request.rs:19
↓ 1 callers
Method
apply
(&self, tensor: &candle_core::Tensor)
crates/rig-runtime-candle/src/model/mod.rs:23
↓ 1 callers
Method
apply_chat_template
( &self, messages: &[rig_core::ChatMessage], add_generation_prompt: bool, )
crates/rig-runtime-candle/src/tokenizer.rs:106
↓ 1 callers
Method
apply_env_overrides
(&mut self)
crates/rig-cli/src/config.rs:179
↓ 1 callers
Method
assignments_as_ranges
(&self)
crates/rig-core/src/types/protocol.rs:320
↓ 1 callers
Method
attention_config
(&self)
crates/rig-runtime-candle/src/model/mistral.rs:27
↓ 1 callers
Method
bias
(&self)
crates/rig-runtime-candle/src/weights/quantized.rs:30
↓ 1 callers
Method
bos_token
(&self)
crates/rig-runtime-candle/src/tokenizer.rs:98
↓ 1 callers
Method
build_cluster_status
(&self)
crates/rig-coordinator/src/state.rs:712
↓ 1 callers
Function
build_generation_params
(args: &InferenceArgs)
crates/rig-cli/src/commands/inference.rs:290
↓ 1 callers
Function
build_generation_params
(args: &GenerateArgs, config: &RigConfig)
crates/rig-cli/src/commands/generate.rs:95
↓ 1 callers
Method
can_accept_work
(&self)
crates/rig-core/src/types/node.rs:169
↓ 1 callers
Method
characteristics
(&self)
crates/rig-transport-tcp/src/factory.rs:82
↓ 1 callers
Method
clear
(&mut self)
crates/rig-runtime-candle/src/kv_cache.rs:45
↓ 1 callers
Method
clear_kv_cache
(&self)
crates/rig-runtime-candle/src/partition/mod.rs:479
↓ 1 callers
Function
compare_benchmarks
(baseline_path: Path, new_path: Path)
bench/compare.py:51
↓ 1 callers
Method
complete_streaming_session
( &self, request_id: RequestId, usage: UsageStats, )
crates/rig-coordinator/src/state.rs:529
↓ 1 callers
Function
compute_single_run_metrics
(usage: &UsageStats, run_index: usize)
crates/rig-cli/src/commands/benchmark.rs:248
↓ 1 callers
Function
compute_summary
(results: &[SequenceLengthResult], total_time_seconds: f64)
crates/rig-cli/src/commands/benchmark.rs:333
↓ 1 callers
Method
connect_to_coordinator
(&mut self)
crates/rig-worker/src/node.rs:103
↓ 1 callers
Method
contains
(&self, name: &str)
crates/rig-runtime-candle/src/weights/gguf.rs:86
↓ 1 callers
Function
convert_activation
(config: &TransformerConfig)
crates/rig-runtime-candle/src/partition/mod.rs:555
↓ 1 callers
Function
convert_dtype
(dtype: rig_core::DType)
crates/rig-runtime-candle/src/partition/mod.rs:544
← previous
next →
101–200 of 938, ranked by callers