-
Notifications
You must be signed in to change notification settings - Fork 67
[rocm7.0_internal_testing] fix enabling sparse tests fp16/bf16 for rocm7.0/7.1 #2239
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
base: rocm7.0_internal_testing
Are you sure you want to change the base?
[rocm7.0_internal_testing] fix enabling sparse tests fp16/bf16 for rocm7.0/7.1 #2239
Conversation
429e404
to
065ce05
Compare
065ce05
to
a7d0ac5
Compare
a7d0ac5
to
c5ca23a
Compare
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.
Please address comments and test with ROCm7.0 mainline builds. We can refine the ROCm6.3/6.4 conditions in a follow-up PR , if needed
c5ca23a
to
3ffc57b
Compare
Jenkins build for 3ffc57bf5a5a60fcde0312bdff062ee156c07d9d commit finished as FAILURE |
3ffc57b
to
5b40cac
Compare
Jenkins build for 96c8fddcca90df3c6530b607a591ffced37cad7c commit finished as FAILURE |
fix enabling sparse tests fp16/bf16 for rocm7.0/7.1
5b40cac
to
96c8fdd
Compare
Jenkins build for 96c8fddcca90df3c6530b607a591ffced37cad7c commit finished as FAILURE |
Jenkins build for 96c8fddcca90df3c6530b607a591ffced37cad7c commit finished as FAILURE |
@@ -68,6 +68,12 @@ def _op_supports_any_sparse(op): | |||
) or (not IS_WINDOWS and not TEST_WITH_ROCM) | |||
|
|||
HIPSPARSE_SPMM_COMPLEX128_SUPPORTED = torch.version.hip and version.parse(torch.version.hip.split("-")[0]) >= version.parse("6.0") | |||
HIPSPARSE_FP16_SUPPORTED = torch.version.hip and version.parse(torch.version.hip.split("-")[0]) >= version.parse("7.0") | |||
HIPSPARSE_BF16_SUPPORTED = torch.version.hip and version.parse(torch.version.hip.split("-")[0]) >= version.parse("7.1") |
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.
this is not yet tested, but hipsparse will support this in 7.1
Revamped version of #2108
PR to: