CI / Format Check (push) Failing after 12s
CI / Build CPU-Only (Explicit) (push) Failing after 1m46s
CI / WASM Build + Size Check (push) Has been skipped
CI / Distributed Training Tests (push) Has been skipped
Documentation / Build API Documentation (push) Failing after 1m35s
CI / CI Success (push) Failing after 0s
CI / Build (macos-latest) (push) Failing after 1m12s
CI / Clippy Check (push) Failing after 1m11s
Documentation / Build User Guide (push) Successful in 16s
CI / Build (ubuntu-latest) (push) Failing after 1m48s
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
Performance Benchmarks / Run Benchmarks (push) Successful in 4m28s
demos/{rtx-mre,rtx-bioheat,rtx-hemodynamics} defaulted to [cpu, openblas, metal],
which broke cargo build --workspace on BOTH platforms:
- openblas: no system lib on macOS + buggy on arm64 (sgemm returns zeros, per rtx-tensor note)
- metal: objc2 deps are macOS-only, so enabling it on Linux fails to resolve
Default to cpu only; openblas/metal/accelerate remain opt-in per platform.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
48 lines
1.5 KiB
TOML
48 lines
1.5 KiB
TOML
[package]
|
|
name = "rtx-hemodynamics"
|
|
version = "1.0.0"
|
|
edition = "2024"
|
|
rust-version = "1.92"
|
|
description = "GPU-accelerated Physics-Informed Neural Network for hemodynamics simulation"
|
|
authors = ["RustyTorch Team"]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rustytorch/rustytorch"
|
|
keywords = ["pinn", "hemodynamics", "navier-stokes", "cfd", "medical"]
|
|
categories = ["science", "simulation", "mathematics"]
|
|
|
|
[dependencies]
|
|
# RustyTorch++ core crates
|
|
rtx-tensor = { path = "../../crates/core/rtx-tensor", default-features = false }
|
|
rtx-autograd = { path = "../../crates/core/rtx-autograd" }
|
|
rtx-nn = { path = "../../crates/core/rtx-nn", default-features = false }
|
|
rtx-losses = { path = "../../crates/core/rtx-losses" }
|
|
rtx-runtime = { path = "../../crates/core/rtx-runtime", optional = true }
|
|
|
|
# Shared types for IPC
|
|
rtx-hemodynamics-shared = { path = "../shared" }
|
|
|
|
# External dependencies
|
|
anyhow = "1.0"
|
|
thiserror = "2"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
cudarc = { version = "0.18.1", optional = true }
|
|
|
|
[dev-dependencies]
|
|
# Testing
|
|
proptest = "1.4"
|
|
approx = "0.5"
|
|
criterion = { version = "0.5", features = ["html_reports"] }
|
|
tempfile = "3.0"
|
|
|
|
[features]
|
|
default = ["cpu"] # openblas/metal are opt-in: openblas breaks arm64 macOS (sgemm zeros) + needs system lib; metal is macOS-only and breaks Linux
|
|
cuda = ["rtx-tensor/cuda", "rtx-nn/cuda", "rtx-runtime", "cudarc"]
|
|
metal = ["rtx-tensor/metal", "rtx-nn/metal"]
|
|
cpu = ["rtx-tensor/cpu"]
|
|
openblas = ["rtx-tensor/openblas"]
|
|
mkl = ["rtx-tensor/mkl"]
|
|
|
|
[lints]
|
|
workspace = true
|