conda activate llm-server
python run.py 7500 llama3.1 tts capture
- Anaconda https://www.anaconda.com/download
- CUDA (you need a NVidia Developer account)
https://developer.nvidia.com/cuda-downloads (< 3GB) Installation Instructions: Double click cuda_12.4.1_551.78_windows.exe Follow on-screen prompts Additional installation options are detailed here: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/#meta-packages
conda create --name llm-server-cuda
conda activate llm-server-cuda
set CMAKE_ARGS=-DLLAMA_CUBLAS=on
set FORCE_CMAKE=1
pip install llama-cpp-python --force-reinstall --upgrade --no-cache-dir
https://huggingface.co/models?pipeline_tag=text-to-speech&sort=downloads
https://pytorch.org/get-started/locally/
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
conda create -n coquitts python=3.10 conda activate coquitts conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia conda install --file requirements.txt cd (directory of tts) pip install -r requirements.txt python setup.py develop #use python script to produce tts results
tts --model_name tts_models/multilingual/multi-dataset/xtts_v2 --list_speaker_idxs
Sure, here's a cheat sheet for some common Conda commands:
-
Create a new environment:
conda create --name myenv
-
Create a new environment with specific Python version:
conda create --name myenv python=3.6
-
Activate an environment:
- On Windows:
activate myenv
- On macOS and Linux:
source activate myenv
- On Windows:
-
Deactivate an environment:
- On Windows:
deactivate
- On macOS and Linux:
source deactivate
- On Windows:
-
List all environments:
conda env list
-
Install a package in the active environment:
conda install numpy
-
Install a specific version of a package:
conda install numpy=1.10
-
Update a package:
conda update numpy
-
Update Conda itself:
conda update conda
-
Remove a package:
conda remove numpy
-
Remove an environment:
conda env remove --name myenv
-
Export an environment to a file:
conda env export > environment.yml
-
Create an environment from a file:
conda env create -f environment.yml
Remember to replace myenv
with the name of your environment and numpy
with the name of the package you want to install or remove.