fix: skip ROCm EP registration when not available in ORT build
Some checks failed
release / build (push) Failing after 3s

Eliminates the spurious ERROR log from ORT when ROCm isn't compiled in.
Checks is_available() before attempting registration so the session
correctly falls back to CPU without noise.
This commit is contained in:
Breadway 2026-06-07 15:53:06 +08:00
parent 708eb8f3b4
commit 478d06a5d5
3 changed files with 16 additions and 10 deletions

View file

@ -8,7 +8,7 @@ members = [
resolver = "2"
[workspace.package]
version = "0.1.0"
version = "0.2.0"
edition = "2021"
license = "MIT"
authors = ["Breadway"]