tabicl-model 2.1.1

TabICL transformer model — column embedding, row interaction, ICL learning, KV cache.
# 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 = "tabicl-model"
version = "2.1.1"
authors = [
    "TabICL authors",
    "tabicl-rs port",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TabICL transformer model — column embedding, row interaction, ICL learning, KV cache."
readme = false
license = "BSD-3-Clause"
repository = "https://github.com/eugenehp/tabicl-rs"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
cuda = ["rlx-runtime/cuda"]
default = []
gpu = ["rlx-runtime/gpu"]
metal = ["rlx-runtime/metal"]
mlx = ["rlx-runtime/mlx"]

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

[[test]]
name = "depth_bisection"
path = "tests/depth_bisection.rs"

[[test]]
name = "full_config_small_parity"
path = "tests/full_config_small_parity.rs"

[[test]]
name = "hf_checkpoint_parity"
path = "tests/hf_checkpoint_parity.rs"

[[test]]
name = "icl_ssmax_parity"
path = "tests/icl_ssmax_parity.rs"

[[test]]
name = "in_linear_parity"
path = "tests/in_linear_parity.rs"

[[test]]
name = "inference_manager_parity"
path = "tests/inference_manager_parity.rs"

[[test]]
name = "intermediate_col_parity"
path = "tests/intermediate_col_parity.rs"

[[test]]
name = "intermediate_icl_parity"
path = "tests/intermediate_icl_parity.rs"

[[test]]
name = "intermediate_row_parity"
path = "tests/intermediate_row_parity.rs"

[[test]]
name = "multi_backend_parity"
path = "tests/multi_backend_parity.rs"

[[test]]
name = "production_depth_random"
path = "tests/production_depth_random.rs"

[[test]]
name = "python_checkpoint_parity"
path = "tests/python_checkpoint_parity.rs"

[[test]]
name = "python_checkpoint_parity_default"
path = "tests/python_checkpoint_parity_default.rs"

[[test]]
name = "python_checkpoint_parity_regression"
path = "tests/python_checkpoint_parity_regression.rs"

[[test]]
name = "python_checkpoint_parity_ssmax"
path = "tests/python_checkpoint_parity_ssmax.rs"

[[test]]
name = "python_gradient_parity"
path = "tests/python_gradient_parity.rs"

[[test]]
name = "python_parity"
path = "tests/python_parity.rs"

[[test]]
name = "state_dict_roundtrip"
path = "tests/state_dict_roundtrip.rs"

[[bench]]
name = "backends"
path = "benches/backends.rs"
harness = false

[dependencies.anyhow]
version = "1"

[dependencies.half]
version = "2"

[dependencies.ndarray]
version = "0.16"

[dependencies.num-traits]
version = "0.2"

[dependencies.postcard]
version = "1"
features = ["alloc"]

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

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

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

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

[dependencies.safetensors]
version = "0.7"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.smallvec]
version = "1"
features = ["serde"]

[dependencies.tabicl-quantile]
version = "2.1.1"

[dependencies.thiserror]
version = "1"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.approx]
version = "0.5"

[lints.clippy]
doc_lazy_continuation = "allow"
doc_overindented_list_items = "allow"
excessive_precision = "allow"
field_reassign_with_default = "allow"
too_many_arguments = "allow"