Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using Github actions to build all of this as this has so many dependencies. DEPRECATION: omegaconf. #440

Open
RustoMCSpit opened this issue Jan 9, 2025 · 5 comments

Comments

@RustoMCSpit
Copy link

RustoMCSpit commented Jan 9, 2025

pip install -r requirements_bark_hubert_quantizer.txt

DEPRECATION: omegaconf 2.0.6 has a non-standard dependency specifier PyYAML>=5.1.*. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063
Installing collected packages: bitarray, antlr4-python3-runtime, tabulate, sox, psutil, portalocker, omegaconf, lxml, frozendict, cython, colorama, beartype, sacrebleu, hydra-core, einx, vector-quantize-pytorch, local-attention, lion-pytorch, ema-pytorch, accelerate, fairseq, audiolm-pytorch, bark_hubert_quantizer
  Attempting uninstall: antlr4-python3-runtime
    Found existing installation: antlr4-python3-runtime 4.9.3
    Uninstalling antlr4-python3-runtime-4.9.3:
      Successfully uninstalled antlr4-python3-runtime-4.9.3
  Attempting uninstall: omegaconf
    Found existing installation: omegaconf 2.3.0
    Uninstalling omegaconf-2.3.0:
      Successfully uninstalled omegaconf-2.3.0
  Attempting uninstall: hydra-core
    Found existing installation: hydra-core 1.3.2
    Uninstalling hydra-core-1.3.2:
      Successfully uninstalled hydra-core-1.3.2
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
audiocraft 1.4.0a1 requires hydra-core>=1.1, but you have hydra-core 1.0.7 which is incompatible.

And this for stable audio

ERROR: Could not find a version that satisfies the requirement pedalboard==0.7.4 (from stable-audio-tools) (from versions: 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.8.9, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8, 0.9.9, 0.9.10, 0.9.12, 0.9.13, 0.9.14, 0.9.16)
ERROR: No matching distribution found for pedalboard==0.7.4
@RustoMCSpit
Copy link
Author

pip install -r requirements.txt && \
pip install -r requirements_audiocraft.txt && \
pip install -r requirements_bark_hubert_quantizer.txt && \
pip install -r requirements_rvc.txt && \
pip install hydra-core==1.3.2 && \
pip install -r requirements_styletts2.txt && \
pip install -r requirements_vall_e.txt && \
pip install -r requirements_maha_tts.txt && \
pip install -r requirements_stable_audio.txt && \
pip install soundfile==0.12.1 && \
pip install nvidia-ml-py

I also see hydra-core is needed to be installed separately, this is all a bit confusing

@RustoMCSpit RustoMCSpit changed the title DEPRECATION: omegaconf Consider using Github actions to build all of this as this has so many dependencies. DEPRECATION: omegaconf. Jan 9, 2025
@rsxdalv
Copy link
Owner

rsxdalv commented Jan 26, 2025

Stable audio might have broken itself.
The multi step install is because these are especially "plugins" without which some of the UI and models will still work, the only "core" is requirements.txt
Yes, if you were to install them all at once it would be "cleaner" and "faster" but there are many unexpected issues, like maybe Audio craft might fail to install on ARM based Linux.
With omegaconf I thought I resolved it by introducing my own fairseq but maybe I'm missing something.
I currently "build" this into a Docker container that has all of the dependencies.

@rsxdalv rsxdalv closed this as completed Jan 26, 2025
@rsxdalv rsxdalv reopened this Jan 26, 2025
@RustoMCSpit
Copy link
Author

consider using podman rather than docker

@rsxdalv
Copy link
Owner

rsxdalv commented Jan 27, 2025

Can do that, does it support NVidia GPUs/CUDA?

@RustoMCSpit
Copy link
Author

i believe so but youd have to confirm that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants