fix tools (+3 squashed commit)

Squashed commit:

[95a489ee] fix tools build

[1d3d3451] add accelerate

[2837705c] edit a line
This commit is contained in:
Concedo
2025-04-06 00:18:12 +08:00
parent 11f993ca10
commit 5edbacdd0e
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#include "ggml.h"
#include "gguf.h"
#include "llama.h"
#include "common.h"
#include "common/common.h"
#include "build-info.h"
#include <algorithm>
+1 -1
View File
@@ -16,7 +16,7 @@ You can also create your own cloned speaker voice.
To do that, you will need Python 3.10+ with the `outetts` package installed. You can install it with this commands:
```
pip install outetts --no-deps
pip install scipy einops pyyaml huggingface-hub encodec matplotlib transformers pytorch-lightning tensorboardX soundfile numpy jsonargparse torchcrepe librosa inflect loguru polars natsort tqdm sounddevice mecab-python3 unidic-lite uroman openai-whisper pygame
pip install scipy einops pyyaml huggingface-hub encodec matplotlib transformers pytorch-lightning tensorboardX soundfile numpy jsonargparse torchcrepe librosa inflect loguru polars natsort tqdm sounddevice mecab-python3 unidic-lite uroman openai-whisper pygame accelerate
```
Then after that, obtain a wav file containing a sample of the voice you want to clone.
Modify the [voice_cloning.py](voice_cloning.py) script with your input audio file, and let it generate the JSON.
+1 -1
View File
@@ -1,5 +1,5 @@
#include "build-info.h"
#include "common.h"
#include "common/common.h"
#include "llama.h"
#include <cstdio>