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

Optionally use hipblaslt #120551

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

trixirt
Copy link

@trixirt trixirt commented Feb 24, 2024

The hipblaslt package is not available on Fedora.
Instead of requiring the package, make it optional. If it is found, define the preprocessor variable HIPBLASLT Convert the checks for ROCM_VERSION >= 507000 to HIPBLASLT checks

Fixes #119081

Copy link

pytorch-bot bot commented Feb 24, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/120551

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 8edc7b9 with merge base bab4b5a (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@janeyx99 janeyx99 added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Feb 28, 2024
@jeffdaily
Copy link
Collaborator

@xw285cornell would appreciate your review of this. I'm assuming this PR will break your internal build?

The hipblaslt package is not available on Fedora.
Instead of requiring the package, make it optional.
If it is found, define the preprocessor variable HIPBLASLT
Convert the checks for ROCM_VERSION >= 507000 to HIPBLASLT checks

Signed-off-by: Tom Rix <trix@redhat.com>
@trixirt
Copy link
Author

trixirt commented Mar 2, 2024

Update for a couple more hipblaslt usages that were added in main this week.

@FelixSchwarz
Copy link

This PR looks pretty straight forward and using a variable instead of "magic" version numbers seem to be much cleaner. It would be nice if this PR wouldn't linger around much longer.

@jeffdaily
Copy link
Collaborator

@trixirt I am in favor of this PR. My apologies for adding yet more exposure to hipblaslt APIs that you need to work around again. Please resolve conflicts likely due to #122106.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/rocm open source triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ROCm loses some supported GPUs by requiring hipblaslt
5 participants