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
↓ 1 callers
Function
get_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 callers
Method
get_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 callers
Method
get_rx
Can only be called once
source/carton-runner-interface/src/server.rs:442
↓ 1 callers
Function
get_test_data_dir
()
source/carton/src/format/v1/carton_toml.rs:424
↓ 1 callers
Method
handle_queue
(self, mut q: mpsc::Receiver<crate::rpc::MessageType>)
source/anywhere/src/transport/framed.rs:81
↓ 1 callers
Method
infer
(in_: Vec<(String, Tensor)>)
source/carton-runner-wasm/tests/test_model/src/lib.rs:40
↓ 1 callers
Method
infer
(tensors)
source/carton-bindings-nodejs/js/index.js:43
↓ 1 callers
Method
infer
Infer using a set of inputs. Consider using `seal` and `infer_with_handle` in pipelines
source/carton/src/carton.rs:54
↓ 1 callers
Method
infer_with_handle
( &mut self, handle: SealHandle, )
source/carton-runner-py/src/model.rs:118
↓ 1 callers
Method
infer_with_inputs
( &self, tensors_orig: HashMap<String, Tensor>, )
source/carton-runner-interface/src/runner.rs:126
↓ 1 callers
Method
infer_with_tensors
( &self, tensors: HashMap<String, Tensor>, )
source/carton-runner-py/src/model.rs:148
↓ 1 callers
Function
init_inner
()
source/carton-runner-py/src/python_utils.rs:27
↓ 1 callers
Function
init_logging
()
source/carton-bindings-wasm/src/utils.rs:17
↓ 1 callers
Function
install_python
()
source/carton-runner-py/build.rs:47
↓ 1 callers
Method
into_inner
(self)
source/carton/src/info.rs:209
↓ 1 callers
Method
len
(&self)
source/carton-runner-interface/src/do_not_modify/alloc_pool.rs:105
↓ 1 callers
Function
listener
()
docs/website/pages/_app.tsx:86
↓ 1 callers
Method
load
(*args, **kwargs)
source/carton-bindings-py/tests/test_load_unpacked.py:158
↓ 1 callers
Function
load_tensors
Loads tensors
source/carton/src/format/v1/tensor.rs:178
↓ 1 callers
Method
load_unpacked
( path: P, pack_opts: O, load_opts: LoadOpts, )
source/carton/src/carton.rs:182
↓ 1 callers
Function
main
()
examples/hf/sdxl/pack.py:37
↓ 1 callers
Function
main
()
examples/hf/bark/pack.py:30
↓ 1 callers
Function
main
()
examples/hf/dpt-hybrid-midas/pack.py:30
↓ 1 callers
Function
main_inner
()
source/carton-runner-py/src/main.rs:58
↓ 1 callers
Function
memfd_create
()
source/carton-runner-interface/src/do_not_modify/alloc_shm.rs:97
↓ 1 callers
Method
metadata
(&self)
source/anywhere/src/types.rs:114
↓ 1 callers
Method
name
()
source/carton-bindings-nodejs/js/index.js:35
↓ 1 callers
Function
new_engine
()
source/carton-runner-wasm/src/main.rs:8
↓ 1 callers
Method
open
Open a file
source/anywhere/src/types.rs:264
↓ 1 callers
Method
open_file
Read only filesystem operations
source/anywhere/src/file_ops.rs:84
↓ 1 callers
Method
open_file_with_opts
( &self, context: &ServerContext<Self>, opts: OpenOptions, path: RPCPath,
source/anywhere/src/file_ops.rs:191
↓ 1 callers
Method
open_with_opts
( &self, opts: &OpenOptions, path: impl PathType, )
source/anywhere/src/types.rs:340
↓ 1 callers
Method
pack
Pack a model and return a path to the output directory
source/carton-runner-interface/src/runner.rs:269
↓ 1 callers
Function
parse_protocol
Given a url or a path, figure out what protocol it's using
source/carton/src/load.rs:378
↓ 1 callers
Method
platform
(&self)
source/carton-runner-packager/src/discovery.rs:186
↓ 1 callers
Method
read
(&self, path: impl PathType)
source/anywhere/src/types.rs:280
↓ 1 callers
Method
read_bytes
File IO
source/anywhere/src/file_ops.rs:36
↓ 1 callers
Method
read_dir
( &self, path: impl PathType, )
source/anywhere/src/types.rs:285
↓ 1 callers
Method
read_dir_wrapper
(&self, path: RPCPath)
source/anywhere/src/read_dir_ops.rs:28
↓ 1 callers
Method
read_link
(&self, _path: impl PathType)
source/carton/src/httpfs.rs:360
↓ 1 callers
Method
read_link
(&self, path: impl PathType)
source/carton/src/overlayfs.rs:258
↓ 1 callers
Method
return_for_reuse
(&self, item: T)
source/carton-runner-interface/src/do_not_modify/alloc_pool.rs:147
↓ 1 callers
Method
runner_compat_version
(&self)
source/carton-runner-packager/src/discovery.rs:178
↓ 1 callers
Method
runner_interface_version
(&self)
source/carton-runner-packager/src/discovery.rs:182
↓ 1 callers
Method
runner_name
(&self)
source/carton-runner-packager/src/discovery.rs:170
↓ 1 callers
Method
runner_release_date
(&self)
source/carton-runner-packager/src/discovery.rs:190
↓ 1 callers
Function
save
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 callers
Function
save_tensors
( tensor_data_path: &std::path::Path, tensors: HashMap<String, &Tensor>, )
source/carton/src/format/v1/tensor.rs:53
↓ 1 callers
Method
seal
(&self, py: Python<'a>, tensors: &PyDict)
source/carton-bindings-py/src/lib.rs:68
↓ 1 callers
Method
seal
(&mut self, tensors: HashMap<String, Tensor>)
source/carton-runner-py/src/model.rs:99
↓ 1 callers
Method
seek
File IO
source/anywhere/src/file_ops.rs:219
↓ 1 callers
Function
serve_fs
( fs: AnywhereRPCServer<T, A, B, C>, send: S, recv: R, )
source/anywhere/src/transport/framed.rs:111
↓ 1 callers
Method
serve_readonly_fs
(&self, fs: Arc<T>)
source/carton-runner-interface/src/client.rs:112
↓ 1 callers
Method
serve_writable_fs
(&self, fs: Arc<T>)
source/carton-runner-interface/src/client.rs:135
↓ 1 callers
Method
set_len
(&self, size: u64)
source/anywhere/src/types.rs:213
↓ 1 callers
Method
set_permissions
(&self, perm: Permissions)
source/anywhere/src/types.rs:217
↓ 1 callers
Function
slice_to_bytes
(s: &[T])
source/carton-runner-wasm/src/types.rs:102
↓ 1 callers
Method
sync_all
(&self)
source/anywhere/src/types.rs:205
↓ 1 callers
Method
sync_data
(&self)
source/anywhere/src/types.rs:209
↓ 1 callers
Function
tensor_from_ivalue
(value: tch::IValue)
source/carton-runner-torch/src/main.rs:240
↓ 1 callers
Function
tensor_to_ivalue
Conversion from carton tensors to torch IValues.
source/carton-runner-torch/src/main.rs:169
↓ 1 callers
Function
tensors_to_tch
(tensors: HashMap<String, Tensor>, device: tch::Device)
source/carton-runner-torch/src/main.rs:160
↓ 1 callers
Function
test
()
source/carton-bindings-py/tests/test_load.py:19
↓ 1 callers
Function
testStdlib
()
source/carton-bindings-nodejs/tests/test_basic.js:34
↓ 1 callers
Function
testndarray
()
source/carton-bindings-nodejs/tests/test_basic.js:52
↓ 1 callers
Function
to_f32
(t: &mut Tensor)
source/carton-runner-wasm/tests/test_model/src/lib.rs:31
↓ 1 callers
Method
try_clone
(&self)
source/anywhere/src/types.rs:118
↓ 1 callers
Function
update_version_numbers
Updates version numbers for dev builds
ci/build.py:41
↓ 1 callers
Method
view
(&self)
source/carton-bindings-c/src/tensor.rs:54
↓ 1 callers
Method
view_mut
(&mut self)
source/carton-bindings-c/src/tensor.rs:58
↓ 1 callers
Method
view_mut
(&mut self)
source/carton/src/types.rs:264
↓ 1 callers
Method
visit_str
(self, v: &str)
source/carton/src/format/v1/carton_toml.rs:139
↓ 1 callers
Method
wait_for_fd
Get a file descriptor by ID or wait for it
source/carton-runner-interface/src/do_not_modify/comms.rs:244
↓ 1 callers
Method
write_data
File IO
source/anywhere/src/file_ops.rs:111
↓ 1 callers
Method
write_flush
( &self, context: &ServerContext<Self>, handle: FileHandle, )
source/anywhere/src/file_ops.rs:121
↓ 1 callers
Method
write_shutdown
( &self, context: &ServerContext<Self>, handle: FileHandle, )
source/anywhere/src/file_ops.rs:129
Function
App
({ Component, pageProps }: AppProps)
docs/website/pages/_app.tsx:80
Method
AsyncNotifier
Delete copy and assign constructors
source/carton-bindings-cpp/src/carton.hh:241
Method
AsyncNotifier
source/carton-bindings-cpp/src/carton_impl.hh:87
Method
AsyncNotifierBase
source/carton-bindings-cpp/src/carton.cc:207
Method
AsyncNotifierBase
Delete copy and assign constructors
source/carton-bindings-cpp/src/carton.hh:211
Method
AsyncNotifierHandle
source/carton-bindings-cpp/src/carton.hh:193
Function
ButtonGrid
({ children }: any)
docs/website/components/buttonlink.tsx:27
Function
ButtonLink
({ children, href }: any)
docs/website/components/buttonlink.tsx:17
Method
Carton
source/carton-bindings-cpp/src/carton.cc:262
Method
Carton
Delete copy and copy assign constructors
source/carton-bindings-cpp/src/carton.hh:275
Function
Code
({ codeString, withLineNumbers = false, showTag = true, className: wrapperClassName = "",
docs/website/components/code.tsx:69
Function
CustomLink
(props: any)
docs/website/pages/_app.tsx:57
Function
DocsLayout
({ children, className, title }: any)
docs/website/components/docslayout.tsx:19
Function
Document
()
docs/website/pages/_document.tsx:17
Function
FAQItem
({ title, children }: any)
docs/website/pages/index.tsx:307
Function
Home
()
docs/website/pages/index.tsx:111
Function
LanguageItem
({ children, forLang}: any)
docs/website/components/languageselect.tsx:129
Function
LanguageSelect
({ className }: any)
docs/website/components/languageselect.tsx:40
Function
LanguageSwitch
({ children }: any)
docs/website/components/languageselect.tsx:98
Function
Pre
({ children, className, forLang, ...props }: any)
docs/website/pages/_app.tsx:26
Method
Result
source/carton-bindings-cpp/src/carton_impl.hh:29
Function
RotatingFrameworkHeader
()
docs/website/pages/index.tsx:91
Function
RotatingLanguage
()
docs/website/pages/index.tsx:75
Method
Tensor
source/carton-bindings-cpp/src/carton.cc:27
← previous
next →
201–300 of 635, ranked by callers