214 lines
5.5 KiB
TOML
214 lines
5.5 KiB
TOML
[package]
|
|
name = "rustytorch-integration-tests"
|
|
version = "1.0.0"
|
|
edition = "2024"
|
|
rust-version = "1.92"
|
|
authors = ["RustyTorch++ Team"]
|
|
license = "MIT OR Apache-2.0"
|
|
description = "Comprehensive end-to-end integration tests for RustyTorch++ platform"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
# Core RTX dependencies for full platform testing
|
|
rtx-tensor = { workspace = true }
|
|
rtx-runtime = { workspace = true }
|
|
rtx-autograd = { workspace = true }
|
|
rtx-memory = { workspace = true }
|
|
rtx-kernel = { workspace = true }
|
|
rtx-graph = { workspace = true }
|
|
rtx-validation = { workspace = true }
|
|
rtx-losses = { workspace = true }
|
|
rtx-tokenization = { workspace = true }
|
|
|
|
# Training and model dependencies
|
|
rtx-transformers = { workspace = true }
|
|
rtx-distributed = { workspace = true }
|
|
rtx-compress = { workspace = true }
|
|
rtx-flash-attention = { workspace = true }
|
|
rtx-preprocessing = { workspace = true }
|
|
rtx-auto = { workspace = true }
|
|
rtx-evolution = { workspace = true }
|
|
rtx-federated = { workspace = true }
|
|
|
|
# Model architecture dependencies
|
|
rtx-vision = { workspace = true }
|
|
rtx-multimodal = { workspace = true }
|
|
# rtx-nlg = { workspace = true } # Disabled - candle incompatible with Rust 2024
|
|
rtx-llm-tools = { workspace = true }
|
|
|
|
# Production serving dependencies
|
|
rtx-serving-api = { workspace = true }
|
|
rtx-inference = { workspace = true }
|
|
rtx-streaming = { workspace = true }
|
|
rtx-config = { workspace = true }
|
|
rtx-monitoring = { workspace = true }
|
|
rtx-hub = { workspace = true }
|
|
|
|
# Data management dependencies
|
|
rtx-feature-store = { workspace = true }
|
|
rtx-data-validation = { workspace = true }
|
|
rtx-etl = { workspace = true }
|
|
|
|
# Specialized computing
|
|
rtx-science = { workspace = true }
|
|
|
|
# Evaluation and benchmarking
|
|
rtx-eval = { workspace = true }
|
|
rtx-bench = { workspace = true }
|
|
|
|
# Essential testing infrastructure
|
|
anyhow = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tokio = { workspace = true }
|
|
|
|
# Async and futures
|
|
futures = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
|
|
# Testing frameworks
|
|
proptest = { workspace = true }
|
|
criterion = { workspace = true }
|
|
tokio-test = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
|
|
# Math and scientific computing
|
|
nalgebra = { workspace = true }
|
|
rand = { workspace = true }
|
|
approx = "0.5"
|
|
|
|
# Time and timing
|
|
chrono = { workspace = true }
|
|
statistical = { workspace = true }
|
|
|
|
# HTTP client for API testing
|
|
reqwest = { workspace = true }
|
|
axum-test = "14.0"
|
|
|
|
# File and IO utilities
|
|
walkdir = { workspace = true }
|
|
memmap2 = "0.9"
|
|
|
|
# Container and deployment testing
|
|
# Note: Container integration testing dependencies are optional
|
|
# testcontainers = "0.15"
|
|
# bollard = "0.14"
|
|
|
|
# Database testing
|
|
sqlx = { workspace = true }
|
|
redis = { workspace = true }
|
|
|
|
# Monitoring and metrics
|
|
prometheus = "0.13"
|
|
sysinfo = { workspace = true }
|
|
|
|
# GPU monitoring - using nvml-wrapper as it's more maintained
|
|
nvml-wrapper = { version = "0.9", optional = true, features = ["legacy-functions"] }
|
|
|
|
# Network utilities for distributed testing
|
|
local-ip-address = "0.5"
|
|
portpicker = "0.1"
|
|
|
|
# Configuration
|
|
toml = { workspace = true }
|
|
config = { workspace = true }
|
|
|
|
# UUID and hashing for test data
|
|
uuid = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
|
|
# Concurrent collections
|
|
dashmap = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
|
|
# System monitoring
|
|
psutil = { workspace = true }
|
|
hdrhistogram = { workspace = true }
|
|
|
|
# Image processing for vision tests
|
|
image = { workspace = true }
|
|
|
|
# Audio processing for multimodal tests
|
|
symphonia = { workspace = true }
|
|
|
|
# Compression for data tests
|
|
zstd = "0.13"
|
|
|
|
# JSON schema validation
|
|
jsonschema = { workspace = true }
|
|
|
|
[features]
|
|
default = ["full-integration", "integration-tests"]
|
|
cuda = ["nvml-wrapper", "rtx-tensor/cuda"]
|
|
rocm = []
|
|
metal = []
|
|
full-integration = [] # Enable all integration test categories
|
|
production-only = [] # Only production deployment tests
|
|
performance-only = [] # Only performance tests
|
|
security-only = [] # Only security tests
|
|
integration-tests = [] # Enable test modules
|
|
|
|
[lib]
|
|
name = "rustytorch_integration_tests"
|
|
path = "src/lib.rs"
|
|
|
|
# Individual test binaries for different categories
|
|
# All require integration-tests feature as they depend on test modules
|
|
[[bin]]
|
|
name = "ml_pipeline_tests"
|
|
path = "src/bin/ml_pipeline_tests.rs"
|
|
required-features = ["integration-tests"]
|
|
|
|
[[bin]]
|
|
name = "cross_component_tests"
|
|
path = "src/bin/cross_component_tests.rs"
|
|
required-features = ["integration-tests"]
|
|
|
|
[[bin]]
|
|
name = "production_deployment_tests"
|
|
path = "src/bin/production_deployment_tests.rs"
|
|
required-features = ["integration-tests"]
|
|
|
|
[[bin]]
|
|
name = "performance_integration_tests"
|
|
path = "src/bin/performance_integration_tests.rs"
|
|
required-features = ["integration-tests"]
|
|
|
|
[[bin]]
|
|
name = "real_world_validation_tests"
|
|
path = "src/bin/real_world_validation_tests.rs"
|
|
required-features = ["integration-tests"]
|
|
|
|
[[bin]]
|
|
name = "multi_tenant_tests"
|
|
path = "src/bin/multi_tenant_tests.rs"
|
|
required-features = ["integration-tests"]
|
|
|
|
[[bin]]
|
|
name = "disaster_recovery_tests"
|
|
path = "src/bin/disaster_recovery_tests.rs"
|
|
required-features = ["integration-tests"]
|
|
|
|
[[bin]]
|
|
name = "security_integration_tests"
|
|
path = "src/bin/security_integration_tests.rs"
|
|
required-features = ["integration-tests"]
|
|
|
|
# Benchmarks for performance validation
|
|
[[bench]]
|
|
name = "end_to_end_latency"
|
|
harness = false
|
|
required-features = ["integration-tests"]
|
|
|
|
[[bench]]
|
|
name = "throughput_scaling"
|
|
harness = false
|
|
required-features = ["integration-tests"]
|
|
|
|
[[bench]]
|
|
name = "memory_utilization"
|
|
harness = false
|
|
required-features = ["integration-tests"] |