-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Add cuBLAS build workflow and fix error causing lines in CMakeLists #867
Conversation
- name: Build | ||
run: | | ||
cd ./build | ||
msbuild ALL_BUILD.vcxproj -t:build -p:configuration=${{ matrix.build }} -p:platform=${{ matrix.arch }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prefer the use of cmake --build
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you explain why this is better than the current one? I'm not really that well-versed in CMake or compiling C++ projects in general so I just used the same as the other Windows builds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It makes it buildsystem agnostic. In theory we could switch to eg. Ninja, without touching that line.
Consider it best practice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, wouldn't it be best to switch all the builds to that all at once?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, we can do that in a follow up PR
xref llama.cpp ggerganov/llama.cpp#1271 |
…sts (ggerganov#867) * Add windows build with cuBLAS * Remove error causing lines for cuBLAS on Windows
…sts (ggerganov#867) * Add windows build with cuBLAS * Remove error causing lines for cuBLAS on Windows
…sts (ggerganov#867) * Add windows build with cuBLAS * Remove error causing lines for cuBLAS on Windows
…sts (ggerganov#867) * Add windows build with cuBLAS * Remove error causing lines for cuBLAS on Windows
Adds a build workflow for whisper.cpp on Windows with cuBLAS support. Removes error causing lines in CMakeLists that prevented building successfully.
Credit: @giterhug for the fix.
#840