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

✨ feat(server): Add nvidia gpu passthrough support #5

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

wanjohiryan
Copy link
Member

Description

What(what issue does this code solve/what feature does it add):
Currently on docker run --gpus 1 netris:server and run nvidia-smi you get an error.

How(how does it solve it):
We add the relevant NVIDIA_* env variables to allow for gpu passthrough.

Required Checklist:

  • I have added any necessary documentation and comments in my code (where appropriate)
  • I have added tests to make sure my code runs in all contexts

Further comments

Copy link

vercel bot commented Apr 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
netris ✅ Ready (Inspect) Visit Preview Apr 1, 2024 0:35am

@wanjohiryan wanjohiryan merged commit bf403fb into main Apr 1, 2024
8 checks passed
@wanjohiryan wanjohiryan deleted the feat/gpu branch April 1, 2024 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant