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

rye sync broken #3

Open
thewh1teagle opened this issue Sep 10, 2024 · 1 comment
Open

rye sync broken #3

thewh1teagle opened this issue Sep 10, 2024 · 1 comment

Comments

@thewh1teagle
Copy link

thewh1teagle commented Sep 10, 2024

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
Copy link
Owner

mush42 commented Sep 10, 2024

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

I may need to pin the versions here.

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