Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[alt] remove default iree-compile extra args from onnx-iree mode #356

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

zjgarvey
Copy link
Contributor

Always using iree-input-demote-i64-to-i32 was causing numerics problems since it wasn't loading i64 inputs correctly. Additionally the flags for specifying the chip for hip is out of date, and should be removed. Users should specify -ica "iree-hip-target=gfx942" "other-arg" "other-arg" ... if compiling for Mi300.

alt_e2eshark/e2e_testing/backends.py Outdated Show resolved Hide resolved
alt_e2eshark/e2e_testing/backends.py Outdated Show resolved Hide resolved
@zjgarvey
Copy link
Contributor Author

zjgarvey commented Oct 4, 2024

@ScottTodd Should I revert the change to the cl config to use --iree-hal-target-backends instead of --iree-hal-target-device?

@ScottTodd
Copy link
Member

@ScottTodd Should I revert the change to the cl config to use --iree-hal-target-backends instead of --iree-hal-target-device?

That's probably safer for now. Since the new flag hasn't been fully adopted in the IREE repo and doesn't have much mileage on it, it may be buggy. That's going to be easier to reason about upstream first, and that sort of flag change can also be made independently from the rest of the cleanup here.

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.

2 participants