nvidia-riva / nvidia-riva/tutorials

ASR model export unable to find nemo2riva version that meets the dependency with nvidia-eff

Open
#160 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
175
Forks
56
PR merge metrics
No merged PRs in 30d

Description

ASR model export
!pip install nemo2riva is not being resolved

cell:
print(riva_version)
!pip install nvidia-pyindex
!ngc registry resource download-version "nvidia/riva/riva_quickstart:"$riva_version
!pip install nemo2riva
!pip install protobuf==3.20.0

============
2.10.0
++++++++++
getting following resolution error
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/, https://pypi.ngc.nvidia.com/
Collecting nemo2riva
Using cached nemo2riva-2.11.0-py3-none-any.whl (33 kB)
Collecting pyarmor<8 (from nemo2riva)
Using cached pyarmor-7.7.4-py2.py3-none-any.whl (2.3 MB)
Requirement already satisfied: nemo-toolkit>=1.13 in /usr/local/lib/python3.10/dist-packages (from nemo2riva) (1.19.0rc0)
INFO: pip is looking at multiple versions of nemo2riva to determine which version is compatible with other requirements. This could take a while.
Collecting nemo2riva
Using cached nemo2riva-2.10.0-py3-none-any.whl (33 kB)
Using cached nemo2riva-2.9.0-py3-none-any.whl (32 kB)
ERROR: Cannot install nemo2riva==2.10.0, nemo2riva==2.11.0 and nemo2riva==2.9.0 because these package versions have conflicting dependencies.

The conflict is caused by:
nemo2riva 2.11.0 depends on nvidia-eff<=0.6.2 and >=0.5.3
nemo2riva 2.10.0 depends on nvidia-eff<=0.6.2 and >=0.5.3
nemo2riva 2.9.0 depends on nvidia-eff<=0.6.2 and >=0.5.3

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the shown notebook cell with Riva version 2.10.0 and inspect the nemo2riva and nvidia-eff dependency metadata. Done means the ASR export setup installs without the reported ResolutionImpossible error and the compatible package versions are documented in the tutorial.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
build-system, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.