MCPcopy Create free account

hub / github.com/VivekPanyam/carton / functions

Functions635 in github.com/VivekPanyam/carton

↓ 1 callersFunctionget_or_install_runner
Get an installed runner that matches the constraints or install one If `upgrade` is set, don't check existing runners first and attempt to install a n
source/carton-runner-packager/src/fetch.rs:59
↓ 1 callersMethodget_raw_channel
A bidirectional stream Note: this can only be called once per channel id
source/carton-runner-interface/src/do_not_modify/comms.rs:263
↓ 1 callersMethodget_rx
Can only be called once
source/carton-runner-interface/src/server.rs:442
↓ 1 callersFunctionget_test_data_dir
()
source/carton/src/format/v1/carton_toml.rs:424
↓ 1 callersMethodhandle_queue
(self, mut q: mpsc::Receiver<crate::rpc::MessageType>)
source/anywhere/src/transport/framed.rs:81
↓ 1 callersMethodinfer
(in_: Vec<(String, Tensor)>)
source/carton-runner-wasm/tests/test_model/src/lib.rs:40
↓ 1 callersMethodinfer
(tensors)
source/carton-bindings-nodejs/js/index.js:43
↓ 1 callersMethodinfer
Infer using a set of inputs. Consider using `seal` and `infer_with_handle` in pipelines
source/carton/src/carton.rs:54
↓ 1 callersMethodinfer_with_handle
( &mut self, handle: SealHandle, )
source/carton-runner-py/src/model.rs:118
↓ 1 callersMethodinfer_with_inputs
( &self, tensors_orig: HashMap<String, Tensor>, )
source/carton-runner-interface/src/runner.rs:126
↓ 1 callersMethodinfer_with_tensors
( &self, tensors: HashMap<String, Tensor>, )
source/carton-runner-py/src/model.rs:148
↓ 1 callersFunctioninit_inner
()
source/carton-runner-py/src/python_utils.rs:27
↓ 1 callersFunctioninit_logging
()
source/carton-bindings-wasm/src/utils.rs:17
↓ 1 callersFunctioninstall_python
()
source/carton-runner-py/build.rs:47
↓ 1 callersMethodinto_inner
(self)
source/carton/src/info.rs:209
↓ 1 callersMethodlen
(&self)
source/carton-runner-interface/src/do_not_modify/alloc_pool.rs:105
↓ 1 callersFunctionlistener
()
docs/website/pages/_app.tsx:86
↓ 1 callersMethodload
(*args, **kwargs)
source/carton-bindings-py/tests/test_load_unpacked.py:158
↓ 1 callersFunctionload_tensors
Loads tensors
source/carton/src/format/v1/tensor.rs:178
↓ 1 callersMethodload_unpacked
( path: P, pack_opts: O, load_opts: LoadOpts, )
source/carton/src/carton.rs:182
↓ 1 callersFunctionmain
()
examples/hf/sdxl/pack.py:37
↓ 1 callersFunctionmain
()
examples/hf/bark/pack.py:30
↓ 1 callersFunctionmain
()
examples/hf/dpt-hybrid-midas/pack.py:30
↓ 1 callersFunctionmain_inner
()
source/carton-runner-py/src/main.rs:58
↓ 1 callersFunctionmemfd_create
()
source/carton-runner-interface/src/do_not_modify/alloc_shm.rs:97
↓ 1 callersMethodmetadata
(&self)
source/anywhere/src/types.rs:114
↓ 1 callersMethodname
()
source/carton-bindings-nodejs/js/index.js:35
↓ 1 callersFunctionnew_engine
()
source/carton-runner-wasm/src/main.rs:8
↓ 1 callersMethodopen
Open a file
source/anywhere/src/types.rs:264
↓ 1 callersMethodopen_file
Read only filesystem operations
source/anywhere/src/file_ops.rs:84
↓ 1 callersMethodopen_file_with_opts
( &self, context: &ServerContext<Self>, opts: OpenOptions, path: RPCPath,
source/anywhere/src/file_ops.rs:191
↓ 1 callersMethodopen_with_opts
( &self, opts: &OpenOptions, path: impl PathType, )
source/anywhere/src/types.rs:340
↓ 1 callersMethodpack
Pack a model and return a path to the output directory
source/carton-runner-interface/src/runner.rs:269
↓ 1 callersFunctionparse_protocol
Given a url or a path, figure out what protocol it's using
source/carton/src/load.rs:378
↓ 1 callersMethodplatform
(&self)
source/carton-runner-packager/src/discovery.rs:186
↓ 1 callersMethodread
(&self, path: impl PathType)
source/anywhere/src/types.rs:280
↓ 1 callersMethodread_bytes
File IO
source/anywhere/src/file_ops.rs:36
↓ 1 callersMethodread_dir
( &self, path: impl PathType, )
source/anywhere/src/types.rs:285
↓ 1 callersMethodread_dir_wrapper
(&self, path: RPCPath)
source/anywhere/src/read_dir_ops.rs:28
↓ 1 callersMethodread_link
(&self, _path: impl PathType)
source/carton/src/httpfs.rs:360
↓ 1 callersMethodread_link
(&self, path: impl PathType)
source/carton/src/overlayfs.rs:258
↓ 1 callersMethodreturn_for_reuse
(&self, item: T)
source/carton-runner-interface/src/do_not_modify/alloc_pool.rs:147
↓ 1 callersMethodrunner_compat_version
(&self)
source/carton-runner-packager/src/discovery.rs:178
↓ 1 callersMethodrunner_interface_version
(&self)
source/carton-runner-packager/src/discovery.rs:182
↓ 1 callersMethodrunner_name
(&self)
source/carton-runner-packager/src/discovery.rs:170
↓ 1 callersMethodrunner_release_date
(&self)
source/carton-runner-packager/src/discovery.rs:190
↓ 1 callersFunctionsave
Given a path to a filled `model` dir, this function creates a complete carton by saving all the additonal info. Returns a path to the saved file
source/carton/src/format/v1/save.rs:49
↓ 1 callersFunctionsave_tensors
( tensor_data_path: &std::path::Path, tensors: HashMap<String, &Tensor>, )
source/carton/src/format/v1/tensor.rs:53
↓ 1 callersMethodseal
(&self, py: Python<'a>, tensors: &PyDict)
source/carton-bindings-py/src/lib.rs:68
↓ 1 callersMethodseal
(&mut self, tensors: HashMap<String, Tensor>)
source/carton-runner-py/src/model.rs:99
↓ 1 callersMethodseek
File IO
source/anywhere/src/file_ops.rs:219
↓ 1 callersFunctionserve_fs
( fs: AnywhereRPCServer<T, A, B, C>, send: S, recv: R, )
source/anywhere/src/transport/framed.rs:111
↓ 1 callersMethodserve_readonly_fs
(&self, fs: Arc<T>)
source/carton-runner-interface/src/client.rs:112
↓ 1 callersMethodserve_writable_fs
(&self, fs: Arc<T>)
source/carton-runner-interface/src/client.rs:135
↓ 1 callersMethodset_len
(&self, size: u64)
source/anywhere/src/types.rs:213
↓ 1 callersMethodset_permissions
(&self, perm: Permissions)
source/anywhere/src/types.rs:217
↓ 1 callersFunctionslice_to_bytes
(s: &[T])
source/carton-runner-wasm/src/types.rs:102
↓ 1 callersMethodsync_all
(&self)
source/anywhere/src/types.rs:205
↓ 1 callersMethodsync_data
(&self)
source/anywhere/src/types.rs:209
↓ 1 callersFunctiontensor_from_ivalue
(value: tch::IValue)
source/carton-runner-torch/src/main.rs:240
↓ 1 callersFunctiontensor_to_ivalue
Conversion from carton tensors to torch IValues.
source/carton-runner-torch/src/main.rs:169
↓ 1 callersFunctiontensors_to_tch
(tensors: HashMap<String, Tensor>, device: tch::Device)
source/carton-runner-torch/src/main.rs:160
↓ 1 callersFunctiontest
()
source/carton-bindings-py/tests/test_load.py:19
↓ 1 callersFunctiontestStdlib
()
source/carton-bindings-nodejs/tests/test_basic.js:34
↓ 1 callersFunctiontestndarray
()
source/carton-bindings-nodejs/tests/test_basic.js:52
↓ 1 callersFunctionto_f32
(t: &mut Tensor)
source/carton-runner-wasm/tests/test_model/src/lib.rs:31
↓ 1 callersMethodtry_clone
(&self)
source/anywhere/src/types.rs:118
↓ 1 callersFunctionupdate_version_numbers
Updates version numbers for dev builds
ci/build.py:41
↓ 1 callersMethodview
(&self)
source/carton-bindings-c/src/tensor.rs:54
↓ 1 callersMethodview_mut
(&mut self)
source/carton-bindings-c/src/tensor.rs:58
↓ 1 callersMethodview_mut
(&mut self)
source/carton/src/types.rs:264
↓ 1 callersMethodvisit_str
(self, v: &str)
source/carton/src/format/v1/carton_toml.rs:139
↓ 1 callersMethodwait_for_fd
Get a file descriptor by ID or wait for it
source/carton-runner-interface/src/do_not_modify/comms.rs:244
↓ 1 callersMethodwrite_data
File IO
source/anywhere/src/file_ops.rs:111
↓ 1 callersMethodwrite_flush
( &self, context: &ServerContext<Self>, handle: FileHandle, )
source/anywhere/src/file_ops.rs:121
↓ 1 callersMethodwrite_shutdown
( &self, context: &ServerContext<Self>, handle: FileHandle, )
source/anywhere/src/file_ops.rs:129
FunctionApp
({ Component, pageProps }: AppProps)
docs/website/pages/_app.tsx:80
MethodAsyncNotifier
Delete copy and assign constructors
source/carton-bindings-cpp/src/carton.hh:241
MethodAsyncNotifier
source/carton-bindings-cpp/src/carton_impl.hh:87
MethodAsyncNotifierBase
source/carton-bindings-cpp/src/carton.cc:207
MethodAsyncNotifierBase
Delete copy and assign constructors
source/carton-bindings-cpp/src/carton.hh:211
MethodAsyncNotifierHandle
source/carton-bindings-cpp/src/carton.hh:193
FunctionButtonGrid
({ children }: any)
docs/website/components/buttonlink.tsx:27
FunctionButtonLink
({ children, href }: any)
docs/website/components/buttonlink.tsx:17
MethodCarton
source/carton-bindings-cpp/src/carton.cc:262
MethodCarton
Delete copy and copy assign constructors
source/carton-bindings-cpp/src/carton.hh:275
FunctionCode
({ codeString, withLineNumbers = false, showTag = true, className: wrapperClassName = "",
docs/website/components/code.tsx:69
FunctionCustomLink
(props: any)
docs/website/pages/_app.tsx:57
FunctionDocsLayout
({ children, className, title }: any)
docs/website/components/docslayout.tsx:19
FunctionDocument
()
docs/website/pages/_document.tsx:17
FunctionFAQItem
({ title, children }: any)
docs/website/pages/index.tsx:307
FunctionHome
()
docs/website/pages/index.tsx:111
FunctionLanguageItem
({ children, forLang}: any)
docs/website/components/languageselect.tsx:129
FunctionLanguageSelect
({ className }: any)
docs/website/components/languageselect.tsx:40
FunctionLanguageSwitch
({ children }: any)
docs/website/components/languageselect.tsx:98
FunctionPre
({ children, className, forLang, ...props }: any)
docs/website/pages/_app.tsx:26
MethodResult
source/carton-bindings-cpp/src/carton_impl.hh:29
FunctionRotatingFrameworkHeader
()
docs/website/pages/index.tsx:91
FunctionRotatingLanguage
()
docs/website/pages/index.tsx:75
MethodTensor
source/carton-bindings-cpp/src/carton.cc:27
← previousnext →201–300 of 635, ranked by callers