[package]
edition = "2024"
name = "cubecl-server"
version = "0.11.0-pre.4"
authors = [
"louisfd <louisfd94@gmail.com>",
"Nathaniel Simard",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Toolkit for implementing a CubeCL runtime: memory pools, streams, drivers and the compilation pipeline."
readme = "README.md"
keywords = [
"deep-learning",
"machine-learning",
"data",
]
categories = ["science"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tracel-ai/cubecl/tree/main/crates/cubecl-server"
resolver = "2"
[features]
autotune-checks = ["cubecl-runtime/autotune-checks"]
default = [
"std",
"storage-bytes",
"persistence",
"cubecl-runtime/default",
]
exclusive-memory-only = ["cubecl-runtime/exclusive-memory-only"]
persistence = [
"std",
"cubecl-runtime/persistence",
]
profile-tracy = [
"cubecl-runtime/profile-tracy",
"dep:tracy-client",
]
std = [
"cubecl-runtime/std",
"cubecl-common/std",
"cubecl-environment/std",
"thiserror/std",
]
storage-bytes = []
tokio = ["cubecl-runtime/tokio"]
tracing = [
"dep:tracing",
"cubecl-runtime/tracing",
"cubecl-common/tracing",
"cubecl-ir/tracing",
]
[lib]
name = "cubecl_server"
path = "src/lib.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "memory_pools_config"
path = "tests/memory_pools_config.rs"
[[test]]
name = "precompiled"
path = "tests/precompiled.rs"
[[test]]
name = "taint_property"
path = "tests/taint_property.rs"
[[bench]]
name = "dynamic"
path = "benches/dynamic.rs"
harness = false
[[bench]]
name = "write_scope"
path = "benches/write_scope.rs"
harness = false
[dependencies.buildid]
version = "1.0.5"
[dependencies.bytemuck]
version = "1.16.1"
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.cubecl-common]
version = "=0.11.0-pre.4"
features = [
"serde",
"hash",
]
default-features = false
[dependencies.cubecl-environment]
version = "=0.11.0-pre.4"
default-features = false
[dependencies.cubecl-ir]
version = "=0.11.0-pre.4"
features = ["serde"]
default-features = false
[dependencies.cubecl-runtime]
version = "=0.11.0-pre.4"
default-features = false
[dependencies.cubecl-zspace]
version = "=0.11.0-pre.4"
default-features = false
[dependencies.derive-new]
version = "0.7.0"
default-features = false
[dependencies.derive_more]
version = "2"
features = [
"not",
"add",
"mul",
"add_assign",
"mul_assign",
"display",
"debug",
"from",
"into",
"eq",
]
default-features = false
[dependencies.foldhash]
version = "0.2"
default-features = false
[dependencies.futures-util]
version = "0.3.32"
features = ["alloc"]
default-features = false
[dependencies.hashbrown]
version = "0.17"
[dependencies.itertools]
version = "0.15"
features = ["use_alloc"]
default-features = false
[dependencies.log]
version = "^0.4.22"
default-features = false
[dependencies.pliron]
version = "0.18"
default-features = false
[dependencies.serde]
version = "1.0.204"
features = [
"derive",
"alloc",
"derive",
]
default-features = false
[dependencies.smallvec]
version = "1"
features = [
"union",
"const_generics",
"const_new",
]
[dependencies.thiserror]
version = "2"
default-features = false
[dependencies.tracing]
version = "^0.1.43"
features = ["attributes"]
optional = true
default-features = false
[dev-dependencies.rand]
version = "0.10.0"
features = [
"std_rng",
"thread_rng",
]
default-features = false
[dev-dependencies.serde_json]
version = "1.0.119"
features = ["std"]
default-features = false
[dev-dependencies.serial_test]
version = "4"
[dev-dependencies.tempfile]
version = "3.20"
[dev-dependencies.test-log]
version = "^0.2"
features = ["trace"]
default-features = false
[build-dependencies.cfg_aliases]
version = "0.2.2"
[target.'cfg(any(target_os = "windows", target_os = "linux", target_os = "macos", target_os = "android"))'.dependencies.cubecl-environment]
version = "=0.11.0-pre.4"
default-features = false
[target.'cfg(any(target_os = "windows", target_os = "linux", target_os = "macos", target_os = "android"))'.dependencies.serde_json]
version = "1.0.119"
features = ["std"]
default-features = false
[target.'cfg(any(target_os = "windows", target_os = "linux", target_os = "macos", target_os = "android"))'.dependencies.tracy-client]
version = "0.18.0"
optional = true
[lints.clippy]
doc_markdown = "warn"
[lints.rust]
warnings = "warn"
[lints.rustdoc]
broken_intra_doc_links = "warn"
invalid_html_tags = "warn"