mush42 / optispeech

A lightweight end-to-end text-to-speech model
MIT License
80 stars 8 forks source link

rye sync broken #3

Open thewh1teagle opened 1 week ago

thewh1teagle commented 1 week ago

I can't sync the dependencies. Also why the main pyproject.toml contains gradio? it's used only in opspeech

rye sync
Reusing already existing virtualenv
Generating production lockfile: /root/home/optispeech/requirements.lock
  × No solution found when resolving dependencies for split (python_full_version >= '3.12'):
  ╰─▶ Because gradio>=4.41.0,<=4.43.0 depends on pandas>=1.0 and only gradio<=4.43.0 is available, we can conclude that gradio>=4.41.0 depends on pandas>=1.0.
      And because only pandas<=2.2.2 is available, we can conclude that gradio>=4.41.0 depends on pandas>=1.0. (1)

      Because only the following versions of numpy{python_full_version >= '3.12'} are available:
          numpy{python_full_version >= '3.12'}<=2.0.2
          numpy{python_full_version >= '3.12'}>=2.1.0
      and pandas==2.2.2 depends on numpy{python_full_version >= '3.12'}>=1.26.0, we can conclude that pandas==2.2.2 depends on one of:
          numpy>=1.26.0,<=2.0.2
          numpy>=2.1.0

      And because we know from (1) that gradio>=4.41.0 depends on pandas>=1.0, we can conclude that gradio>=4.41.0, all of:
          numpy<1.26.0
          numpy>1.26.0,<1.26.1
          numpy>1.26.1,<1.26.2
          numpy>1.26.2,<1.26.3
          numpy>1.26.3,<1.26.4
          numpy>1.26.4,<2.0.0
          numpy>2.0.0,<2.0.1
          numpy>2.0.1,<2.0.2
          numpy>2.0.2,<2.1.0
          numpy>2.1.0,<2.1.1
          numpy>2.1.1
      , all of:
          pandas<1.0
          pandas>=2.2.2
       are incompatible.
      And because you require gradio>=4.41.0, we can conclude that your requirements, all of:
          numpy<1.26.0
          numpy>1.26.0,<1.26.1
          numpy>1.26.1,<1.26.2
          numpy>1.26.2,<1.26.3
          numpy>1.26.3,<1.26.4
          numpy>1.26.4,<2.0.0
          numpy>2.0.0,<2.0.1
          numpy>2.0.1,<2.0.2
          numpy>2.0.2,<2.1.0
          numpy>2.1.0,<2.1.1
          numpy>2.1.1
      , all of:
          pandas<1.0
          pandas>=2.2.2
       are incompatible.
      And because you require numpy<=1.24 and pandas>=2.2.2, we can conclude that your requirements are unsatisfiable.

      hint: Pre-releases are available for gradio in the requested range (e.g., 5.0.0b1), but pre-releases weren't enabled (try: `--prerelease=allow`)
error: could not write production lockfile for project

Caused by:
    Failed to run uv compile /tmp/.tmp6NB2xq/requirements.txt. uv exited with status: exit status: 1

Also:

Error in call to target 'optispeech.text.TextProcessor':
TypeError("TextProcessor.__init__() got an unexpected keyword argument 'tokenizer_name'")
full_key: data.text_processor

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
mush42 commented 1 week ago

@thewh1teagle I find gradio very useful during model training. See gradio_ui.py

I may need to pin the versions here.