Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PersiaML/PERSIA
/ functions
Functions
720 in github.com/PersiaML/PERSIA
⨍
Functions
720
◇
Types & classes
217
↳
Endpoints
1
Method
_export_http
(&self)
rust/persia-metrics/src/lib.rs:163
Method
after
(array: &'a ArrayLinkedList<T>, prev_index: u32)
rust/persia-embedding-holder/src/array_linked_list.rs:963
Function
apply
(req: web::Json<ApplyRequest>)
k8s/src/bin/server.rs:48
Method
apply
( &self, job_name: &str, namespace: &str, json_spec: &str, )
k8s/src/service.rs:16
Method
apply
(&self)
rust/persia-core/src/optim.rs:61
Function
assert_id_type_feature_data
(tensors: List[torch.Tensor], config: dict)
test/test_ctx.py:41
Method
back
(last_index: u32, data: T)
rust/persia-embedding-holder/src/array_linked_list.rs:120
Method
back_index
The index of the last list element. Returns `None` if array is empty.
rust/persia-embedding-holder/src/array_linked_list.rs:722
Method
back_mut
The last list element as a mutable reference. Returns `None` if array is empty.
rust/persia-embedding-holder/src/array_linked_list.rs:777
Method
batch
(&self, batch: PersiaBatchImpl)
rust/persia-core/src/nats.rs:124
Method
batch_id
Get batch_id from[`PersiaBatchImpl`] after data sending to embedding-worker.
rust/persia-core/src/data.rs:261
Method
batch_size
(self)
persia/embedding/data.py:112
Method
batch_size
(self)
persia/embedding/data.py:156
Method
batch_size
(self)
persia/embedding/data.py:206
Method
before
(array: &'a ArrayLinkedList<T>, next_index: u32)
rust/persia-embedding-holder/src/array_linked_list.rs:976
Function
bench_create_normal
(c: &mut Criterion)
rust/others/persia-common-benchmark/benches/serialize_inf_request.rs:141
Function
bench_decode
(c: &mut Criterion)
rust/others/persia-common-benchmark/benches/serialize_inf_request.rs:162
Function
bench_encode
(c: &mut Criterion)
rust/others/persia-common-benchmark/benches/serialize_inf_request.rs:210
Function
bench_memcpy
(c: &mut Criterion)
rust/others/persia-common-benchmark/benches/memcpy.rs:14
Method
boxed
(self)
rust/persia-embedding-holder/src/emb_entry.rs:137
Method
call_async
( &self, endpoint_name: &str, input: &T, compress: bool, )
rust/others/persia-rpc/src/lib.rs:68
Method
capacity
(&self)
rust/persia-embedding-holder/src/lib.rs:79
Method
capacity
Returns the number of elements the vector can hold without reallocating. Methods, which take indices, require the specified index to be below the cap
rust/persia-embedding-holder/src/array_linked_list.rs:829
Method
capacity
(&self)
rust/persia-embedding-holder/src/eviction_map.rs:104
Method
check_dlpack
(&self, dlpack: PyObject)
rust/persia-core/src/forward.rs:198
Method
clear
Clears the linked array, removing all values. Note that this method has no effect on the allocated capacity of the array. So all indices, which have
rust/persia-embedding-holder/src/array_linked_list.rs:799
Method
clear
(&mut self)
rust/persia-embedding-holder/src/eviction_map.rs:99
Method
clear_embeddings
(&self)
rust/persia-core/src/lib.rs:293
Method
clear_embeddings
(&self)
rust/persia-core/src/rpc.rs:113
Method
clear_embeddings
(&self)
rust/persia-embedding-server/src/embedding_worker_service/mod.rs:1354
Method
clear_embeddings
(&self)
rust/persia-embedding-server/src/embedding_parameter_service/mod.rs:486
Method
clear_embeddings
Clear all embeddings on all embedding servers.
persia/ctx.py:616
Method
configure_embedding_parameter_servers
( &self, initialize_lower: f32, initialize_upper: f32, admit_probability: f32,
rust/persia-core/src/lib.rs:367
Method
configure_embedding_parameter_servers
( &self, initialize_lower: f32, initialize_upper: f32, admit_probability: f32,
rust/persia-core/src/nats.rs:355
Method
configure_embedding_parameter_servers
( &self, req: PersiaEmbeddingModelHyperparameters, )
rust/persia-embedding-server/src/embedding_worker_service/mod.rs:1261
Method
consume_all_meta_data
(&mut self, py: Python<'a>)
rust/persia-core/src/forward.rs:288
Method
consume_dataset
Consume ``__iter__`` of itself and return the iterator of preprocess indexes.
persia/data.py:92
Method
consume_dataset
(self)
persia/data.py:120
Method
convert2distributed_model
Arguments: model (torch.nn.Module): the PyTorch model that needs to be converted to data-parallel model. world_size
persia/distributed.py:38
Method
convert2distributed_model
Arguments: model (torch.nn.Module): the PyTorch model that needs to be converted to data-parallel model. world_size (
persia/distributed.py:317
Method
copy_from_other
(&mut self, other: &Self)
rust/persia-embedding-holder/src/emb_entry.rs:98
Method
create_histogram
( &self, name: &str, help: &str, )
rust/persia-metrics/src/lib.rs:137
Method
create_histogram_vec
( &self, name: &str, help: &str, )
rust/persia-metrics/src/lib.rs:150
Method
data
(self)
persia/embedding/data.py:406
Function
data_loader
()
test/test_ctx.py:79
Function
data_loader
(filepath: str, replica_index: int, replica_size: int)
persia/launcher.py:148
Method
default
()
rust/persia-embedding-config/src/lib.rs:91
Method
default
()
rust/persia-core/src/tensor.rs:211
Method
default
()
rust/persia-core/src/data.rs:44
Method
default
()
rust/persia-core/src/forward.rs:320
Method
default
()
rust/persia-core/src/cuda/pinned_memory_pool.rs:16
Method
default
()
rust/persia-core/src/cuda/cuda_stream_pool.rs:15
Method
default
()
rust/persia-core/src/cuda/cuda_memory_pool.rs:17
Method
default
()
rust/persia-core/src/cuda/resource_pool.rs:18
Method
default
()
rust/persia-core/src/cuda/cuda_event_pool.rs:17
Method
default
()
rust/persia-common/src/grad.rs:17
Method
default
()
rust/persia-common/src/lib.rs:129
Function
delete
(client: Client, name: &str, namespace: &str)
k8s/src/finalizer.rs:18
Method
delete
(&self, job_name: &str, namespace: &str)
k8s/src/service.rs:32
Method
delete_pods
( kubernetes_client: Client, namespace: &str, job_name: &str, )
k8s/src/lib.rs:161
Method
delete_resources
( kubernetes_client: Client, namespace: &str, job_name: &str, )
k8s/src/lib.rs:53
Method
delete_services
( kubernetes_client: Client, namespace: &str, job_name: &str, )
k8s/src/lib.rs:92
Method
deleted
(free_index: u32)
rust/persia-embedding-holder/src/array_linked_list.rs:128
Method
drop
(&mut self)
rust/persia-core/src/dlpack.rs:73
Method
drop
(&mut self)
rust/persia-core/src/cuda/pinned_memory_pool.rs:25
Method
drop
(&mut self)
rust/persia-core/src/cuda/cuda_stream_pool.rs:43
Method
drop
(&mut self)
rust/persia-core/src/cuda/cuda_memory_pool.rs:26
Method
drop
(&mut self)
rust/persia-core/src/cuda/cuda_event_pool.rs:53
Function
drop_dl_managed_tensor
[`DLManagedTensor`] FFI C drop function Ensure drop the instance after ownership changes.
rust/persia-core/src/dlpack.rs:90
Method
dump
(&self, dst_dir: String)
rust/persia-core/src/rpc.rs:118
Method
dump
(&self, req: String)
rust/persia-embedding-server/src/embedding_worker_service/mod.rs:1131
Method
dump
(&self, dir: String)
rust/persia-embedding-server/src/embedding_parameter_service/mod.rs:453
Method
dump_checkpoint
Save the model checkpoint (both dense and embedding) to the destination directory. Arguments: dst_dir (str): destination director
persia/ctx.py:471
Function
dump_yaml
Dump the content into filepath.
persia/utils.py:48
Method
emb_and_opt_mut
(&mut self)
rust/persia-embedding-holder/src/emb_entry.rs:150
Method
emb_mut
(&mut self)
rust/persia-embedding-holder/src/emb_entry.rs:132
Function
embedding_parameter_server
( port: int, embedding_config: str, global_config: str, replica_index: int, replica_size:
persia/launcher.py:226
Function
embedding_worker
( port: int, embedding_config: str, global_config: str, replica_index: int, replica_size:
persia/launcher.py:180
Method
embedding_worker_addr
(&self)
rust/persia-core/src/forward.rs:263
Method
empty
(array: &'a ArrayLinkedList<T>)
rust/persia-embedding-holder/src/array_linked_list.rs:947
Method
eq
(&self, other: &Self)
rust/persia-core/src/data.rs:56
Method
estimate_distinct_id
(&self)
rust/persia-embedding-server/src/monitor.rs:111
Method
fmt
(&self, f: &mut fmt::Formatter)
rust/persia-core/src/tensor.rs:40
Method
forward
Call :meth:`.prepare_features` and then do a forward step of the model in context. Arguments: batch (PersiaTrainingBatch): traini
persia/ctx.py:433
Method
forward_batched
( &self, indices: IDTypeFeatureBatch, batcher_idx: usize, )
rust/persia-embedding-server/src/embedding_worker_service/mod.rs:656
Method
from
(error: std::io::Error)
rust/others/persia-nats-client/src/lib.rs:24
Method
from
(e: AnyhowError)
rust/persia-model-manager/src/lib.rs:49
Method
from
(e: PersiaError)
rust/persia-core/src/lib.rs:95
Method
from_emb
(emb: Vec<f32>, sign: u64)
rust/persia-embedding-holder/src/emb_entry.rs:78
Method
from_emb_and_opt
(emb: Vec<f32>, opt: &[f32], sign: u64)
rust/persia-embedding-holder/src/emb_entry.rs:87
Method
from_numpy
(data: &PyArray2<f32>)
rust/persia-core/src/forward.rs:130
Method
from_pathbuf
(path: PathBuf)
rust/persia-storage/src/lib.rs:19
Method
from_str
(s: &str)
rust/persia-storage/src/lib.rs:31
Method
from_string
(s: String)
rust/persia-storage/src/lib.rs:26
Method
from_vec
(v: Vec<&PathBuf>)
rust/persia-storage/src/lib.rs:36
Method
front
(first_index: u32, data: T)
rust/persia-embedding-holder/src/array_linked_list.rs:112
Method
front_index
The index of the first list element. Returns `None` if array is empty.
rust/persia-embedding-holder/src/array_linked_list.rs:712
Method
front_mut
The first list element as a mutable reference. Returns `None` if array is empty.
rust/persia-embedding-holder/src/array_linked_list.rs:762
Function
func
()
persia/env.py:89
Function
gencrd
( output: str, )
persia/k8s_utils.py:18
← previous
next →
401–500 of 720, ranked by callers