MCPcopy Create free account

hub / github.com/VivekPanyam/carton / functions

Functions635 in github.com/VivekPanyam/carton

Methodnew
Create a new client
source/carton-runner-interface/src/client.rs:57
Methodnew
( runner_path: &std::path::Path, visible_device: Device, )
source/carton-runner-interface/src/runner.rs:33
Methodnew
()
source/carton-runner-interface/src/do_not_modify/alloc_inline.rs:38
Methodnew
(numel: usize)
source/carton-runner-interface/src/do_not_modify/alloc_pool.rs:101
Methodnew
(inner: Tensor, _comms: &Comms)
source/carton-runner-interface/src/do_not_modify/types.rs:274
Methodnew
Allocate a new shared memory region
source/carton-runner-interface/src/do_not_modify/alloc_shm.rs:126
Methodnew
()
source/carton-runner-interface/src/do_not_modify/wasm_comms.rs:62
Methodnew
Returns Self and the bootstrap path for the other process to connect to
source/carton-runner-interface/src/do_not_modify/comms.rs:314
Methodnew
(tx: mpsc::Sender<MessageType>)
source/anywhere/src/rpc.rs:80
Methodnew
()
source/anywhere/src/transport/serde.rs:46
Methodnew
(send: S, recv: R)
source/anywhere/src/transport/framed.rs:38
Methodnew
( data: Vec<u8>, relative_path: String, info: RunnerInfo, additional: Vec<Down
source/carton-runner-packager/src/lib.rs:168
Methodnew
( model_dir: tempfile::TempDir, temp_packages: tempfile::TempDir, model: &PyAny, )
source/carton-runner-py/src/model.rs:58
Methodnew
(item: S)
source/carton/src/types.rs:213
Methodnew
( client: reqwest::Client, url: String, check_dl_header: bool, )
source/carton/src/http.rs:81
Methodnew
(client: reqwest::Client, info: FileInfo)
source/carton/src/httpfs.rs:84
Methodnew
(bottom: Arc<B>, top: Arc<T>)
source/carton/src/overlayfs.rs:62
Methodopen
(&self, path: impl PathType)
source/carton/src/overlayfs.rs:124
Functionpack_bart_cnn_dm
()
source/carton-runner-rust-bert/src/summarize.rs:147
Functionpack_bart_mnli
()
source/carton-runner-rust-bert/src/zero_shot.rs:201
Functionpack_bert_base_uncased
()
source/carton-runner-rust-bert/src/masked_language.rs:193
Functionpack_distilbert_squad
()
source/carton-runner-rust-bert/src/qa.rs:152
Functionpack_distilbert_sst2
()
source/carton-runner-rust-bert/src/sentiment_analysis.rs:146
Functionpack_gpt2_medium
()
source/carton-runner-rust-bert/src/text_generation.rs:127
Functionpack_m2m100
()
source/carton-runner-rust-bert/src/translate.rs:165
Functionparse_all_test_toml_files
()
source/carton/src/format/v1/carton_toml.rs:448
Functionpath_to_string
(path: &lunchbox::path::PathBuf)
source/anywhere/src/serialize.rs:189
Functionpipeline_example
()
source/carton-bindings-py/tests/test_basic.py:68
Methodplatform
(&self)
source/carton-runner-packager/src/fetch.rs:115
Methodpoll_complete
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, )
source/anywhere/src/types.rs:236
Methodpoll_complete
Returns the stored offset
source/carton/src/http.rs:206
Methodpoll_flush
(self: Pin<&mut Self>, cx: &mut Context<'_>)
source/carton-runner-interface/src/do_not_modify/wasm_comms.rs:111
Methodpoll_flush
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, )
source/anywhere/src/types.rs:156
Methodpoll_next_entry
( &mut self, _cx: &mut std::task::Context<'_>, fs: &'a AnywhereFS<W, S>, )
source/anywhere/src/types.rs:317
Methodpoll_next_entry
( &mut self, _cx: &mut std::task::Context<'_>, fs: &'a F, )
source/carton/src/httpfs.rs:401
Methodpoll_next_entry
( &mut self, _cx: &mut std::task::Context<'_>, fs: &'a F, )
source/carton/src/overlayfs.rs:307
Methodpoll_read
( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>, )
source/carton-runner-interface/src/do_not_modify/wasm_comms.rs:93
Methodpoll_read
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &mut tokio
source/anywhere/src/types.rs:80
Methodpoll_read
( mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &mut tokio::io::Read
source/carton/src/http.rs:215
Methodpoll_read
( mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &mut tokio::io::Read
source/carton/src/httpfs.rs:123
Methodpoll_read
( self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &mut tokio::io
source/carton/src/overlayfs.rs:75
Methodpoll_shutdown
(self: Pin<&mut Self>, cx: &mut Context<'_>)
source/carton-runner-interface/src/do_not_modify/wasm_comms.rs:115
Methodpoll_shutdown
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, )
source/anywhere/src/types.rs:178
Methodpoll_write
( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], )
source/carton-runner-interface/src/do_not_modify/wasm_comms.rs:103
Methodpoll_write
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &[u8],
source/anywhere/src/types.rs:130
Functionpreload_cuda_deps
()
source/carton-runner-py/src/preload_cuda.py:59
Functionpyerr_to_string_with_traceback
(e: PyErr)
source/carton-runner-py/src/model.rs:187
Methodread
(&self, path: impl PathType)
source/carton/src/overlayfs.rs:186
Methodread_dir
( &self, path: impl PathType, )
source/carton/src/overlayfs.rs:199
Methodread_link
(&self, path: impl PathType)
source/anywhere/src/types.rs:299
Methodread_to_string
(&self, path: impl PathType)
source/anywhere/src/types.rs:303
Methodread_to_string
(&self, path: impl PathType)
source/carton/src/overlayfs.rs:269
Functionregister_launcher
(launcher: &WasmRunnerLauncher)
source/carton-runner-interface/src/do_not_modify/wasm_comms.rs:55
Methodremove_dir
(&self, path: impl PathType)
source/anywhere/src/types.rs:368
Methodremove_dir_all
(&self, path: impl PathType)
source/anywhere/src/types.rs:372
Methodremove_file
(&self, path: impl PathType)
source/anywhere/src/types.rs:376
Methodrename
(&self, from: impl PathType, to: impl PathType)
source/anywhere/src/types.rs:380
Methodrunner
()
source/carton-bindings-nodejs/js/index.js:39
Methodrunner_compat_version
(&self)
source/carton-runner-packager/src/fetch.rs:107
Methodrunner_interface_version
(&self)
source/carton-runner-packager/src/fetch.rs:111
Methodrunner_name
(&self)
source/carton-runner-packager/src/fetch.rs:99
Methodrunner_release_date
(&self)
source/carton-runner-packager/src/fetch.rs:119
Functionseal
(model, input_queue: asyncio.Queue[Optional[Any]], output_queue: asyncio.Queue[Optional[Any]])
source/carton-bindings-py/tests/test_basic.py:35
Methodseal
(&self, tensors_orig: HashMap<String, Tensor>)
source/carton-runner-interface/src/runner.rs:196
Methodseal
"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
Methodsend_fd
(&self, fd: RawFd)
source/carton-runner-interface/src/do_not_modify/comms.rs:225
Functionserailize_empty
()
source/carton-runner-py/src/env.rs:95
Methodserialize
(&self, serializer: S)
source/carton/src/types.rs:132
Methodserialize
(&self, serializer: S)
source/carton/src/info.rs:479
Methodserialize
(&self, serializer: S)
source/carton/src/format/v1/carton_toml.rs:75
Methodserve
Serves a filesystem by handling length prefixed frames over something that implements [`AsyncRead`] and [`AsyncWrite`]
source/anywhere/src/transport/framed.rs:161
Functionserve_fs
Serves a filesystem
source/anywhere/src/transport/serde.rs:135
MethodsetUp
(self)
source/carton-bindings-py/tests/test_load_unpacked.py:37
Methodset_dtype
(&mut self, value: &str)
source/carton-bindings-py/src/conversions.rs:262
Functionshrink
( py: Python, path: std::path::PathBuf, urls: HashMap<String, Vec<String>>, )
source/carton-bindings-py/src/lib.rs:262
Methodshrink
( path: std::path::PathBuf, urls: HashMap<String, Vec<String>>, )
source/carton/src/carton.rs:270
Methodstart_seek
( self: std::pin::Pin<&mut Self>, position: std::io::SeekFrom, )
source/anywhere/src/types.rs:224
Methodstart_seek
Computes and stores the offset
source/carton/src/http.rs:180
FunctionstreamToBuffer
(stream)
source/carton-bindings-wasm/tests/basic.js:37
Methodstreaming_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
Methodstreaming_infer_with_handle
( &self, handle: u64, )
source/carton-runner-interface/src/runner.rs:235
Methodstreaming_infer_with_inputs
( &self, tensors_orig: HashMap<String, Tensor>, )
source/carton-runner-interface/src/runner.rs:158
Functionstring_tensor_carton_to_wasm
()
source/carton-runner-wasm/src/types.rs:202
Functionstring_tensor_wasm_to_carton
()
source/carton-runner-wasm/src/types.rs:223
Methodsymlink_metadata
(&self, path: impl PathType)
source/anywhere/src/types.rs:307
Methodsymlink_metadata
(&self, path: impl PathType)
source/carton/src/httpfs.rs:386
Methodsymlink_metadata
(&self, path: impl PathType)
source/carton/src/overlayfs.rs:280
Functiontest_assign_scalar
()
source/carton-runner-torch/src/main.rs:306
Functiontest_bincode
()
source/anywhere/src/transport/serde.rs:157
Functiontest_c_examples
()
source/carton-bindings-c/tests/test_c_examples.rs:19
Functiontest_cpp_examples
()
source/carton-bindings-cpp/tests/test_cpp_examples.rs:18
Functiontest_deserialize_links
()
source/carton/src/format/v1/links.rs:149
Functiontest_generate_lockfile
()
source/carton-runner-py/src/packager.rs:338
Functiontest_get
()
source/carton/src/carton.rs:305
Functiontest_get_lightgbm_deps
()
source/carton-runner-py/src/pip_utils.rs:138
Functiontest_install_pip
()
source/carton-runner-py/src/wheel.rs:110
Functiontest_install_pip_subprocess
()
source/carton-runner-py/src/wheel.rs:125
Methodtest_load_unpacked
Test load_unpacked. See _run_load_test for more details.
source/carton-bindings-py/tests/test_load_unpacked.py:154
Functiontest_other_domain
()
source/carton/src/carton.rs:336
Functiontest_pack
()
source/carton-runner-rust-bert/tests/pack.rs:22
← previousnext →501–600 of 635, ranked by callers