[package]
name = "rie-train-v10"
version = "1.0.0"
edition = "2024"
publish = false

[lints.clippy]
unwrap_used = "deny"
expect_used = "deny"
undocumented_unsafe_blocks = "deny"

[[bin]]
name = "rie-train-v10"
path = "main.rs"

[features]
default = []
metal = [
  "candle-core/metal",
  "candle-core/accelerate",
]
candle-cuda = [
  "candle-core/cuda",
]

[dependencies]
burn = { version = "=0.22.1", default-features = false, features = ["std", "flex"] }
candle-core = "0.11.0"
candle-nn = "0.11.0"
rand = "0.9.5"
rand_chacha = "0.9.0"
safetensors = "0.8.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokenizers = { version = "0.23.2", default-features = false, features = ["fancy-regex"] }
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.23", features = ["fmt", "json"] }
