-
Notifications
You must be signed in to change notification settings - Fork 37
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
Switch eval and llama tests to use the default hip device. #725
Merged
Merged
Changes from 2 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
99f957e
Switch eval and llama tests to use the default hip device.
ScottTodd 19f44a0
Switch tests using `benchmark_amdgpu_test.py` to device index 0.
ScottTodd 6fcf24b
Merge remote-tracking branch 'upstream/main' into ci-hip-devices
ScottTodd d2ff724
Omit `://0` from hip device ids when only one is used.
ScottTodd ea4f416
Merge branch 'main' into ci-hip-devices
ScottTodd 0d5e61c
Revert "Omit `://0` from hip device ids when only one is used."
ScottTodd b09a7af
Use `hip://0` consistently instead of just `hip`.
ScottTodd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we also use
--iree-device=hip
here. let's not specify any index in the workflow filesThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, updated both locations. I think that will still work but I don't remember if I tried and it failed before.
Here are the other places still using index 0, which I think are okay:
![image](https://private-user-images.githubusercontent.com/4010439/399831919-da4cb7f9-ae23-43fd-bb8e-0f35d0d39679.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NTQzNDMsIm5iZiI6MTczOTQ1NDA0MywicGF0aCI6Ii80MDEwNDM5LzM5OTgzMTkxOS1kYTRjYjdmOS1hZTIzLTQzZmQtYmI4ZS0wZjM1ZDBkMzk2NzkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTNUMTM0MDQzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjA2NThlNGU3NjdmNGY4MDIzNDM2OWQyNmJkZTgxYzYxNmM5ZDI4YmUxZWE4ZmY5NDQ1M2VkMzZiMmVlZGZhNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.64tSqt7wO6-U7iPuoOMVF_ks8elYgIraK9JaHTDMc7U)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems okay to me, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/nod-ai/shark-ai/actions/runs/12590318387/job/35091620891#step:6:121
Ah. That's why I didn't change this:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Switched all workflows to use
hip://0
for now.