Skip to content

fix(sysinfo): raise on EP-not-available-on-system#686

Merged
xieofxie merged 5 commits into
mainfrom
hualxie/fail_on_invalid_comb
May 21, 2026
Merged

fix(sysinfo): raise on EP-not-available-on-system#686
xieofxie merged 5 commits into
mainfrom
hualxie/fail_on_invalid_comb

Conversation

@xieofxie
Copy link
Copy Markdown
Contributor

@xieofxie xieofxie commented May 20, 2026

Summary

  • resolve_device raises when the requested EP is known but not actually present on the current system (e.g. --ep vitisai on a non-Vitis machine), replacing the previous silent warn-and-fall-back-to-CPU behavior that produced unusable configs.
  • Updated/added unit tests in tests/unit/sysinfo/test_device.py to cover the new raise paths.

This follows how we raise when no ep found for a device, it fixes when the device is auto. i.e. now if device = auto and ep = a not supported one, we will raise

Closes #634

@xieofxie xieofxie requested a review from a team as a code owner May 20, 2026 09:26
@xieofxie xieofxie changed the title fix(sysinfo): raise on unsupported EP and EP-not-available-on-system fix(sysinfo): raise on EP-not-available-on-system May 20, 2026
@xieofxie xieofxie merged commit da232f5 into main May 21, 2026
9 checks passed
@xieofxie xieofxie deleted the hualxie/fail_on_invalid_comb branch May 21, 2026 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature: fail for invalid combination of ep + device in perf

2 participants