Skip to content

Commit

Permalink
FIX Bug in fine encoder (PABannier#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
PABannier committed Aug 16, 2023
1 parent e1d40fe commit 3efb8ea
Show file tree
Hide file tree
Showing 12 changed files with 355 additions and 218 deletions.
15 changes: 12 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,22 @@
"version": "0.2.0",
"configurations": [
{
"name": "Debug",
"name": "Debug fine encoder",
"type": "lldb",
"request": "launch",
"program": "${fileDirname}/${fileBasenameNoExtension}",
"program": "./tests/test-fine-encoder",
"args": [],
"cwd": "${fileDirname}",
"preLaunchTask": "run makefile",
"preLaunchTask": "build test fine encoder",
},
{
"name": "Debug qkv",
"type": "lldb",
"request": "launch",
"program": "./tests/test-qkv",
"args": [],
"cwd": "${fileDirname}",
"preLaunchTask": "build test qkv",
}
]
}
26 changes: 23 additions & 3 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,30 @@
{
"options": {
"env": {
"BARK_DEBUG": "1",
}
},
"tasks": [
{
"type": "shell",
"label": "run makefile",
"command": "make",
"args": ["tests/test-text-encoder"],
"label": "build test qkv",
"options": {
"env": {
"BARK_DEBUG": "1",
}
},
"command": "make tests/test-qkv",
"problemMatcher": [],
},
{
"type": "shell",
"label": "build test fine encoder",
"options": {
"env": {
"BARK_DEBUG": "1",
}
},
"command": "make tests/test-fine-encoder",
"problemMatcher": [],
},
],
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@

Inference of [SunoAI's bark model](https://github.com/suno-ai/bark) in pure C/C++.

**Disclaimer: there remains bug in the inference code, bark is able to generate audio for some prompts or some seeds,
but it does not work for most prompts. The current effort of the community is to fix those bugs, in order to release
v0.0.2**.

## Description

The main goal of `bark.cpp` is to synthesize audio from a textual input with the [Bark](https://github.com/suno-ai/bark) model in efficiently using only CPU.
Expand Down
Loading

0 comments on commit 3efb8ea

Please sign in to comment.