You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: require explicit device + ep in resolve_device; fix all callers
resolve_device(device, *, ep) now takes both device and ep as required args, so
an omission is a call error instead of a silent ep=None / device="auto". Several
callers still relied on the old defaults (latent TypeErrors) — pass ep=None
explicitly where no EP filter is intended:
- analyzer: auto-device resolution for rule-file selection
- build: the ep-is-None auto-EP resolution
- eval: device resolution
- compile stage: device resolution (EP comes from ep_config)
- test_device.py: resolve_device call sites
Also keeps the build command forwarding --ep to generate_build_config, and drops
the compile-availability gate / optimize-stage tweak from earlier on this branch
— requiring explicit device+ep is the cleaner, centralized enforcement.
0 commit comments