How to install it in venv? I've tried with those requirements:
torch>=2.0.0
torchvision
einops
fire>=0.6.0
huggingface-hub
safetensors
sentencepiece
transformers
tokenizers
[Redacted Person]
requests
invisible-watermark
diffusers
einops
diffusers
transformers
scipy
numpy
regex
tqdm
accelerate
soundfile
unidecode
phonemizer
torchlibrosa
ftfy
pandas
[Redacted Person]
matplotlib
[Redacted Person]
flash-attn==2.6.3
sentencepiece
Pillow #Only required for creating your own datasets
progressbar
librosa==0.9.2 #required for audiollm, which apparently does not use torchlibrosa
but got errors about missing packages, wheel, and some parts of torch (fixed each one by manually installing it before -r install. torch couldn't fix, cause it says that misses some .dll in lib folder, but I have missed one there.)
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
To install FluxMusic in a virtual environment (venv) and resolve the issues you encountered, follow these steps:
1. Set up a Virtual Environment
Create and activate a Python virtual environment:
bash
python -m venv fluxmusic-venv
source fluxmusic-venv/bin/activate # On Linux/Mac
fluxmusic-venv\Scripts\activate # On Windows
2. Upgrade pip and Install Essential Tools
Ensure your pip, setuptools, and wheel are up-to-date to avoid missing dependency issues:
bash
pip install --upgrade pip setuptools wheel
3. Install PyTorch
The most common issue with PyTorch installation is selecting the wrong version or missing CUDA dependencies. Visit PyTorch's official installation page to determine the correct command for your system.
Dependency Conflicts: Some versions of transformers, diffusers, and huggingface-hub might conflict. Use compatible versions (e.g., transformers==4.34.0, diffusers==0.20.0).
By following these steps, you should be able to resolve installation issues and use FluxMusic successfully. Let me know if you encounter specific errors, and I can assist further!