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

Broken Docker example #11

Open
sergree opened this issue Dec 6, 2023 · 2 comments
Open

Broken Docker example #11

sergree opened this issue Dec 6, 2023 · 2 comments

Comments

@sergree
Copy link

sergree commented Dec 6, 2023

Hello! Thank you for your awesome work.

I tried to install your Docker example and have this error:

22.70 ERROR: Could not find a version that satisfies the requirement megatron-lm==2.2.0 (from nemo-toolkit==1.0.2) (from versions: none)
22.70 ERROR: No matching distribution found for megatron-lm==2.2.0 (from nemo-toolkit==1.0.2)
------
Dockerfile:13
--------------------
  11 |
  12 |     WORKDIR /workspace/NeMo
  13 | >>> RUN ./reinstall.sh
  14 |     RUN conda install -c anaconda swig
  15 |     WORKDIR /workspace/NeMo/scripts/asr_language_modeling/ngram_lm
--------------------

Thank you in advance.

@IuliiaZaitova
Copy link

I am getting the same error! Have you managed to resolve it?

@mutiev
Copy link

mutiev commented May 27, 2024

How to Start Working on This Issue:

  1. Comment Out Lines in Dockerfile:
    Comment out the lines in the Dockerfile starting from and including RUN ./reinstall.sh down to but excluding CMD ["bash"] (keep this line).

  2. Launch the Container:
    After commenting out the lines, launch the container.

  3. Manually Handle Dependencies:
    Manually work with the dependencies in requirements/requirements_nlp.txt.

  4. Address the Main Issue:
    The primary issue is that megatron-lm has been dropped from PyPI.

My Approach:

  1. Commented Out Installation Line:
    I commented out the line for installing megatron-lm in requirements_nlp.txt.

  2. Added Manual Installation:
    I added the installation of the package from the GitHub repository after installing requirements_nlp.txt in reinstall.sh:

    pip install git+https://github.com/NVIDIA/Megatron-LM
  3. Testing
    In progress. AFK

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

3 participants