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

[Rebuild] whisper.cpp #3360

Closed
dreirund opened this issue Oct 19, 2024 · 7 comments
Closed

[Rebuild] whisper.cpp #3360

dreirund opened this issue Oct 19, 2024 · 7 comments
Labels
request:rebuild-pkg Package is missing a rebuild.

Comments

@dreirund
Copy link

Packages:

https://aur.archlinux.org/packages/whisper.cpp

Latest chaotic version

1.6.2-1

Reason for rebuild

Outdated since 10 days (version 1.7.1, currently $pkgrel -2)

Logs

No response

Builds?

No response

More information

No response

@dreirund dreirund added the request:rebuild-pkg Package is missing a rebuild. label Oct 19, 2024
@xiota
Copy link
Contributor

xiota commented Oct 24, 2024

I plan to look at this package sometime this week or weekend.

@BEST8OY
Copy link

BEST8OY commented Oct 25, 2024

I tried whisper.cpp a week ago and it was okay
https://builds.garudalinux.org/logs/logs.html?timestamp=1729842624626&id=whisper.cpp
Now it's

whisper.cpp: error while loading shared libraries: libggml.so: cannot open shared object file: No such file or directory

@xiota
Copy link
Contributor

xiota commented Oct 26, 2024

@BEST8OY Are you using version 1.7.1-2? The plain cpu version works on my computer. I have not tried any of the others. No package provides libggml.so. Don't know why it would be needed.

Correction, I was running the wrong binary. Able to reproduce the error. Will look into it.

@BEST8OY
Copy link

BEST8OY commented Oct 31, 2024

@xiota
I installed libggml-git from AUR.

@xiota
Copy link
Contributor

xiota commented Nov 1, 2024

aur/libggml-git has some problems. The most serious is that it detects and uses CPU features on the build machine, which will cause the resulting binaries to throw illegal instruction errors on users' machines. The following changes would be needed. Otherwise, it would have to be rewritten and added as a custom package.

  • Remove CPU detection and build for baseline x86-64.
  • Use standard pkgver format, as described in VCS package guidelines.
  • Use cmake to call build and install commands. Don't call make directly.

llama.cpp and whisper.cpp also do not declare the dependency. They would need to be adjusted with interferes.

@xiota
Copy link
Contributor

xiota commented Nov 4, 2024

Interfere added to whisper.cpp in 902f713, 2728a86. Interfere for llama.cpp pending.

@xiota
Copy link
Contributor

xiota commented Nov 6, 2024

Interfere for llama.cpp added in 5715187

@xiota xiota closed this as completed Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request:rebuild-pkg Package is missing a rebuild.
Development

No branches or pull requests

3 participants