-
Notifications
You must be signed in to change notification settings - Fork 38
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
navi10 pytorch build fails due to missing miopen #34
Comments
The navi10 just need re-build ROCm with AMDGPU_TARGETS=gfx1010. The MIOpen just equals cuDNN, pytorch need miopen to speed up. |
I was having trouble building miopen as well. But I realized I have to build half first, and thenmiopen. |
The half is just a header. |
I managed to have miopen installed now, but I have an issue building during the pytorch build. The included library 'fbgemm' fails to build due to some c++ warning being treated as errors:
|
Update: I added USE_FBGEMM=OFF to disable fbgemm. I now build with this command line:
But I still get an error in the aten build:
|
It might cause by gcc-12, I haven't test pytorch with gcc-12. there is just gcc-11 on ubuntu-22.04. |
Environment
What is the expected behavior
Following navi10 instructions for building pytorch should not require building miopen separately however, it fails due to missing miopen.
What actually happens
CMake Error at cmake/public/LoadHIP.cmake:147 (find_package):
By not providing "Findmiopen.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "miopen", but
CMake did not find one.
Could not find a package configuration file provided by "miopen" with any
of the following names:
Add the installation prefix of "miopen" to CMAKE_PREFIX_PATH or set
"miopen_DIR" to a directory containing one of the above files. If "miopen"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
cmake/public/LoadHIP.cmake:274 (find_package_and_print_version)
cmake/Dependencies.cmake:1264 (include)
CMakeLists.txt:696 (include)
How to reproduce
Follow navi10 build on archlinux.
The text was updated successfully, but these errors were encountered: