-
Notifications
You must be signed in to change notification settings - Fork 173
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
[Bug]: rocblas_gemm_ex returns rocblas_status_internal_error in specific order #1529
Comments
Hi @et16kr. Internal ticket has been created to investigate your issue. Thanks! |
Hi @et16kr, thanks for reporting the issue. Could you also provide the ROCBLAS_TENSILE_COMMIT_ID (below the ROCBLAS_VERSION_TWEAK) in |
|
@et16kr Thanks for the comment. The solution id changes for each build (even if you use the same commit to build the rocBLAS). Are you running all different examples on the same system using only ONE build? If so, please re-run all cases with TENSILE_DB=0X28000 ./example, and share the log. |
@babakpst Which build are you referring to? We did not build ROCm, rocBLAS, Instead, we used https://repo.radeon.com/amdgpu-install/6.2/ubuntu/jammy/amdgpu-install_6.2.60200-1_all.deb. The example and the program used to obtain the solution_id are separate programs but use the same rocBLAS library. The information you requested is as follows:
|
I did some debugging. Please review the cause and the workaround.
rocBLAS/library/src/tensile_host.cpp Lines 1181 to 1190 in 8f2e0c5
virtual SolutionSet<MySolution> findAllSolutions(MyProblem const& problem,
Hardware const& hardware) const override
{
if(!library)
{
loadPlaceholderLibrary();
}
auto solutions = library->findAllSolutions(problem, hardware);
for(auto& solution : solutions)
{
solution->codeObjectFilename = getCodeObjectFileName(hardware, *solution);
}
return solutions;
}
Workaround Used
+ rocblas_int size = 0;
+ auto dtype = rocblas_datatype_bf16_r;
+ rocblas_gemm_ex_get_solutions_by_type(handle, dtype, dtype, rocblas_datatype_f32_r, rocblas_gemm_flags_none, nullptr, &size);
run_gemm(handle, 685, 4, 1024, 64, 1, false, false);
run_gemm(handle, 621285612, 32, 128, 1024, 1024, false, false);
run_gemm(handle, 621285596, 1, 36864, 4096, 4608, false, false);
|
Describe the bug
To Reproduce
Expected behavior
Log-files
There are no logs.
Environment
Attach
environment.txt
environment.txt
Additional context
rocblas_gemm_ex_get_solutions()
,rocblas_gemm_strided_batched_ex_get_solutions()
, orrocblas_gemm_ex_get_solutions_by_type()
, based on the shortest duration.The text was updated successfully, but these errors were encountered: