requirements

#1
by BahamutRU - opened
  • accelerate
    bitsandbytes

for model_server

OK, thank you very much for the reminder. I will add it now.

conda install conda-forge::ffmpeg
conda install conda-forge::pynini

The pynini dependency is hard to install for some machines, and conda can resolve this issue. It is needed for WeTextProcessing.
After installing pynini, then use pip install WeTextProcessing --no-deps to install WeTextProcessing.

You also need demo.queue() in the web_demo.py before demo.launch() to use generators in some machines.

ERROR: Cannot install -r requirements.txt (line 37), diffusers==0.27.2 and gradio==5.3.0 because these package versions have co
nflicting dependencies.

The conflict is caused by:
The user requested gradio==5.3.0
matcha-tts 0.0.7.0 depends on gradio==3.43.2
The user requested diffusers==0.27.2
matcha-tts 0.0.6.0 depends on diffusers==0.25.0
The user requested diffusers==0.27.2
matcha-tts 0.0.5.1 depends on diffusers==0.25.0
The user requested diffusers==0.27.2
matcha-tts 0.0.4 depends on diffusers==0.21.3
The user requested diffusers==0.27.2
matcha-tts 0.0.3 depends on diffusers==0.21.2
The user requested diffusers==0.27.2
matcha-tts 0.0.2 depends on diffusers==0.21.2
The user requested diffusers==0.27.2
matcha-tts 0.0.1 depends on diffusers==0.21.2

ERROR: Cannot install -r requirements.txt (line 37), diffusers==0.27.2 and gradio==5.3.0 because these package versions have co
nflicting dependencies.

The conflict is caused by:
The user requested gradio==5.3.0
matcha-tts 0.0.7.0 depends on gradio==3.43.2
The user requested diffusers==0.27.2
matcha-tts 0.0.6.0 depends on diffusers==0.25.0
The user requested diffusers==0.27.2
matcha-tts 0.0.5.1 depends on diffusers==0.25.0
The user requested diffusers==0.27.2
matcha-tts 0.0.4 depends on diffusers==0.21.3
The user requested diffusers==0.27.2
matcha-tts 0.0.3 depends on diffusers==0.21.2
The user requested diffusers==0.27.2
matcha-tts 0.0.2 depends on diffusers==0.21.2
The user requested diffusers==0.27.2
matcha-tts 0.0.1 depends on diffusers==0.21.2

I just checked my virtual environment, and it turns out I haven't installed matcha-tts.😂This isn't a necessary
dependency for running the model, but it's needed to resolve the 'No module named "matcha.models"' issue. Before
installing matcha-tts, we need to uninstall any packages that might cause conflicts.

getting ModuleNotFoundError: No module named 'transformers.generation.streamers' but I already have transformers installed, can anyone help?

getting ModuleNotFoundError: No module named 'transformers.generation.streamers' but I already have transformers installed, can anyone help?

It seems to be a bug in the huggingface transformers library, as mentioned in huggingface/transformers#22506. You can resolve it by reinstalling the package
using the main branch.

Thanks! I did that and now i get: RuntimeError: Failed to import transformers.integrations.bitsandbytes because of the following error (look up to see its traceback):

    CUDA Setup failed despite GPU being available. Please run the following command to get more information:
    python -m bitsandbytes

When i do that i get: argument of type 'WindowsPath' is not iterable
CUDA SETUP: Problem: The main issue seems to be that the main CUDA runtime library was not detected.
reinstalling CUDA without avail... any thoughts ?

Sign up or log in to comment