Replies: 3 comments 1 reply
-
I have made progress:
and execute:
after you have done the modifications below to Makefile.
My CUDA folder is:
requires lib files that are not available in the CUDA lib's x64 folder: culibos, dl, rt My Makefile is available here: Makefile.csv. Just remove the .csv extension. |
Beta Was this translation helpful? Give feedback.
-
cmake .. -DLLAMA_CUBLAS=ON -DLLAMA_CUDA_FORCE_DMMV=TRUE -DLLAMA_CUDA_DMMV_X=64 -DLLAMA_CUDA_MMV_Y=4 -DLLAMA_CUDA_F16=TRUE -DGGML_CUDA_FORCE_MMQ=YES C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin add the path in env |
Beta Was this translation helpful? Give feedback.
-
This works on windows both locally and on CI: https://github.com/bullno1/hey/blob/master/msvc.bat CI build log: https://github.com/bullno1/hey/actions/runs/7325404244/job/19949954554 Github actions: https://github.com/bullno1/hey/blob/master/.github/workflows/windows-build.yml I generate a MSVC solution because that's how one would develop on Windows. |
Beta Was this translation helpful? Give feedback.
-
I want to try out the cublast
(#1412)(master) build to offload some of the layers to the gpu. trying to build this in windows is proving to be a bit difficult for me. I have installed cmake and have installed the nvidia cuda toolkit and I even installed Build Tools for Visual Studio 2022. every time I try to run:I get:
I have also tried with make:
nvcc:
OK, I think I got it to build by using powershell -> and dropping the files from the cuda toolkit. since I have version 12.1 the path is a little different. I copied the files from here:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\extras\visual_studio_integration\MSBuildExtensions
to hereC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\BuildCustomizations
as per:
https://stackoverflow.com/questions/56636714/cuda-compile-problems-on-windows-cmake-error-no-cuda-toolset-found
then ran the regular cmake build procedure in powershell
If anyone can list how they got this built in windows that would really help.
Beta Was this translation helpful? Give feedback.
All reactions