Skip to content
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

Merged
merged 4 commits into from
May 3, 2023
Merged

Add cuBLAS build workflow and fix error causing lines in CMakeLists #867

merged 4 commits into from
May 3, 2023

Conversation

RelatedTitle
Copy link
Contributor

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

- name: Build
run: |
cd ./build
msbuild ALL_BUILD.vcxproj -t:build -p:configuration=${{ matrix.build }} -p:platform=${{ matrix.arch }}
Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Contributor

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.

Copy link
Contributor Author

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?

Copy link
Owner

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

@Green-Sky
Copy link
Contributor

xref llama.cpp ggerganov/llama.cpp#1271

@ggerganov ggerganov merged commit d458fcb into ggerganov:master May 3, 2023
jacobwu-b pushed a commit to jacobwu-b/Transcriptify-by-whisper.cpp that referenced this pull request Oct 24, 2023
…sts (ggerganov#867)

* Add windows build with cuBLAS

* Remove error causing lines for cuBLAS on Windows
jacobwu-b pushed a commit to jacobwu-b/Transcriptify-by-whisper.cpp that referenced this pull request Oct 24, 2023
…sts (ggerganov#867)

* Add windows build with cuBLAS

* Remove error causing lines for cuBLAS on Windows
landtanin pushed a commit to landtanin/whisper.cpp that referenced this pull request Dec 16, 2023
…sts (ggerganov#867)

* Add windows build with cuBLAS

* Remove error causing lines for cuBLAS on Windows
iThalay pushed a commit to iThalay/whisper.cpp that referenced this pull request Sep 23, 2024
…sts (ggerganov#867)

* Add windows build with cuBLAS

* Remove error causing lines for cuBLAS on Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants