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

How to run within NVIDIA Container #1941

Open
TommasoBendinelli opened this issue Feb 20, 2025 · 0 comments
Open

How to run within NVIDIA Container #1941

TommasoBendinelli opened this issue Feb 20, 2025 · 0 comments
Labels
question Further information is requested

Comments

@TommasoBendinelli
Copy link

Hello, I have a Grace Hopper Chip, and I would like to install and run LitGPT. I was planning to use this dockerfile to build the container:

FROM nvcr.io/nvidia/pytorch:24.10-py3
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y python3.10-venv && apt-get clean && rm -rf /var/lib/apt/lists/*
RUN pip install 'litgpt[all]'

The base image nvcr.io/nvidia/pytorch:24.10-py3 comes with torch 2.5.0, so it should meet the requirement. However, it looks like LitGPT is uninstalling and then reinstalling torch. Do you have any idea why this is happening and how it can be avoided?

@TommasoBendinelli TommasoBendinelli added the question Further information is requested label Feb 20, 2025
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

1 participant