hipBLASLt icon indicating copy to clipboard operation
hipBLASLt copied to clipboard

AttributeError: 'NoneType' object has no attribute 'solutions'

Open jinz2014 opened this issue 1 year ago • 4 comments

Please see the details

[...]
# Found  hipcc version 6.0.32830-d62f6a171
Tensile::WARNING: Global parameter AsmDebug = False unrecognised.
# CodeObjectVersion from TensileCreateLibrary: default
# CxxCompiler       from TensileCreateLibrary: hipcc
# Architecture      from TensileCreateLibrary: gfx908:xnack+_gfx908:xnack-
# LibraryFormat     from TensileCreateLibrary: msgpack
# LibraryLogicFiles:
Reading logic files: Launching 32 threads...
Reading logic files: Done. (0.0 secs elapsed)
Traceback (most recent call last):
  File "/usr/local/src/hipBLASLt/build/release/library/../virtualenv/lib/python3.10/site-packages/Tensile/bin/TensileCreateLibrary", line 43, in <module>
    TensileCreateLibrary()
  File "/usr/local/src/hipBLASLt/build/release/virtualenv/lib/python3.10/site-packages/Tensile/TensileCreateLibrary.py", line 60, in wrapper
    res = func(*args, **kwargs)
  File "/usr/local/src/hipBLASLt/build/release/virtualenv/lib/python3.10/site-packages/Tensile/TensileCreateLibrary.py", line 1357, in TensileCreateLibrary
    solutions, masterLibraries, fullMasterLibrary = generateLogicDataAndSolutions(logicFiles, args)
  File "/usr/local/src/hipBLASLt/build/release/virtualenv/lib/python3.10/site-packages/Tensile/TensileCreateLibrary.py", line 60, in wrapper
    res = func(*args, **kwargs)
  File "/usr/local/src/hipBLASLt/build/release/virtualenv/lib/python3.10/site-packages/Tensile/TensileCreateLibrary.py", line 1125, in generateLogicDataAndSolutions
    solutions = [sol.originalSolution for _, sol in fullMasterLibrary.solutions.items()]
AttributeError: 'NoneType' object has no attribute 'solutions'
make[2]: *** [library/CMakeFiles/TENSILE_LIBRARY_TARGET.dir/build.make:74: Tensile/library/TensileManifest.txt] Error 1
make[2]: Leaving directory '/usr/local/src/hipBLASLt/build/release'
make[1]: *** [CMakeFiles/Makefile2:272: library/CMakeFiles/TENSILE_LIBRARY_TARGET.dir/all] Error 2
make[1]: Leaving directory '/usr/local/src/hipBLASLt/build/release'
make: *** [Makefile:166: all] Error 2
+ check_exit_code 2
+ ((  2 != 0  ))
+ exit 2

jinz2014 avatar Feb 07 '24 19:02 jinz2014

MI100 is not supported, pointlessly, as a 3rd party opened a pr that adds support for this architecture (and really the isa differences between gfx908 and gfx90a are tiny anyhow), yet they just dont merge it: https://github.com/ROCm/hipBLASLt/pull/327

IMbackK avatar Mar 22 '24 10:03 IMbackK

Thanks for your answer.

jinz2014 avatar Mar 22 '24 13:03 jinz2014

@jinz2014 Will check with internal team if they will add support for GFX 908 and let you know. Thanks!

ppanchad-amd avatar Jul 15 '24 18:07 ppanchad-amd

uh clearly they are working on it https://github.com/ROCm/hipBLASLt/pull/327 (branch was recently rebased)

IMbackK avatar Jul 15 '24 19:07 IMbackK

@ppanchad-amd Since gfx908 suport has landed in develop you can close this issue

IMbackK avatar Aug 19 '24 10:08 IMbackK

@ppanchad-amd

gfx908 may be added to hardware list below. Thanks.

Requirements To install hipBLASLt, you must meet the following requirements:

Required hardware:

gfx90a card gfx94x card gfx110x card

jinz2014 avatar Aug 19 '24 17:08 jinz2014