Spaces:
Build error
Build error
File size: 1,748 Bytes
09fa60b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# ML Dependencies Installation Status
## Current Status: β
**READY FOR MUSIC GENERATION!**
### β
What's Installed
- β
Python 3.11 virtual environment (`.venv311`)
- β
PyTorch 2.1.0 (CPU version)
- β
TorchAudio 2.1.0
- β
AudioCraft 1.4.0a2
- β
av 16.1.0 (works with AudioCraft - newer version is compatible)
- β
xformers (with warnings - CPU mode works fine)
- β
transformers
- β
spacy 3.7.6
- β
librosa, soundfile, and other audio libraries
- β
NumPy < 2.0 (compatible with PyTorch 2.1.0)
### β οΈ Optional Dependencies (Not Installed)
- β οΈ `pesq` - Optional (for audio quality metrics)
- β οΈ `pystoi` - Optional (for audio quality metrics)
**Note**: These are not required for music generation. They're only used for evaluating audio quality metrics during training/evaluation.
### π Installation Complete!
All critical dependencies are installed and working. AudioCraft successfully imports and MusicGen is ready to use.
### π§ͺ Testing Music Generation
**Start the backend**:
```powershell
cd backend
.venv311\Scripts\Activate.ps1
uvicorn app.main:app --reload
```
**Test music generation**:
```powershell
.\scripts\test_music_generation.ps1
```
Or use the frontend at `http://localhost:3000` to generate music interactively.
### π Notes
- **xformers warnings**: Normal for CPU-only installations. Memory-efficient attention won't be available, but generation still works.
- **av version**: AudioCraft specifies `av==11.0.0`, but `av 16.1.0` works fine (backward compatible).
- **First generation**: May take 30-60 seconds as models download from Hugging Face.
---
**Status**: β
**READY** - All ML dependencies installed and working!
|