Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VivekPanyam/carton
/ functions
Functions
635 in github.com/VivekPanyam/carton
⨍
Functions
635
◇
Types & classes
271
Method
from
(value: Device)
source/carton/src/runner_interface/v1/types.rs:23
Method
from
(value: target_lexicon::Triple)
source/carton/src/format/v1/save.rs:485
Method
from
(value: String)
source/carton/src/format/v1/carton_toml.rs:188
Method
from
(value: Vec<crate::info::LinkedFile>)
source/carton/src/format/v1/links.rs:36
Method
from
(item: super::carton_toml::TensorReference, context: &LoadContext<F>)
source/carton/src/format/v1/load.rs:144
Method
from_blob
source/carton-bindings-cpp/src/carton.cc:57
Method
from_bytes
(engine: &Engine, bytes: &[u8])
source/carton-runner-wasm/src/lib.rs:20
Method
from_loader
(loader: BoxFuture<'static, T>)
source/carton/src/info.rs:166
Method
from_ndarray
Strings are a bit complex and require conversion This is unfortunate but necessary because most frameworks have different internal representations of
source/carton-utils-py/src/tensor.rs:100
Method
from_value
(value: T)
source/carton/src/info.rs:157
Method
get
source/carton-bindings-cpp/src/carton_impl.hh:117
Function
get_accessed
For lunchbox::types::Metadata
source/anywhere/src/serialize.rs:142
Method
get_channel
A framed transport that can transport serializable things on top of a bidirectional stream. Note: this can only be called once per channel id
source/carton-runner-interface/src/do_not_modify/wasm_comms.rs:69
Function
get_created
(item: &Metadata)
source/anywhere/src/serialize.rs:146
Method
get_current
()
source/carton-runner-py/src/env.rs:34
Function
get_current_environment
()
source/carton-runner-py/src/env.rs:89
Method
get_data_sha256
Returns the sha256 of `data`
source/carton-runner-packager/src/lib.rs:211
Method
get_dtype
(&self)
source/carton-bindings-py/src/conversions.rs:257
Method
get_id
Returns the generated package id. This is derived from the hashes of all the contained data files.
source/carton-runner-packager/src/lib.rs:201
Method
get_input_tensor
Returns an input tensor if it exists
source/carton/src/info.rs:246
Function
get_int_opt
(opt: &RunnerOpt)
source/carton-runner-torch/src/main.rs:285
Function
get_model
(compile: bool, enable_cpu_offload: bool, **kwargs)
examples/hf/sdxl/to_pack/infer.py:100
Function
get_model
()
examples/hf/bark/to_pack/infer.py:62
Function
get_model
()
examples/hf/dpt-hybrid-midas/to_pack/infer.py:67
Function
get_model_info
(py: Python, url_or_path: String)
source/carton-bindings-py/src/lib.rs:245
Function
get_modified
(item: &Metadata)
source/anywhere/src/serialize.rs:150
Method
get_output_tensor
Returns an output tensor if it exists
source/carton/src/info.rs:257
Method
get_shm_region
Get the SHM region containing addr (if any)
source/carton-runner-interface/src/do_not_modify/alloc_shm.rs:244
Method
handle
source/carton-bindings-cpp/src/carton_impl.hh:139
Function
handle_none
(item: &PyAny)
source/carton-bindings-py/src/conversions.rs:352
Method
handle_stream
Handle messaging on a UnixStream and callbacks in the local process
source/carton-runner-interface/src/do_not_modify/comms.rs:107
Method
hard_link
(&self, src: impl PathType, dst: impl PathType)
source/anywhere/src/types.rs:364
Function
infer
(model, input_queue: asyncio.Queue, output_queue: asyncio.Queue)
source/carton-bindings-py/tests/test_basic.py:54
Method
infer
(&self, tensors: HashMap<String, Tensor>)
source/carton-runner-rust-bert/src/sentiment_analysis.rs:94
Method
infer
(&self, tensors: HashMap<String, Tensor>)
source/carton-runner-rust-bert/src/masked_language.rs:97
Method
infer
(&self, tensors: HashMap<String, Tensor>)
source/carton-runner-rust-bert/src/translate.rs:95
Method
infer
(&self, tensors: HashMap<String, Tensor>)
source/carton-runner-rust-bert/src/zero_shot.rs:93
Method
infer
(&self, tensors: HashMap<String, Tensor>)
source/carton-runner-rust-bert/src/summarize.rs:90
Method
infer
(&self, tensors: HashMap<String, Tensor>)
source/carton-runner-rust-bert/src/text_generation.rs:90
Method
infer
The first arg should be a map from strings (tensor names) to objects in the below structure: { "buffer": ArrayBuffer, "shape": [1, 2, 3], "dtype": "fl
source/carton-bindings-nodejs/src/lib.rs:113
Function
infer_callback
source/carton-bindings-cpp/tests/callback.cc:27
Function
infer_callback
source/carton-bindings-c/tests/basic.c:22
Method
infer_future_callback
source/carton-bindings-cpp/src/carton.cc:311
Function
infer_noop_benchmark
(c: &mut Criterion)
source/carton/benches/bench_noop_infer.rs:26
Method
infer_user_callback
source/carton-bindings-cpp/src/carton.cc:341
Method
infer_with_handle
(&self, py: Python<'a>, handle: SealHandle)
source/carton-bindings-py/src/lib.rs:79
Method
infer_with_handle
(&self, handle: u64)
source/carton-runner-interface/src/runner.rs:211
Method
infer_with_handle
Infer using a handle from `seal`. This approach can make inference pipelines more efficient vs just using `infer`
source/carton/src/carton.rs:118
Method
infer_with_tensors
(self, tensors)
examples/hf/sdxl/to_pack/infer.py:69
Method
infer_with_tensors
(self, tensors)
examples/hf/bark/to_pack/infer.py:41
Method
infer_with_tensors
(self, tensors)
examples/hf/dpt-hybrid-midas/to_pack/infer.py:40
Method
info
(&self)
source/carton-bindings-py/src/lib.rs:95
Function
load
( py: Python, path: String, visible_device: Option<Device>, override_runner_name: Option<Strin
source/carton-bindings-py/src/lib.rs:103
Function
load
Load a carton model
source/carton-bindings-nodejs/src/lib.rs:40
Function
load
(fs: &Arc<T>)
source/carton/src/format/v1/load.rs:51
Method
load
(self, fs: &F)
source/carton-runner-rust-bert/src/sentiment_analysis.rs:51
Method
load
(self, fs: &F)
source/carton-runner-rust-bert/src/masked_language.rs:53
Method
load
(self, fs: &F)
source/carton-runner-rust-bert/src/translate.rs:52
Method
load
(self, fs: &F)
source/carton-runner-rust-bert/src/zero_shot.rs:50
Method
load
(self, fs: &F)
source/carton-runner-rust-bert/src/summarize.rs:50
Method
load
(self, fs: &F)
source/carton-runner-rust-bert/src/text_generation.rs:50
Method
load
()
source/carton-utils/src/config.rs:63
Method
load
( &self, fs: &Arc<T>, runner_name: String, required_framework_version: semver:
source/carton-runner-interface/src/runner.rs:81
Function
load_callback
source/carton-bindings-cpp/tests/callback.cc:43
Function
load_callback
source/carton-bindings-c/tests/basic.c:53
Method
load_future_callback
source/carton-bindings-cpp/src/carton.cc:296
Method
load_user_callback
source/carton-bindings-cpp/src/carton.cc:326
Function
main
()
source/carton-runner-rust-bert/build.rs:17
Function
main
()
source/carton-runner-rust-bert/src/main.rs:22
Function
main
()
source/carton-runner-rust-bert/src/bin/build_rust_bert_releases.rs:31
Function
main
()
source/carton-bindings-py/build.rs:15
Function
main
source/carton-bindings-cpp/tests/notifier.cc:20
Function
main
source/carton-bindings-cpp/tests/callback.cc:59
Function
main
source/carton-bindings-cpp/tests/future.cc:19
Function
main
()
source/carton-runner-torch/build.rs:17
Function
main
()
source/carton-runner-torch/src/main.rs:23
Function
main
()
source/carton-runner-torch/src/bin/build_torch_releases.rs:31
Function
main
()
source/carton-bindings-c/build.rs:17
Function
main
source/carton-bindings-c/tests/notifier.c:20
Function
main
source/carton-bindings-c/tests/basic.c:73
Function
main
()
source/fetch-deps/src/main.rs:18
Function
main
()
source/carton-runner-wasm/src/main.rs:15
Function
main
()
source/carton-runner-wasm/src/bin/build_wasm_releases.rs:20
Function
main
()
source/carton-runner-packager/src/bin/ci_upload_releases.rs:25
Function
main
()
source/carton-runner-py/build.rs:22
Function
main
This is basically the expanded version of #[pyo3_asyncio::tokio::main] but modified to call `crate::python_utils::init();` before setting up python
source/carton-runner-py/src/main.rs:36
Function
main
()
source/carton-runner-py/src/bin/build_releases/main.rs:36
Function
main
(mut cx: ModuleContext)
source/carton-bindings-nodejs/src/lib.rs:253
Function
main
()
source/carton-utils-py/build.rs:15
Function
main
()
source/build-utils/src/bin/build_c_cpp_bindings.rs:34
Function
main
()
source/build-utils/src/bin/upload_c_cpp_bindings.rs:21
Function
main
()
source/carton-runner-noop/src/main.rs:20
Function
main
()
source/carton/tests/test_fetch_runner.rs:25
Method
maybe_from_index
(i: u32)
source/carton/src/types.rs:113
Method
maybe_from_str
(s: &str)
source/carton/src/types.rs:79
Method
metadata
(&self)
source/carton/src/overlayfs.rs:94
Method
new
(item: &PyArrayDyn<T>)
source/carton-bindings-py/src/tensor.rs:51
Method
new
( name: String, dtype: &str, shape: Shape, description: Option<String>, )
source/carton-bindings-py/src/conversions.rs:269
Method
new
IMPORTANT**: Be careful when modifying the signature because it can affect the wire protocol
source/carton-runner-interface/src/multiplexer.rs:41
Method
new
(v: u64)
source/carton-runner-interface/src/server.rs:54
← previous
next →
401–500 of 635, ranked by callers