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

fix: Enable NVIDIA GPU support for Ollama in Docker #249

Closed
wants to merge 1 commit into from

Conversation

juvi21
Copy link

@juvi21 juvi21 commented Mar 29, 2024

added NVIDIA GPU support for OLLAMA in docker-compose.yaml

Copy link
Contributor

@rajakumar05032000 rajakumar05032000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code throws error. if nvidia gpu container toolkit is not present ( which will prevent non-gpu from running docker).

I would suggest to handle it gracefully using "runtime" and a environment variable in code, so that it will give flexibity for a non-GPU user also to run & also it won't throw errors if nvidia-gpu-container- toolkit is not present.

@ARajgor
Copy link
Collaborator

ARajgor commented Apr 3, 2024

can make the latest docker files that compatible with the current changes.

@ARajgor
Copy link
Collaborator

ARajgor commented Apr 12, 2024

This code throws error. if nvidia gpu container toolkit is not present ( which will prevent non-gpu from running docker).

I would suggest to handle it gracefully using "runtime" and a environment variable in code, so that it will give flexibity for a non-GPU user also to run & also it won't throw errors if nvidia-gpu-container- toolkit is not present.

So it can handle in better way? Or I just skip this pr currently?

@juvi21 juvi21 closed this by deleting the head repository May 3, 2024
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

Successfully merging this pull request may close these issues.

None yet

3 participants