[package]
edition = "2024"
rust-version = "1.89"
name = "rlx-distributed"
version = "0.2.18"
authors = [
"Eugene Hauptmann",
"Nataliya Kosmyna",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RLX multi-node pipeline-parallel execution: graph partition into weight-sharded stages + tensor transport, to pool RAM across machines for models larger than any single node."
documentation = "https://docs.rs/rlx"
readme = "README.md"
keywords = [
"ml",
"tensor",
"compiler",
"neural-network",
"autodiff",
]
categories = [
"science",
"algorithms",
"compilers",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/MIT-RLX/rlx"
resolver = "2"
[package.metadata.docs.rs]
features = ["gguf"]
rustdoc-args = [
"--cfg",
"docsrs",
]
all-features = false
[features]
coreml = ["rlx-runtime/coreml"]
cuda = ["rlx-runtime/cuda"]
default = []
gguf = ["dep:rlx-gguf"]
metal = ["rlx-runtime/metal"]
mlx = ["rlx-runtime/mlx"]
rocm = ["rlx-runtime/rocm"]
vulkan = ["rlx-runtime/vulkan"]
[lib]
name = "rlx_distributed"
path = "src/lib.rs"
[[example]]
name = "three_node_local"
path = "examples/three_node_local.rs"
[[example]]
name = "transport_bench"
path = "examples/transport_bench.rs"
[[test]]
name = "experts_loopback"
path = "tests/experts_loopback.rs"
[[test]]
name = "paging_real_gguf"
path = "tests/paging_real_gguf.rs"
[[test]]
name = "pipeline_parity"
path = "tests/pipeline_parity.rs"
[dependencies.anyhow]
version = "1"
[dependencies.rlx-driver]
version = "0.2.18"
[dependencies.rlx-gguf]
version = "0.2.18"
optional = true
[dependencies.rlx-ir]
version = "0.2.18"
features = ["serialize"]
[dependencies.rlx-runtime]
version = "0.2.18"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.toml]
version = "0.8"
[dev-dependencies.rlx-gguf]
version = "0.2.18"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[lints.cargo]
unused_dependencies = "allow"
unused_workspace_dependencies = "allow"
[lints.clippy]
collapsible_if = "allow"
doc_lazy_continuation = "allow"
doc_overindented_list_items = "allow"
large_enum_variant = "allow"
manual_range_contains = "allow"
missing_safety_doc = "allow"
needless_range_loop = "allow"
should_implement_trait = "allow"
single_range_in_vec_init = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
unnecessary_wraps = "allow"
upper_case_acronyms = "allow"
useless_conversion = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust.unused]
level = "warn"
priority = 0