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
↓ 37 callers
Method
get
(&self, seq_len: usize, offset: usize)
crates/rig-runtime-candle/src/cache.rs:119
↓ 25 callers
Method
recv_frame
(&self)
crates/rig-transport-tcp/src/transport.rs:97
↓ 25 callers
Method
send_frame
(&self, frame: &[u8])
crates/rig-transport-tcp/src/transport.rs:57
↓ 21 callers
Function
connect
(addr: SocketAddr)
crates/rig-coordinator/tests/integration.rs:107
↓ 19 callers
Method
pp
(&self, prefix: &str)
crates/rig-runtime-candle/src/weights/safetensor.rs:18
↓ 18 callers
Method
compute_ranges
( &self, num_layers: usize, _num_nodes: usize, )
crates/rig-core/src/types/partitioning.rs:53
↓ 18 callers
Method
register_node
( &self, info: NodeInfo, available_models: Vec<ModelInfo>, )
crates/rig-coordinator/src/state.rs:119
↓ 16 callers
Method
to_vec
(&self)
crates/rig-runtime-candle/src/config.rs:60
↓ 14 callers
Method
local_socket_addr
(&self)
crates/rig-transport-tcp/src/listener.rs:50
↓ 14 callers
Method
send
(&self, msg: &WorkerMessage)
crates/rig-worker/src/coordinator_client.rs:326
↓ 14 callers
Function
test_node_info
(node_id: NodeId, port: u16)
crates/rig-coordinator/src/state.rs:807
↓ 13 callers
Method
decode
(&self, data: &[u8])
crates/rig-message-bincode/src/lib.rs:27
↓ 13 callers
Method
is_empty
(&self)
crates/rig-runtime-candle/src/cache.rs:179
↓ 12 callers
Method
accept_with_socket_addr
( &self, )
crates/rig-transport-tcp/src/listener.rs:38
↓ 12 callers
Method
connect
(&self, addr: &Address)
crates/rig-transport-tcp/src/factory.rs:40
↓ 12 callers
Method
encode
(&self, msg: &M)
crates/rig-message-bincode/src/lib.rs:24
↓ 12 callers
Function
get_architecture
(name: &str)
crates/rig-runtime-candle/src/model/mod.rs:225
↓ 12 callers
Function
model_path
()
crates/rig-runtime-candle/tests/integration.rs:19
↓ 11 callers
Function
model_exists
()
crates/rig-runtime-candle/tests/integration.rs:28
↓ 11 callers
Method
recv
(&self)
crates/rig-worker/src/coordinator_client.rs:333
↓ 10 callers
Method
load_qmatmul
(&self, name: &str)
crates/rig-runtime-candle/src/weights/gguf.rs:38
↓ 10 callers
Method
send
(&self, msg: &M)
crates/rig-message-bincode/src/channel.rs:50
↓ 10 callers
Function
test_config
()
crates/rig-coordinator/src/state.rs:803
↓ 9 callers
Method
allocate
(&mut self, request_id: RequestId, max_seq_len: usize)
crates/rig-runtime-candle/src/kv_cache.rs:52
↓ 9 callers
Method
is_registered
(&self)
crates/rig-worker/src/coordinator_client.rs:47
↓ 9 callers
Method
load_dequantized
(&self, name: &str)
crates/rig-runtime-candle/src/weights/gguf.rs:47
↓ 9 callers
Method
with_listen_addr
(mut self, addr: SocketAddr)
crates/rig-coordinator/src/config.rs:25
↓ 8 callers
Method
connect
(addr: SocketAddr)
crates/rig-cli/src/client.rs:21
↓ 8 callers
Method
contains
(&self, token_id: u32)
crates/rig-runtime-candle/src/config.rs:68
↓ 8 callers
Method
create_pipeline
( &self, config: PipelineConfig, stage_assignments: Vec<(NodeId, Range<usize>)>,
crates/rig-coordinator/src/state.rs:232
↓ 8 callers
Function
fmt_with_std
(mean: float, std: float, runs: int)
bench/compare.py:131
↓ 8 callers
Function
send_recv
( transport: &T, codec: &BincodeCodec, msg: WorkerMessage, )
crates/rig-coordinator/tests/integration.rs:25
↓ 7 callers
Method
dtype
(&self)
crates/rig-core/src/types/tensor.rs:103
↓ 7 callers
Method
flush
(&mut self)
crates/rig-runtime-candle/src/tokenizer.rs:36
↓ 7 callers
Method
forward
(&self, input: &Tensor)
crates/rig-runtime-candle/src/partition/mod.rs:56
↓ 7 callers
Method
get_mut
(&mut self, request_id: RequestId)
crates/rig-runtime-candle/src/kv_cache.rs:73
↓ 7 callers
Function
parse_header_bytes
(slice: &[u8])
crates/rig-worker/src/peer_connection.rs:11
↓ 7 callers
Method
recv_frame
(&self)
crates/rig-message-bincode/src/channel.rs:111
↓ 7 callers
Method
register
(&mut self)
crates/rig-worker/src/node.rs:116
↓ 7 callers
Method
send_frame
(&self, frame: &[u8])
crates/rig-message-bincode/src/channel.rs:106
↓ 7 callers
Method
with_heartbeat_interval
(mut self, interval: Duration)
crates/rig-coordinator/src/config.rs:31
↓ 7 callers
Method
with_max_tokens
(mut self, max_tokens: usize)
crates/rig-core/src/types/request.rs:103
↓ 6 callers
Method
addr
(&self)
crates/rig-worker/tests/integration.rs:74
↓ 6 callers
Function
connect_to_coordinator
(addr: &Address)
crates/rig-worker/tests/integration.rs:16
↓ 6 callers
Method
with_read_timeout
(mut self, timeout: Option<Duration>)
crates/rig-transport-tcp/src/config.rs:31
↓ 5 callers
Method
as_bytes
(&self)
crates/rig-core/src/types/tensor.rs:110
↓ 5 callers
Method
forward
(&mut self, activation: Activation)
crates/rig-worker/src/stage.rs:153
↓ 5 callers
Function
gguf_model_path
()
crates/rig-runtime-candle/tests/integration.rs:277
↓ 5 callers
Method
local_addr
(&self)
crates/rig-transport-tcp/src/listener.rs:85
↓ 5 callers
Method
on_token
(&mut self, token: u32)
crates/rig-coordinator/src/generation.rs:48
↓ 5 callers
Method
run
(&mut self)
crates/rig-coordinator/src/server.rs:59
↓ 5 callers
Method
send_and_recv
(&self, msg: CliMessage)
crates/rig-cli/src/client.rs:167
↓ 5 callers
Function
start_test_server
()
crates/rig-coordinator/tests/integration.rs:56
↓ 5 callers
Method
with_heartbeat_timeout
(mut self, timeout: Duration)
crates/rig-coordinator/src/config.rs:37
↓ 5 callers
Method
with_max_nodes
(mut self, max: usize)
crates/rig-coordinator/src/config.rs:49
↓ 4 callers
Method
accept
(&self)
crates/rig-transport-tcp/src/listener.rs:72
↓ 4 callers
Function
deserialize_activation
(frame: &[u8])
crates/rig-worker/src/peer_connection.rs:159
↓ 4 callers
Function
detect_model_format
(path: &Path)
crates/rig-runtime-candle/src/runtime.rs:22
↓ 4 callers
Method
dims
(&self)
crates/rig-core/src/types/tensor.rs:74
↓ 4 callers
Function
format_change
(baseline: float, new: float)
bench/compare.py:23
↓ 4 callers
Method
forward
(&self, x: &Tensor)
crates/rig-runtime-candle/src/layers/mlp.rs:27
↓ 4 callers
Method
forward_sample
( &mut self, input: Activation, sampling: &SamplingParams, )
crates/rig-runtime-candle/src/partition/mod.rs:531
↓ 4 callers
Function
gguf_model_exists
()
crates/rig-runtime-candle/tests/integration.rs:286
↓ 4 callers
Method
is_first_stage
(&self)
crates/rig-worker/src/stage.rs:96
↓ 4 callers
Method
mark_ready
( &self, node_id: NodeId, pipeline_id: PipelineId, )
crates/rig-coordinator/src/state.rs:336
↓ 4 callers
Method
num_kv_heads
(&self)
crates/rig-runtime-candle/src/config.rs:100
↓ 4 callers
Function
query_device_memory
(device: &Device)
crates/rig-runtime-candle/src/memory.rs:5
↓ 4 callers
Method
send_response
(&self, response: &CoordinatorOutgoing)
crates/rig-coordinator/src/handler.rs:648
↓ 4 callers
Method
should_stop
(&self, generated_tokens: &[u32])
crates/rig-core/src/types/stop.rs:66
↓ 4 callers
Method
state
(&self)
crates/rig-coordinator/src/server.rs:36
↓ 4 callers
Function
test_node_info
(node_id: NodeId, port: u16)
crates/rig-coordinator/tests/integration.rs:15
↓ 4 callers
Method
tokenizer
(&self)
crates/rig-worker/src/stage.rs:81
↓ 4 callers
Method
with_context
(mut self, context: RequestContext)
crates/rig-core/src/types/request.rs:236
↓ 4 callers
Method
with_temperature
(mut self, temperature: f32)
crates/rig-core/src/types/request.rs:109
↓ 4 callers
Method
with_top_p
(mut self, top_p: f32)
crates/rig-core/src/types/request.rs:115
↓ 3 callers
Method
attention_config
(&self)
crates/rig-runtime-candle/src/model/qwen.rs:27
↓ 3 callers
Method
build
(self)
crates/rig-worker/src/stage.rs:372
↓ 3 callers
Method
capabilities
(&self)
crates/rig-runtime-candle/src/runtime.rs:122
↓ 3 callers
Method
create_pipeline_auto
( &self, request: CliCreatePipelineAutoRequest, )
crates/rig-cli/src/client.rs:125
↓ 3 callers
Function
create_runtime
(device: &str)
crates/rig-cli/src/runtime.rs:5
↓ 3 callers
Function
detect_architecture_config
(config_path: &Path)
crates/rig-runtime-candle/src/model/mod.rs:191
↓ 3 callers
Function
detect_architecture_gguf
( content: &candle_core::quantized::gguf_file::Content, )
crates/rig-runtime-candle/src/model/mod.rs:175
↓ 3 callers
Method
dim
(&self, index: usize)
crates/rig-core/src/types/tensor.rs:69
↓ 3 callers
Method
embed
(&self, tokens: &Tensor)
crates/rig-runtime-candle/src/partition/mod.rs:488
↓ 3 callers
Method
eos_token
(&self)
crates/rig-core/src/types/stop.rs:101
↓ 3 callers
Method
find_dead_nodes
(&self, now: Instant, timeout: std::time::Duration)
crates/rig-coordinator/src/state.rs:369
↓ 3 callers
Function
format_change_inverse
(baseline: float, new: float)
bench/compare.py:37
↓ 3 callers
Method
generate
( &self, pipeline_id: PipelineId, input: InferenceInput, params: GenerationPar
crates/rig-cli/src/client.rs:48
↓ 3 callers
Method
get_assignment
(&mut self)
crates/rig-worker/src/coordinator_client.rs:102
↓ 3 callers
Method
get_assignment
(&self, node_id: NodeId)
crates/rig-coordinator/src/state.rs:219
↓ 3 callers
Method
get_pipeline
(&self, pipeline_id: PipelineId)
crates/rig-cli/src/client.rs:141
↓ 3 callers
Method
head_dim
(&self)
crates/rig-runtime-candle/src/config.rs:105
↓ 3 callers
Method
heartbeat
(&self, node_id: NodeId, status: NodeStatus)
crates/rig-coordinator/src/state.rs:203
↓ 3 callers
Method
into_parts
(self)
crates/rig-core/src/types/partition.rs:35
↓ 3 callers
Method
is_last_stage
(&self)
crates/rig-worker/src/stage.rs:101
↓ 3 callers
Method
is_stopped
(&self)
crates/rig-core/src/types/stop.rs:18
↓ 3 callers
Method
listen
(&self, addr: &Address)
crates/rig-transport-tcp/src/factory.rs:70
↓ 3 callers
Method
local_addr
(&self)
crates/rig-worker/src/peer_connection.rs:80
↓ 3 callers
Function
pod_vec_to_bytes
(mut v: Vec<T>)
crates/rig-runtime-candle/src/utils.rs:14
↓ 3 callers
Method
recv
(&self)
crates/rig-message-bincode/src/channel.rs:57
next →
1–100 of 938, ranked by callers