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
new
Create a new client
source/carton-runner-interface/src/client.rs:57
Method
new
( runner_path: &std::path::Path, visible_device: Device, )
source/carton-runner-interface/src/runner.rs:33
Method
new
()
source/carton-runner-interface/src/do_not_modify/alloc_inline.rs:38
Method
new
(numel: usize)
source/carton-runner-interface/src/do_not_modify/alloc_pool.rs:101
Method
new
(inner: Tensor, _comms: &Comms)
source/carton-runner-interface/src/do_not_modify/types.rs:274
Method
new
Allocate a new shared memory region
source/carton-runner-interface/src/do_not_modify/alloc_shm.rs:126
Method
new
()
source/carton-runner-interface/src/do_not_modify/wasm_comms.rs:62
Method
new
Returns Self and the bootstrap path for the other process to connect to
source/carton-runner-interface/src/do_not_modify/comms.rs:314
Method
new
(tx: mpsc::Sender<MessageType>)
source/anywhere/src/rpc.rs:80
Method
new
()
source/anywhere/src/transport/serde.rs:46
Method
new
(send: S, recv: R)
source/anywhere/src/transport/framed.rs:38
Method
new
( data: Vec<u8>, relative_path: String, info: RunnerInfo, additional: Vec<Down
source/carton-runner-packager/src/lib.rs:168
Method
new
( model_dir: tempfile::TempDir, temp_packages: tempfile::TempDir, model: &PyAny, )
source/carton-runner-py/src/model.rs:58
Method
new
(item: S)
source/carton/src/types.rs:213
Method
new
( client: reqwest::Client, url: String, check_dl_header: bool, )
source/carton/src/http.rs:81
Method
new
(client: reqwest::Client, info: FileInfo)
source/carton/src/httpfs.rs:84
Method
new
(bottom: Arc<B>, top: Arc<T>)
source/carton/src/overlayfs.rs:62
Method
open
(&self, path: impl PathType)
source/carton/src/overlayfs.rs:124
Function
pack_bart_cnn_dm
()
source/carton-runner-rust-bert/src/summarize.rs:147
Function
pack_bart_mnli
()
source/carton-runner-rust-bert/src/zero_shot.rs:201
Function
pack_bert_base_uncased
()
source/carton-runner-rust-bert/src/masked_language.rs:193
Function
pack_distilbert_squad
()
source/carton-runner-rust-bert/src/qa.rs:152
Function
pack_distilbert_sst2
()
source/carton-runner-rust-bert/src/sentiment_analysis.rs:146
Function
pack_gpt2_medium
()
source/carton-runner-rust-bert/src/text_generation.rs:127
Function
pack_m2m100
()
source/carton-runner-rust-bert/src/translate.rs:165
Function
parse_all_test_toml_files
()
source/carton/src/format/v1/carton_toml.rs:448
Function
path_to_string
(path: &lunchbox::path::PathBuf)
source/anywhere/src/serialize.rs:189
Function
pipeline_example
()
source/carton-bindings-py/tests/test_basic.py:68
Method
platform
(&self)
source/carton-runner-packager/src/fetch.rs:115
Method
poll_complete
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, )
source/anywhere/src/types.rs:236
Method
poll_complete
Returns the stored offset
source/carton/src/http.rs:206
Method
poll_flush
(self: Pin<&mut Self>, cx: &mut Context<'_>)
source/carton-runner-interface/src/do_not_modify/wasm_comms.rs:111
Method
poll_flush
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, )
source/anywhere/src/types.rs:156
Method
poll_next_entry
( &mut self, _cx: &mut std::task::Context<'_>, fs: &'a AnywhereFS<W, S>, )
source/anywhere/src/types.rs:317
Method
poll_next_entry
( &mut self, _cx: &mut std::task::Context<'_>, fs: &'a F, )
source/carton/src/httpfs.rs:401
Method
poll_next_entry
( &mut self, _cx: &mut std::task::Context<'_>, fs: &'a F, )
source/carton/src/overlayfs.rs:307
Method
poll_read
( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>, )
source/carton-runner-interface/src/do_not_modify/wasm_comms.rs:93
Method
poll_read
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &mut tokio
source/anywhere/src/types.rs:80
Method
poll_read
( mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &mut tokio::io::Read
source/carton/src/http.rs:215
Method
poll_read
( mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &mut tokio::io::Read
source/carton/src/httpfs.rs:123
Method
poll_read
( self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &mut tokio::io
source/carton/src/overlayfs.rs:75
Method
poll_shutdown
(self: Pin<&mut Self>, cx: &mut Context<'_>)
source/carton-runner-interface/src/do_not_modify/wasm_comms.rs:115
Method
poll_shutdown
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, )
source/anywhere/src/types.rs:178
Method
poll_write
( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], )
source/carton-runner-interface/src/do_not_modify/wasm_comms.rs:103
Method
poll_write
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &[u8],
source/anywhere/src/types.rs:130
Function
preload_cuda_deps
()
source/carton-runner-py/src/preload_cuda.py:59
Function
pyerr_to_string_with_traceback
(e: PyErr)
source/carton-runner-py/src/model.rs:187
Method
read
(&self, path: impl PathType)
source/carton/src/overlayfs.rs:186
Method
read_dir
( &self, path: impl PathType, )
source/carton/src/overlayfs.rs:199
Method
read_link
(&self, path: impl PathType)
source/anywhere/src/types.rs:299
Method
read_to_string
(&self, path: impl PathType)
source/anywhere/src/types.rs:303
Method
read_to_string
(&self, path: impl PathType)
source/carton/src/overlayfs.rs:269
Function
register_launcher
(launcher: &WasmRunnerLauncher)
source/carton-runner-interface/src/do_not_modify/wasm_comms.rs:55
Method
remove_dir
(&self, path: impl PathType)
source/anywhere/src/types.rs:368
Method
remove_dir_all
(&self, path: impl PathType)
source/anywhere/src/types.rs:372
Method
remove_file
(&self, path: impl PathType)
source/anywhere/src/types.rs:376
Method
rename
(&self, from: impl PathType, to: impl PathType)
source/anywhere/src/types.rs:380
Method
runner
()
source/carton-bindings-nodejs/js/index.js:39
Method
runner_compat_version
(&self)
source/carton-runner-packager/src/fetch.rs:107
Method
runner_interface_version
(&self)
source/carton-runner-packager/src/fetch.rs:111
Method
runner_name
(&self)
source/carton-runner-packager/src/fetch.rs:99
Method
runner_release_date
(&self)
source/carton-runner-packager/src/fetch.rs:119
Function
seal
(model, input_queue: asyncio.Queue[Optional[Any]], output_queue: asyncio.Queue[Optional[Any]])
source/carton-bindings-py/tests/test_basic.py:35
Method
seal
(&self, tensors_orig: HashMap<String, Tensor>)
source/carton-runner-interface/src/runner.rs:196
Method
seal
"Seal" a set of inputs that will be used for inference. This lets carton start processing tensors (e.g. moving them to the correct devices) before act
source/carton/src/carton.rs:105
Method
send_fd
(&self, fd: RawFd)
source/carton-runner-interface/src/do_not_modify/comms.rs:225
Function
serailize_empty
()
source/carton-runner-py/src/env.rs:95
Method
serialize
(&self, serializer: S)
source/carton/src/types.rs:132
Method
serialize
(&self, serializer: S)
source/carton/src/info.rs:479
Method
serialize
(&self, serializer: S)
source/carton/src/format/v1/carton_toml.rs:75
Method
serve
Serves a filesystem by handling length prefixed frames over something that implements [`AsyncRead`] and [`AsyncWrite`]
source/anywhere/src/transport/framed.rs:161
Function
serve_fs
Serves a filesystem
source/anywhere/src/transport/serde.rs:135
Method
setUp
(self)
source/carton-bindings-py/tests/test_load_unpacked.py:37
Method
set_dtype
(&mut self, value: &str)
source/carton-bindings-py/src/conversions.rs:262
Function
shrink
( py: Python, path: std::path::PathBuf, urls: HashMap<String, Vec<String>>, )
source/carton-bindings-py/src/lib.rs:262
Method
shrink
( path: std::path::PathBuf, urls: HashMap<String, Vec<String>>, )
source/carton/src/carton.rs:270
Method
start_seek
( self: std::pin::Pin<&mut Self>, position: std::io::SeekFrom, )
source/anywhere/src/types.rs:224
Method
start_seek
Computes and stores the offset
source/carton/src/http.rs:180
Function
streamToBuffer
(stream)
source/carton-bindings-wasm/tests/basic.js:37
Method
streaming_infer
Infer using a set of inputs. This method has support for intermediate streaming responses Consider using `seal` and `streaming_infer_with_handle` in p
source/carton/src/carton.rs:75
Method
streaming_infer_with_handle
( &self, handle: u64, )
source/carton-runner-interface/src/runner.rs:235
Method
streaming_infer_with_inputs
( &self, tensors_orig: HashMap<String, Tensor>, )
source/carton-runner-interface/src/runner.rs:158
Function
string_tensor_carton_to_wasm
()
source/carton-runner-wasm/src/types.rs:202
Function
string_tensor_wasm_to_carton
()
source/carton-runner-wasm/src/types.rs:223
Method
symlink_metadata
(&self, path: impl PathType)
source/anywhere/src/types.rs:307
Method
symlink_metadata
(&self, path: impl PathType)
source/carton/src/httpfs.rs:386
Method
symlink_metadata
(&self, path: impl PathType)
source/carton/src/overlayfs.rs:280
Function
test_assign_scalar
()
source/carton-runner-torch/src/main.rs:306
Function
test_bincode
()
source/anywhere/src/transport/serde.rs:157
Function
test_c_examples
()
source/carton-bindings-c/tests/test_c_examples.rs:19
Function
test_cpp_examples
()
source/carton-bindings-cpp/tests/test_cpp_examples.rs:18
Function
test_deserialize_links
()
source/carton/src/format/v1/links.rs:149
Function
test_generate_lockfile
()
source/carton-runner-py/src/packager.rs:338
Function
test_get
()
source/carton/src/carton.rs:305
Function
test_get_lightgbm_deps
()
source/carton-runner-py/src/pip_utils.rs:138
Function
test_install_pip
()
source/carton-runner-py/src/wheel.rs:110
Function
test_install_pip_subprocess
()
source/carton-runner-py/src/wheel.rs:125
Method
test_load_unpacked
Test load_unpacked. See _run_load_test for more details.
source/carton-bindings-py/tests/test_load_unpacked.py:154
Function
test_other_domain
()
source/carton/src/carton.rs:336
Function
test_pack
()
source/carton-runner-rust-bert/tests/pack.rs:22
← previous
next →
501–600 of 635, ranked by callers