No Description

Lengyue e4839d6e84 Use 4 workers 2 years ago
fish_speech e4839d6e84 Use 4 workers 2 years ago
tools d16c9cb695 Update huggingface dataset builder 2 years ago
.dockerignore 0c084ec779 Apply gradient accumulate to save memory 2 years ago
.gitignore 6d0e669f8c Rename project to fish-speech 2 years ago
.pre-commit-config.yaml e4ce816175 Update deps 2 years ago
README.md 3fc0a688ca Update Readme 2 years ago
dockerfile 9920873cf2 Optimize schedule 2 years ago
pyrightconfig.json f7f2c03282 Support pytorch lightning 2 years ago
requirements.txt 23109ecb94 Optimize training loop & upgrade transformers 2 years ago
setup.py 6d0e669f8c Rename project to fish-speech 2 years ago

README.md

Speech LLM

Setup

# Basic environment setup
conda create -n speech-llm python=3.10
conda activate speech-llm
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia

# Install requirements
pip3 install -r requirements.txt

# Install flash-attn
MAX_JOBS=4 pip install flash-attn --no-build-isolation

# Install speech-llm
pip3 install -e .