sapient-backends-cpu 0.3.1

Pure-Rust CPU execution backend for the SAPIENT inference engine
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 = "2021"
rust-version = "1.82"
name = "sapient-backends-cpu"
version = "0.3.1"
authors = ["SAPIENT Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust CPU execution backend for the SAPIENT inference engine"
readme = false
license = "GPL-3.0-only"
repository = "https://github.com/SkidGod4444/sapient"

[features]
accelerate = [
    "dep:blas-src",
    "dep:cblas-sys",
]
default = []

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

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

[dependencies.blas-src]
version = "0.10"
features = ["accelerate"]
optional = true

[dependencies.cblas-sys]
version = "0.1"
optional = true

[dependencies.half]
version = "2.3"
features = [
    "serde",
    "bytemuck",
]

[dependencies.matrixmultiply]
version = "0.3"

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

[dependencies.parking_lot]
version = "0.12"

[dependencies.rayon]
version = "1.8"

[dependencies.sapient-core]
version = "0.3.1"

[dependencies.sapient-ir]
version = "0.3.1"

[dependencies.thiserror]
version = "1.0"

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1.4"

[target.'cfg(target_os = "macos")'.dependencies.blas-src]
version = "0.10"
features = ["accelerate"]
optional = true