|
|
vor 2 Jahren | |
|---|---|---|
| preparing_data | vor 2 Jahren | |
| speech_lm | vor 2 Jahren | |
| .gitignore | vor 2 Jahren | |
| .pre-commit-config.yaml | vor 2 Jahren | |
| .project-root | vor 2 Jahren | |
| README.md | vor 2 Jahren | |
| dockerfile | vor 2 Jahren | |
| ds_config.json | vor 2 Jahren | |
| requirements.txt | vor 2 Jahren | |
| train.py | vor 2 Jahren | |
| train.sh | vor 2 Jahren |
# 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