-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
feat(bark-cpp): add new bark.cpp backend #4287
Conversation
✅ Deploy Preview for localai ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
sd.threads = int(opts.Threads) | ||
|
||
modelFile := C.CString(opts.ModelFile) | ||
defer C.free(unsafe.Pointer(modelFile)) |
Check warning
Code scanning / gosec
Use of unsafe calls should be audited Warning
|
||
func (sd *Bark) TTS(opts *pb.TTSRequest) error { | ||
t := C.CString(opts.Text) | ||
defer C.free(unsafe.Pointer(t)) |
Check warning
Code scanning / gosec
Use of unsafe calls should be audited Warning
defer C.free(unsafe.Pointer(t)) | ||
|
||
dst := C.CString(opts.Dst) | ||
defer C.free(unsafe.Pointer(dst)) |
Check warning
Code scanning / gosec
Use of unsafe calls should be audited Warning
Signed-off-by: Ettore Di Giacinto <[email protected]>
36d8356
to
00af0bb
Compare
Signed-off-by: Ettore Di Giacinto <[email protected]>
Signed-off-by: Ettore Di Giacinto <[email protected]>
Signed-off-by: Ettore Di Giacinto <[email protected]>
Signed-off-by: Ettore Di Giacinto <[email protected]>
Description
This PR adds the bark.cpp backend (part of #1126) which provides a bark implementation which also works on CPUs. This is an initial sketch at it, more to come.
Tested with:
Notes for Reviewers
Signed commits