MCPcopy Create free account

hub / github.com/PersiaML/PERSIA / functions

Functions720 in github.com/PersiaML/PERSIA

Method_export_http
(&self)
rust/persia-metrics/src/lib.rs:163
Methodafter
(array: &'a ArrayLinkedList<T>, prev_index: u32)
rust/persia-embedding-holder/src/array_linked_list.rs:963
Functionapply
(req: web::Json<ApplyRequest>)
k8s/src/bin/server.rs:48
Methodapply
( &self, job_name: &str, namespace: &str, json_spec: &str, )
k8s/src/service.rs:16
Methodapply
(&self)
rust/persia-core/src/optim.rs:61
Functionassert_id_type_feature_data
(tensors: List[torch.Tensor], config: dict)
test/test_ctx.py:41
Methodback
(last_index: u32, data: T)
rust/persia-embedding-holder/src/array_linked_list.rs:120
Methodback_index
The index of the last list element. Returns `None` if array is empty.
rust/persia-embedding-holder/src/array_linked_list.rs:722
Methodback_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
Methodbatch
(&self, batch: PersiaBatchImpl)
rust/persia-core/src/nats.rs:124
Methodbatch_id
Get batch_id from[`PersiaBatchImpl`] after data sending to embedding-worker.
rust/persia-core/src/data.rs:261
Methodbatch_size
(self)
persia/embedding/data.py:112
Methodbatch_size
(self)
persia/embedding/data.py:156
Methodbatch_size
(self)
persia/embedding/data.py:206
Methodbefore
(array: &'a ArrayLinkedList<T>, next_index: u32)
rust/persia-embedding-holder/src/array_linked_list.rs:976
Functionbench_create_normal
(c: &mut Criterion)
rust/others/persia-common-benchmark/benches/serialize_inf_request.rs:141
Functionbench_decode
(c: &mut Criterion)
rust/others/persia-common-benchmark/benches/serialize_inf_request.rs:162
Functionbench_encode
(c: &mut Criterion)
rust/others/persia-common-benchmark/benches/serialize_inf_request.rs:210
Functionbench_memcpy
(c: &mut Criterion)
rust/others/persia-common-benchmark/benches/memcpy.rs:14
Methodboxed
(self)
rust/persia-embedding-holder/src/emb_entry.rs:137
Methodcall_async
( &self, endpoint_name: &str, input: &T, compress: bool, )
rust/others/persia-rpc/src/lib.rs:68
Methodcapacity
(&self)
rust/persia-embedding-holder/src/lib.rs:79
Methodcapacity
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
Methodcapacity
(&self)
rust/persia-embedding-holder/src/eviction_map.rs:104
Methodcheck_dlpack
(&self, dlpack: PyObject)
rust/persia-core/src/forward.rs:198
Methodclear
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
Methodclear
(&mut self)
rust/persia-embedding-holder/src/eviction_map.rs:99
Methodclear_embeddings
(&self)
rust/persia-core/src/lib.rs:293
Methodclear_embeddings
(&self)
rust/persia-core/src/rpc.rs:113
Methodclear_embeddings
(&self)
rust/persia-embedding-server/src/embedding_worker_service/mod.rs:1354
Methodclear_embeddings
(&self)
rust/persia-embedding-server/src/embedding_parameter_service/mod.rs:486
Methodclear_embeddings
Clear all embeddings on all embedding servers.
persia/ctx.py:616
Methodconfigure_embedding_parameter_servers
( &self, initialize_lower: f32, initialize_upper: f32, admit_probability: f32,
rust/persia-core/src/lib.rs:367
Methodconfigure_embedding_parameter_servers
( &self, initialize_lower: f32, initialize_upper: f32, admit_probability: f32,
rust/persia-core/src/nats.rs:355
Methodconfigure_embedding_parameter_servers
( &self, req: PersiaEmbeddingModelHyperparameters, )
rust/persia-embedding-server/src/embedding_worker_service/mod.rs:1261
Methodconsume_all_meta_data
(&mut self, py: Python<'a>)
rust/persia-core/src/forward.rs:288
Methodconsume_dataset
Consume ``__iter__`` of itself and return the iterator of preprocess indexes.
persia/data.py:92
Methodconsume_dataset
(self)
persia/data.py:120
Methodconvert2distributed_model
Arguments: model (torch.nn.Module): the PyTorch model that needs to be converted to data-parallel model. world_size
persia/distributed.py:38
Methodconvert2distributed_model
Arguments: model (torch.nn.Module): the PyTorch model that needs to be converted to data-parallel model. world_size (
persia/distributed.py:317
Methodcopy_from_other
(&mut self, other: &Self)
rust/persia-embedding-holder/src/emb_entry.rs:98
Methodcreate_histogram
( &self, name: &str, help: &str, )
rust/persia-metrics/src/lib.rs:137
Methodcreate_histogram_vec
( &self, name: &str, help: &str, )
rust/persia-metrics/src/lib.rs:150
Methoddata
(self)
persia/embedding/data.py:406
Functiondata_loader
()
test/test_ctx.py:79
Functiondata_loader
(filepath: str, replica_index: int, replica_size: int)
persia/launcher.py:148
Methoddefault
()
rust/persia-embedding-config/src/lib.rs:91
Methoddefault
()
rust/persia-core/src/tensor.rs:211
Methoddefault
()
rust/persia-core/src/data.rs:44
Methoddefault
()
rust/persia-core/src/forward.rs:320
Methoddefault
()
rust/persia-core/src/cuda/pinned_memory_pool.rs:16
Methoddefault
()
rust/persia-core/src/cuda/cuda_stream_pool.rs:15
Methoddefault
()
rust/persia-core/src/cuda/cuda_memory_pool.rs:17
Methoddefault
()
rust/persia-core/src/cuda/resource_pool.rs:18
Methoddefault
()
rust/persia-core/src/cuda/cuda_event_pool.rs:17
Methoddefault
()
rust/persia-common/src/grad.rs:17
Methoddefault
()
rust/persia-common/src/lib.rs:129
Functiondelete
(client: Client, name: &str, namespace: &str)
k8s/src/finalizer.rs:18
Methoddelete
(&self, job_name: &str, namespace: &str)
k8s/src/service.rs:32
Methoddelete_pods
( kubernetes_client: Client, namespace: &str, job_name: &str, )
k8s/src/lib.rs:161
Methoddelete_resources
( kubernetes_client: Client, namespace: &str, job_name: &str, )
k8s/src/lib.rs:53
Methoddelete_services
( kubernetes_client: Client, namespace: &str, job_name: &str, )
k8s/src/lib.rs:92
Methoddeleted
(free_index: u32)
rust/persia-embedding-holder/src/array_linked_list.rs:128
Methoddrop
(&mut self)
rust/persia-core/src/dlpack.rs:73
Methoddrop
(&mut self)
rust/persia-core/src/cuda/pinned_memory_pool.rs:25
Methoddrop
(&mut self)
rust/persia-core/src/cuda/cuda_stream_pool.rs:43
Methoddrop
(&mut self)
rust/persia-core/src/cuda/cuda_memory_pool.rs:26
Methoddrop
(&mut self)
rust/persia-core/src/cuda/cuda_event_pool.rs:53
Functiondrop_dl_managed_tensor
[`DLManagedTensor`] FFI C drop function Ensure drop the instance after ownership changes.
rust/persia-core/src/dlpack.rs:90
Methoddump
(&self, dst_dir: String)
rust/persia-core/src/rpc.rs:118
Methoddump
(&self, req: String)
rust/persia-embedding-server/src/embedding_worker_service/mod.rs:1131
Methoddump
(&self, dir: String)
rust/persia-embedding-server/src/embedding_parameter_service/mod.rs:453
Methoddump_checkpoint
Save the model checkpoint (both dense and embedding) to the destination directory. Arguments: dst_dir (str): destination director
persia/ctx.py:471
Functiondump_yaml
Dump the content into filepath.
persia/utils.py:48
Methodemb_and_opt_mut
(&mut self)
rust/persia-embedding-holder/src/emb_entry.rs:150
Methodemb_mut
(&mut self)
rust/persia-embedding-holder/src/emb_entry.rs:132
Functionembedding_parameter_server
( port: int, embedding_config: str, global_config: str, replica_index: int, replica_size:
persia/launcher.py:226
Functionembedding_worker
( port: int, embedding_config: str, global_config: str, replica_index: int, replica_size:
persia/launcher.py:180
Methodembedding_worker_addr
(&self)
rust/persia-core/src/forward.rs:263
Methodempty
(array: &'a ArrayLinkedList<T>)
rust/persia-embedding-holder/src/array_linked_list.rs:947
Methodeq
(&self, other: &Self)
rust/persia-core/src/data.rs:56
Methodestimate_distinct_id
(&self)
rust/persia-embedding-server/src/monitor.rs:111
Methodfmt
(&self, f: &mut fmt::Formatter)
rust/persia-core/src/tensor.rs:40
Methodforward
Call :meth:`.prepare_features` and then do a forward step of the model in context. Arguments: batch (PersiaTrainingBatch): traini
persia/ctx.py:433
Methodforward_batched
( &self, indices: IDTypeFeatureBatch, batcher_idx: usize, )
rust/persia-embedding-server/src/embedding_worker_service/mod.rs:656
Methodfrom
(error: std::io::Error)
rust/others/persia-nats-client/src/lib.rs:24
Methodfrom
(e: AnyhowError)
rust/persia-model-manager/src/lib.rs:49
Methodfrom
(e: PersiaError)
rust/persia-core/src/lib.rs:95
Methodfrom_emb
(emb: Vec<f32>, sign: u64)
rust/persia-embedding-holder/src/emb_entry.rs:78
Methodfrom_emb_and_opt
(emb: Vec<f32>, opt: &[f32], sign: u64)
rust/persia-embedding-holder/src/emb_entry.rs:87
Methodfrom_numpy
(data: &PyArray2<f32>)
rust/persia-core/src/forward.rs:130
Methodfrom_pathbuf
(path: PathBuf)
rust/persia-storage/src/lib.rs:19
Methodfrom_str
(s: &str)
rust/persia-storage/src/lib.rs:31
Methodfrom_string
(s: String)
rust/persia-storage/src/lib.rs:26
Methodfrom_vec
(v: Vec<&PathBuf>)
rust/persia-storage/src/lib.rs:36
Methodfront
(first_index: u32, data: T)
rust/persia-embedding-holder/src/array_linked_list.rs:112
Methodfront_index
The index of the first list element. Returns `None` if array is empty.
rust/persia-embedding-holder/src/array_linked_list.rs:712
Methodfront_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
Functionfunc
()
persia/env.py:89
Functiongencrd
( output: str, )
persia/k8s_utils.py:18
← previousnext →401–500 of 720, ranked by callers