Update README.md

To fix the torch audio dependency error
This commit is contained in:
pkumgit 2026-02-16 11:11:16 -08:00 committed by GitHub
parent ba13d4dcc2
commit cf440ed4e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -115,7 +115,9 @@ sed -i 's/"torchaudio[^"]*",\?//' pyproject.toml
pip install -e ".[metrics]"
pip install --no-deps torchaudio
```
```
edit LLaMA-Factory/src/llamafactory/data/mm_plugin.py and comment import torchaudio so that import won't fail.
```
## Step 5. Verify Pytorch CUDA support.
PyTorch is pre-installed with CUDA support.