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

Nemo framework error #77

Open
mariamhegazy opened this issue Jan 21, 2025 · 1 comment
Open

Nemo framework error #77

mariamhegazy opened this issue Jan 21, 2025 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@mariamhegazy
Copy link

mariamhegazy commented Jan 21, 2025

if I want to build my own image instead of using nvcr.io/nvidia/nemo:cosmos.1.0, which branch should I use for installation of the NeMo framework? Following the installation guidelines seems to be missing some modules
ModuleNotFoundError: No module named 'nemo.collections.diffusion'

The main problem is that nvcr.io/nvidia/nemo:cosmos.1.0 only supports amd64 architecture and I want to build it on ARM. Is there a workaround for this ?

Thanks.

@mharrim mharrim assigned mharrim and ethanhe42 and unassigned mharrim Jan 22, 2025
@mharrim mharrim added the question Further information is requested label Jan 26, 2025
@ethanhe42
Copy link
Member

you can try build container with this Dockerfile

FROM nvcr.io/nvidia/nemo:24.12

RUN pip install --no-cache-dir imageio[ffmpeg] pyav iopath better_profanity peft git+https://github.com/NVlabs/Pytorch_Retinaface.git@b843f45

ARG GITLAB_CLONE_ACCESS_TOKEN
RUN rm -rf /opt/megatron-lm
RUN git clone --single-branch --branch cosmos [email protected]:NVIDIA/Megatron-LM.git /opt/megatron-lm && cd /opt/megatron-lm && pip install -e . && rm -rf .git && cd megatron/core/datasets && make
RUN rm -rf /opt/NeMo
RUN git clone --single-branch --branch physicalai [email protected]:NVIDIA/NeMo.git /opt/NeMo && cd /opt/NeMo && git checkout 75aa5fe3e5acc5a885bc3409be553960067fabb9 && rm -rf .git

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

No branches or pull requests

3 participants