|
|
пре 2 година | |
|---|---|---|
| preparing_data | пре 2 година | |
| speech_lm | пре 2 година | |
| .dockerignore | пре 2 година | |
| .gitignore | пре 2 година | |
| .pre-commit-config.yaml | пре 2 година | |
| .project-root | пре 2 година | |
| README.md | пре 2 година | |
| dockerfile | пре 2 година | |
| requirements.txt | пре 2 година | |
| setup.py | пре 2 година | |
| train.sh | пре 2 година |
# 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