[GH-ISSUE #7810] could anyone help me? something is not work. use a special gpu #30756

Open
opened 2026-04-22 10:39:40 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @wangzd0209 on GitHub (Nov 23, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/7810

What is the issue?

when i follow the instruction to install ollama with source code. i can not to finish gen.linux.sh

there are error information
`CMake Error at ggml/src/CMakeLists.txt:440 (find_package):
By not providing "Findhip.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "hip", but
CMake did not find one.

Could not find a package configuration file provided by "hip" with any of
the following names:

hipConfig.cmake
hip-config.cmake

Add the installation prefix of "hip" to CMAKE_PREFIX_PATH or set "hip_DIR"
to a directory containing one of the above files. If "hip" provides a
separate development package or SDK, be sure it has been installed.`

i try to modify as https://github.com/ROCm/HIP/tree/master/samples/2_Cookbook/12_cmake_hip_add_executable#including-findhip-cmake-module-in-the-project

but the cmakelist can not be modify, when i restart gen.linux.sh , camkelists.txt on ggml/src do not modify

could anyone help me?

OS

Linux

GPU

AMD, Other

CPU

No response

Ollama version

No response

Originally created by @wangzd0209 on GitHub (Nov 23, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/7810 ### What is the issue? when i follow the instruction to install ollama with source code. i can not to finish gen.linux.sh there are error information `CMake Error at ggml/src/CMakeLists.txt:440 (find_package): By not providing "Findhip.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "hip", but CMake did not find one. Could not find a package configuration file provided by "hip" with any of the following names: hipConfig.cmake hip-config.cmake Add the installation prefix of "hip" to CMAKE_PREFIX_PATH or set "hip_DIR" to a directory containing one of the above files. If "hip" provides a separate development package or SDK, be sure it has been installed.` i try to modify as [https://github.com/ROCm/HIP/tree/master/samples/2_Cookbook/12_cmake_hip_add_executable#including-findhip-cmake-module-in-the-project](url) but the cmakelist can not be modify, when i restart gen.linux.sh , camkelists.txt on ggml/src do not modify could anyone help me? ### OS Linux ### GPU AMD, Other ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-04-22 10:39:40 -05:00
Author
Owner

@wangzd0209 commented on GitHub (Dec 1, 2024):

I find how to fix these, you could just make/cmake with llama.cpp by yourself. But i can not still to use go generate to solve this problem. Could anyone help me?

<!-- gh-comment-id:2509529212 --> @wangzd0209 commented on GitHub (Dec 1, 2024): I find how to fix these, you could just make/cmake with llama.cpp by yourself. But i can not still to use go generate to solve this problem. Could anyone help me?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#30756