Open MAGANER opened 1 year ago
Installing Vulkan SDK in windows resolved the issue from --> https://vulkan.lunarg.com/sdk/home
same issue on linux. what do we need to install? And does the customer's machine need to have things installed to run? What about macOS too?
I haven't tried it on Linux yet, but last time I've fiddled around with cmake and Vulkan it looked like you have to install the SDK they provide, using system packages is probably not enough. The cmake discovery script expects a Vulkan SDK environment variable, on my Windows system it looks like this: VK_SDK_PATH=D:\VulkanSDK\1.3.250.1
have the same issue. But it worked w/o Vulkan before. Is it mandatory to install Vulkan now?
have the same issue. But it worked w/o Vulkan before. Is it mandatory to install Vulkan now?
Yes. Vulkan support is now part of the project at all levels.
Which means it's a build requirement for both the chat GUI, the bindings and the other subprojects. You can still run things on CPU, though.
I am unable to install Vulkan on my VM, is there a commit without Vulkan as a dependency I can use?
The cmake discovery script expects a Vulkan SDK environment variable, on my Windows system it looks like this:
VK_SDK_PATH=D:\VulkanSDK\1.3.250.1
Where do I set that? I have installed vulkan but cmake is still throwing the same "could not find" error
The cmake discovery script expects a Vulkan SDK environment variable, on my Windows system it looks like this:
VK_SDK_PATH=D:\VulkanSDK\1.3.250.1
Where do I set that? I have installed vulkan but cmake is still throwing the same "could not find" error
In Windows the SDK have installed directly 2 variables system
VK_SDK_PATH=C:\VulkanSDK\1.3.261.1 VULKAN_SDK=C:\VulkanSDK\1.3.261.1
You can find them in type "Modifying environment variables" next to Windows logo (the previous Start a long time ago)
Anyone have for python bindings on Windows ? v for linux
git clone --recurse-submodules https://github.com/nomic-ai/gpt4all.git cd gpt4all/gpt4all-backend/ mkdir build cd build cmake .. cmake --build . --parallel # optionally append: --config Release
For Windows I have try these to compile
gcc .. c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: cannot find ..: Permission denied collect2.exe: error: ld returned 1 exit status
So I have tried to verify environment variable.Install vulkan SDK from lunarG works for ubuntu 20.04 Focal Link: https://vulkan.lunarg.com/doc/sdk/1.3.275.0/linux/getting_started_ubuntu.html
Issue you'd like to raise.
after using cmake .. command i got next Cmake error: CMake Error at D:/CMake/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR glslc) (found version "") Call Stack (most recent call first): D:/CMake/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) D:/CMake/share/cmake-3.27/Modules/FindVulkan.cmake:600 (find_package_handle_standard_args) llama.cpp.cmake:157 (find_package) CMakeLists.txt:46 (include)
Suggestion:
No response