[package]
edition = "2024"
rust-version = "1.87"
name = "rlx-mlx"
version = "0.2.0"
authors = [
"Eugene Hauptmann",
"Nataliya Kosmyna",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MLX backend for RLX — Apple's array framework via hand-rolled C++ shim, eager + lazy execution"
homepage = "https://github.com/MIT-RLX/rlx"
documentation = "https://docs.rs/rlx"
readme = "README.md"
keywords = [
"ml",
"tensor",
"compiler",
"neural-network",
"autodiff",
]
categories = [
"science",
"algorithms",
"compilers",
]
license = "GPL-3.0-only"
repository = "https://github.com/MIT-RLX/rlx"
resolver = "2"
[package.metadata.docs.rs]
default-target = "aarch64-apple-darwin"
targets = [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
all-features = false
[features]
default = []
[lib]
name = "rlx_mlx"
path = "src/lib.rs"
[[test]]
name = "autodiff_conv_parity"
path = "tests/autodiff_conv_parity.rs"
[[test]]
name = "autodiff_fakequant_parity"
path = "tests/autodiff_fakequant_parity.rs"
[[test]]
name = "autodiff_parity"
path = "tests/autodiff_parity.rs"
[[test]]
name = "autodiff_pool_parity"
path = "tests/autodiff_pool_parity.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "batched_lu_solve"
path = "tests/batched_lu_solve.rs"
[[test]]
name = "conv_compile_mode_repro"
path = "tests/conv_compile_mode_repro.rs"
[[test]]
name = "dense_solve"
path = "tests/dense_solve.rs"
[dependencies.rlx-gguf]
version = "0.2.0"
[dependencies.rlx-ir]
version = "0.2.0"
[dependencies.rlx-mlx-sys]
version = "0.2.0"
[dependencies.rlx-opt]
version = "0.2.0"
[target.'cfg(target_os = "macos")'.dependencies.half]
version = "2"
[target.'cfg(target_os = "macos")'.dependencies.rlx-cpu]
version = "0.2.0"
features = [
"blas",
"splat",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.serde]
version = "1"
features = ["derive"]
[target.'cfg(target_os = "macos")'.dependencies.serde_json]
version = "1"
[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