-
-
Notifications
You must be signed in to change notification settings - Fork 137
AllTalk Diagnostics Tool
erew123 edited this page Dec 4, 2024
·
4 revisions
The AllTalk Diagnostics Tool is crucial for troubleshooting issues, especially when you're having problems starting AllTalk. It helps identify potential problems caused by changes in 3rd party package versions or issues within your Python environment.
- Generate a
diagnostics.log
file with detailed information about your Python environment setup. - Compare your
diagnostics.log
file to the basebasediagnostics.log
to identify discrepancies. - Provide semi-automated repair options for your Python environment.
- Your
diagnostics.log
file will be generated in thealltalk_tts
folder e.g.
alltalk_tts/
│ ├── alltalk_environment/
│ ├── models/
│ ├── outputs/
│ ├── system/
│ ├── trainer_alltalk/
│ └── voices/
├── atsetup.bat
├── atsetup.sh
├── confignew.json
├── diagnostics.log (THIS FILE HERE)
└── etc...
The diagnostics.log
file and on-screen output provide valuable information:
- System Information: OS version, CPU details, RAM, and disk space.
- Python Environment: Python version, executable path, and environment details.
- CUDA Information: CUDA version, availability, and GPU details (if applicable).
- Installed Packages: List of Python packages and their versions.
- Potential Issues: Highlighted discrepancies or missing components.
- Version Mismatches: Check for package version differences between your setup and the base configuration.
- Missing Components: Ensure all required components (like CUDA, C++ build tools) are installed.
- Environment Issues: Verify that you're using the correct Python environment.
When seeking help:
- Generate a fresh
diagnostics.log
file. - Include this file in your support request or issue report.
- Mention any specific errors or behaviors you're experiencing.
Remember, the diagnostics.log
file contains detailed system information. Review and redact any sensitive information before sharing.
Start the diagnostics from the alltalk_tts
folder using one of these methods:
-
Windows: Run
start_diagnostics.bat
-
Linux: Execute
./start_diagnostics.sh
-
Text-generation-webui (TGWUI) users: Use TGWUI's
cmd_{your_os}
file -
Other setups: Run
python diagnostics.py
after activating your Python environment
- From the menu, select option 1 to generate your
diagnostics.log
file. - Typically you will select
requirements_standalone.txt
- Your
diagnostics.log
file will be created in thealltalk_tts
folder. - You can review the on-screen message for any obvious package issues.
- From the Diagnostic's main menu, select option 2 to open the GUI comparison tool.
- Drag and drop the
basediagnostics.log
from/alltalk_tts/system/config/
onto theBase Diagnostics File
Left Hand window. - Drag and drop your
diagnostics.log
from/alltalk_tts/
onto theComparison Diagnostics File
Right Hand window. - Click Compare the Base and Comparison log files.
- The chart shows version differences between your environment and a tested working environment.
- Windows Users: Check the top of the GUI for Windows C++ Build Tools, Windows SDK, and Espeak-ng status. These are crucial base requirements.
- Organized Results: A text breakdown of the comparison chart, useful for quick assessment and issue reporting.
- Pip Commands to align versions: You can copy these commands to manually update your Python environment or use the Run Pip commands button if you're in the AllTalk Python environment.
After applying updates, re-run the diagnostics to generate a new diagnostics.log
and perform the comparison again.
The diagnostics tool may not resolve or detect:
- Corrupted packages or Python Environment: Consider deleting and recreating your Python Environment.
-
Corrupted PIP cache: Clear the PIP cache using
pip cache purge
before reinstalling. -
Corrupted Conda packages: For standalone installations, manually reinstall Conda packages:
- Run
start_environment
for your OS from thealltalk_tts
folder. - Navigate to
cd alltalk_environment/conda/scripts
- Run:
conda.exe install -y conda-forge::ffmpeg
and alsoconda.exe install -y pytorch::faiss-cpu
- Run
- Other environmental factors: Some issues may be beyond the scope of the diagnostics tool.