CI / Format Check (push) Failing after 14s
CI / Build (ubuntu-latest) (push) Failing after 1m17s
CI / Clippy Check (push) Failing after 1m29s
Documentation / Build User Guide (push) Successful in 10s
CI / Build CPU-Only (Explicit) (push) Failing after 1m33s
Documentation / Build API Documentation (push) Failing after 45s
Performance Benchmarks / Run Benchmarks (push) Successful in 2m21s
CI / Build (macos-latest) (push) Failing after 58s
CI / Test (macos-latest) (push) Has been skipped
CI / Test (ubuntu-latest) (push) Has been skipped
CI / Python Bindings (maturin) (macos-latest) (push) Has been skipped
CI / Python Bindings (maturin) (ubuntu-latest) (push) Has been skipped
CI / WASM Build + Size Check (push) Has been skipped
CI / Distributed Training Tests (push) Has been skipped
CI / CI Success (push) Failing after 0s
fixed 1.31.0 bumped its MSRV to rustc 1.93 (uses unstable unchecked_shifts), breaking CI which pins nightly-2025-10-25 (rustc 1.92). Cap the transitive dep (pulled via rerun/kiddo) to the last 1.92-compatible release. Co-Authored-By: Claude Opus 4.8 <[email protected]>
150 lines
4.2 KiB
TOML
150 lines
4.2 KiB
TOML
[package]
|
|
name = "rtx-vision-advanced"
|
|
version = "1.0.0"
|
|
edition.workspace = true
|
|
rust-version = "1.92"
|
|
authors = ["RustyTorch++ Team"]
|
|
license = "Apache-2.0"
|
|
description = "State-of-the-art computer vision capabilities with medical imaging, autonomous vehicle support, and production-ready deployment"
|
|
repository = "https://github.com/rustytorch/rustytorch"
|
|
|
|
[dependencies]
|
|
# Core RTX dependencies
|
|
rtx-tensor = { path = "../../core/rtx-tensor" }
|
|
rtx-autograd = { path = "../../core/rtx-autograd" }
|
|
rtx-transformers = { path = "../../training/rtx-transformers" }
|
|
rtx-flash-attention = { path = "../../training/rtx-flash-attention" }
|
|
rtx-vision = { path = "../rtx-vision" }
|
|
rtx-memory = { path = "../../core/rtx-memory" }
|
|
rtx-inference = { path = "../../production/rtx-inference" }
|
|
|
|
# Core utilities
|
|
anyhow = "1.0"
|
|
thiserror = "2"
|
|
tracing = "0.1"
|
|
log = "0.4"
|
|
|
|
# Image processing and computer vision
|
|
image = "0.24"
|
|
imageproc = "0.23"
|
|
opencv = { version = "0.84", optional = true }
|
|
rerun = { version = "0.16", optional = true }
|
|
# Transitive-dependency version cap: rerun/kiddo pull `fixed`, whose 1.31.0 bumped its
|
|
# MSRV to rustc 1.93 (uses unstable `unchecked_shifts`). This workspace pins
|
|
# nightly-2025-10-25 (rustc 1.92), so cap `fixed` at the last 1.92-compatible release.
|
|
fixed = "=1.30.0"
|
|
|
|
# Medical imaging
|
|
dicom = { version = "0.6", optional = true }
|
|
dicom-object = { version = "0.6", optional = true }
|
|
|
|
# Point cloud processing for autonomous vehicles
|
|
pcd-rs = { version = "0.1", optional = true }
|
|
las = { version = "0.7", optional = true }
|
|
nalgebra.workspace = true
|
|
nalgebra-glm = "0.18"
|
|
|
|
# Advanced numeric computing
|
|
ndarray = "0.15"
|
|
ndarray-stats = "0.5"
|
|
ndarray-linalg = { version = "0.16", optional = true }
|
|
num-traits = "0.2"
|
|
half = "2.3"
|
|
rand = "0.8"
|
|
rand_distr = "0.4"
|
|
|
|
# Machine learning utilities
|
|
# candle-core = { version = "0.3", optional = true } # Disabled - incompatible with Rust 2024
|
|
# candle-nn = { version = "0.3", optional = true } # Disabled - incompatible with Rust 2024
|
|
ort = { workspace = true, optional = true }
|
|
# tch = { version = "0.13", optional = true } # Removed: PyTorch dependency
|
|
|
|
# Serialization and I/O
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
bincode = "1.3"
|
|
hdf5 = { version = "0.8", optional = true }
|
|
# npy removed - was unused and brought in outdated nom 3.2.1
|
|
# Use npyz or ndarray-npy if .npy file support needed
|
|
|
|
# Concurrency and async
|
|
tokio = { version = "1.35", features = ["full"] }
|
|
rayon = "1.8"
|
|
crossbeam = "0.8"
|
|
parking_lot = "0.12"
|
|
|
|
# GPU computing and optimization - using workspace cudarc 0.18.1
|
|
cudarc = { workspace = true, optional = true }
|
|
wgpu = { version = "0.19", optional = true }
|
|
metal = { version = "0.27", optional = true }
|
|
|
|
# Network models and pre-trained weights
|
|
safetensors = "0.4"
|
|
memmap2 = "0.9"
|
|
reqwest = { version = "0.11", features = ["json", "stream"] }
|
|
futures = "0.3"
|
|
|
|
# Evaluation and benchmarking
|
|
criterion = { version = "0.5", optional = true }
|
|
indicatif = "0.17"
|
|
console = "0.15"
|
|
|
|
# Geometric and mathematical operations
|
|
geo = { version = "0.26", optional = true }
|
|
rstar = { version = "0.10", optional = true }
|
|
kiddo = { version = "4.0", optional = true }
|
|
|
|
[dev-dependencies]
|
|
# Testing framework
|
|
proptest = "1.4"
|
|
criterion = "0.5"
|
|
approx = "0.5"
|
|
tempfile = "3.8"
|
|
tokio-test = "0.4"
|
|
|
|
# Benchmarking
|
|
divan = "0.1"
|
|
|
|
[features]
|
|
default = []
|
|
gpu = ["cudarc", "wgpu"]
|
|
cuda = ["cudarc"]
|
|
metal = ["dep:metal"]
|
|
opencv = ["dep:opencv"]
|
|
autonomous = ["pcd-rs", "las", "geo", "rstar", "kiddo"]
|
|
onnx = ["ort"]
|
|
linalg = ["ndarray-linalg"] # BLAS-dependent linear algebra (requires system BLAS)
|
|
# pytorch = ["tch"] # Removed: PyTorch feature no longer available
|
|
# candle = ["candle-core", "candle-nn"] # Disabled - incompatible with Rust 2024
|
|
visualization = ["rerun"]
|
|
benchmarks = ["criterion"]
|
|
|
|
[lib]
|
|
name = "rtx_vision_advanced"
|
|
path = "src/lib.rs"
|
|
|
|
[[bench]]
|
|
name = "detection_bench"
|
|
harness = false
|
|
required-features = ["benchmarks"]
|
|
|
|
[[bench]]
|
|
name = "segmentation_bench"
|
|
harness = false
|
|
required-features = ["benchmarks"]
|
|
|
|
[[bench]]
|
|
name = "medical_bench"
|
|
harness = false
|
|
required-features = ["benchmarks", "medical"]
|
|
|
|
[[bench]]
|
|
name = "autonomous_bench"
|
|
harness = false
|
|
required-features = ["benchmarks", "autonomous"]
|
|
|
|
|
|
|
|
[lints]
|
|
workspace = true
|