rlx-bench 0.2.13

PLAN L5 — uniform benchmark harness for RLX backends + patterns
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.87"
name = "rlx-bench"
version = "0.2.13"
authors = [
    "Eugene Hauptmann",
    "Nataliya Kosmyna",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PLAN L5 — uniform benchmark harness for RLX backends + patterns"
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"

[features]
accelerate = ["rlx-runtime/blas-accelerate"]
coreml = ["rlx-runtime/coreml"]
cuda = ["rlx-runtime/cuda"]
default = []
gpu = ["rlx-runtime/gpu"]
metal = ["rlx-runtime/metal"]
mlx = [
    "rlx-runtime/mlx",
    "dep:rlx-mlx",
]
mlx-cuda = [
    "mlx",
    "rlx-mlx/cuda",
]
native-gpu-fft = ["rlx-runtime/native-gpu-fft"]
rocm = ["rlx-runtime/rocm"]
tpu = ["rlx-runtime/tpu"]

[lib]
name = "rlx_bench"
path = "src/lib.rs"

[[example]]
name = "bench_all"
path = "examples/bench_all.rs"

[[example]]
name = "bench_autodiff"
path = "examples/bench_autodiff.rs"

[[example]]
name = "bench_dit_modulation"
path = "examples/bench_dit_modulation.rs"

[[example]]
name = "bench_fft"
path = "examples/bench_fft.rs"

[[example]]
name = "bench_fft_backends"
path = "examples/bench_fft_backends.rs"

[[example]]
name = "bench_fft_cpu_parallel"
path = "examples/bench_fft_cpu_parallel.rs"

[[example]]
name = "bench_fft_cpu_radix4"
path = "examples/bench_fft_cpu_radix4.rs"

[[example]]
name = "bench_fft_fast_ab"
path = "examples/bench_fft_fast_ab.rs"

[[example]]
name = "bench_fft_matrix"
path = "examples/bench_fft_matrix.rs"

[[example]]
name = "bench_fft_real_fusion"
path = "examples/bench_fft_real_fusion.rs"

[[example]]
name = "bench_fft_stft_batch"
path = "examples/bench_fft_stft_batch.rs"

[[example]]
name = "bench_fft_wgpu_multirow"
path = "examples/bench_fft_wgpu_multirow.rs"

[[example]]
name = "bench_fft_wgpu_sweep"
path = "examples/bench_fft_wgpu_sweep.rs"

[[example]]
name = "bench_fk_fusion"
path = "examples/bench_fk_fusion.rs"

[[example]]
name = "bench_gguf_dequant"
path = "examples/bench_gguf_dequant.rs"

[[example]]
name = "bench_higher_order_decompose"
path = "examples/bench_higher_order_decompose.rs"

[[example]]
name = "bench_mlx_devices"
path = "examples/bench_mlx_devices.rs"

[[example]]
name = "bench_mlx_wgpu"
path = "examples/bench_mlx_wgpu.rs"

[[example]]
name = "bench_new_ops"
path = "examples/bench_new_ops.rs"

[[example]]
name = "bench_nth_order"
path = "examples/bench_nth_order.rs"

[dependencies.rlx-cpu]
version = "0.2.13"

[dependencies.rlx-driver]
version = "0.2.13"

[dependencies.rlx-fusion]
version = "0.2.13"

[dependencies.rlx-gguf]
version = "0.2.13"

[dependencies.rlx-ir]
version = "0.2.13"

[dependencies.rlx-mlx]
version = "0.2.13"
optional = true

[dependencies.rlx-opt]
version = "0.2.13"

[dependencies.rlx-runtime]
version = "0.2.13"
features = ["cpu"]

[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