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

Add Docker GPU support #1898

Open
igor-ritual opened this issue Dec 5, 2023 · 4 comments
Open

Add Docker GPU support #1898

igor-ritual opened this issue Dec 5, 2023 · 4 comments
Labels
critical Critical bug or feature feature request sdk for bugs/FRs relating to our SDK

Comments

@igor-ritual
Copy link

Background & motivation

Docker requires special deployment resources to enable GPU support:

https://docs.docker.com/compose/gpu-support/

Desired behaviour

For Docker, use a new ServiceConfig argument to set the deploy resources.

How important is this to you?

Critical; Kurtosis is unusable for me without it.

What area of the product does this pertain to?

SDK: the Software Development Kit libraries - Typescript, Go, etc.

@github-actions github-actions bot added critical Critical bug or feature sdk for bugs/FRs relating to our SDK labels Dec 5, 2023
@leeederek
Copy link
Contributor

Hey @igor-ritual - thanks for filing this! Can you share with me some more details on your workflow (i.e. why you need GPU support)? This information will help us better understand how Kurtosis is being used/examined in the wild and will help us prioritize FRs like this :) Thanks!

@igor-ritual
Copy link
Author

Hi @leeederek , I would like to run TGI under kurtosis and the docs show that it needs special cli arguments when run under docker:

docker run --gpus all --shm-size 1g

https://github.com/huggingface/text-generation-inference

@leeederek
Copy link
Contributor

Gotcha - thats useful. I'm acknowledging receipt of this request now and will circle back to you with a decision! One more question: are you running this locally or on a remote server and for how long?

@igor-ritual
Copy link
Author

I am running this locally on a Mac for development and remotely on an ubuntu server permanently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
critical Critical bug or feature feature request sdk for bugs/FRs relating to our SDK
Projects
None yet
Development

No branches or pull requests

2 participants