Skip to content
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

Commit 1ff729a

Browse files
committed
Tortoise TTS models
1 parent f0903b2 commit 1ff729a

File tree

4 files changed

+72
-0
lines changed

4 files changed

+72
-0
lines changed

README.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ sense will the old instructions be kept.
3737
** link:huggingface/hub-cache.adoc[Hub and cache]
3838
* link:PyTorch/pytorch.adoc[PyTorch]
3939
** link:PyTorch/hub-cache.adoc[Hub and cache]
40+
* link:TortoiseTTS/tortoise-tts.adoc[Tortoise TTS]
41+
** link:TortoiseTTS/models.adoc[Tortoise models]
4042

4143
== Scripts
4244

TortoiseTTS/models.adoc

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
= Tortoise TTS models
2+
:toc:
3+
:toclevels: 5
4+
5+
== Space savings
6+
7+
* About 8 GB with normal use, without many plugins.
8+
9+
== What are these files
10+
11+
Base and pre-trained AI models used by Tortoise TTS.
12+
13+
== Default locations
14+
15+
* `~/.cache/tortoise/models` - Tortoise models directory.
16+
17+
== How to move them
18+
19+
=== Step 1. Close TortoiseTTS
20+
21+
Close Tortoise TTS before proceeding.
22+
23+
=== Step 2. Set `TORTOISE_MODELS_DIR` environment variable
24+
25+
Set the `TORTOISE_MODELS_DIR` environment variable to a location which you want Tortoise TTS to store models to.
26+
27+
Alternatively, you can run the following PowerShell script to set the `TORTOISE_MODELS_DIR` environment variable:
28+
link:powershell/tortoiseTTSModelsDir.ps1[tortoiseTTSModelsDir.ps1]
29+
30+
[source,shell]
31+
----
32+
pwsh .\tortoiseTTSModelsDir.ps1
33+
----
34+
35+
=== Step 3. Move the files
36+
37+
Once `TORTOISE_MODELS_DIR` environment variable is set, you can move the contents of the `~\.cache\tortoise\models`
38+
directory to the new directory.
39+
40+
== Official documentation
41+
42+
There is no official documentation, but digging through code you can find the following lines in
43+
`tortoise/api_fast.py`:
44+
45+
[source,python]
46+
----
47+
DEFAULT_MODELS_DIR = os.path.join(os.path.expanduser('~'), '.cache', 'tortoise', 'models')
48+
MODELS_DIR = os.environ.get('TORTOISE_MODELS_DIR', DEFAULT_MODELS_DIR)
49+
----
50+
51+
This means that when `TORTOISE_MODELS_DIR` environment variable is set, it will be used to store models. If it's not
52+
set, it will fall back to `DEFAULT_MODELS_DIR`, which is in `~\.cache\tortoise\models`.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
$envVarName = "TORTOISE_MODELS_DIR"
2+
$value = Read-Host -Prompt "Enter Tortoise TTS models directory (TORTOISE_MODELS_DIR)"
3+
4+
[Environment]::SetEnvironmentVariable($envVarName, $value, 'User')
5+
Write-Host "$envVarName is now set to $value"

TortoiseTTS/tortoise-tts.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
= Tortoise TTS
2+
:toc:
3+
:toclevels: 5
4+
5+
== Introduction
6+
7+
Tortoise TTS (text-to-speech) is an AI tool installed locally which downloads pre-trained models to your boot drive by
8+
default. This is a list of default locations of boot drive files and links to guides on how to migrate them to a
9+
non-boot drive.
10+
11+
== List of files and folders on boot drive
12+
13+
* `~\.cache\tortoise\models` - Tortoise TTS models directory. Guide: link:models.adoc[Tortoise TTS models]

0 commit comments

Comments
 (0)