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

Exploring GPU Support Integration #75

Open
shikanime opened this issue Aug 17, 2023 · 2 comments
Open

Exploring GPU Support Integration #75

shikanime opened this issue Aug 17, 2023 · 2 comments

Comments

@shikanime
Copy link

shikanime commented Aug 17, 2023

Hi~👋 I'm presently assessing the feasibility of introducing GPU support to Rancher Desktop, along with gauging the extent of effort required for its implementation. While I'm also actively seeking relevant information, individuals, and discussions that might have already initiated on this topic.

Based on my comprehension of the project, the WSL distribution within Rancher Desktop is rooted in Alpine, featuring multiple Go binaries, if compiled without cgo, should be fine. Within the build.sh script, there are several instances where APK usage could potentially be replaced with APT.

To the best of my knowledge, the anticipated CUDA components are in place within /usr/lib/wsl/lib for seamless operation. However, it appears that certain components have been compiled with a focus on Ubuntu-specific libraries, including glibc, as outlined in the NVIDIA Container Toolkit documentation.

I'm curious whether a transition to Ubuntu could serve as the primary WSL distribution or if it's plausible to maintain both distributions or even directly bring support in the current distribution. It's worth noting that there could be certain network components heavily reliant on a Busybox assumptions which I'm not aware.

@jandubois
Copy link
Member

Thank you for your feedback!

It is not really feasible to change the Rancher Desktop distro away from Alpine at this time; a lot of the implementation expects things to be managed by OpenRC and not systemd.

I left some comments about CUDA at rancher-sandbox/rancher-desktop#3968 (comment). It would be great if somebody could explore if it is possible to get CUDA working with Alpine; we would certainly be interested in supporting this once we know that it is possible at all!

@pradhyumna85
Copy link

pradhyumna85 commented Oct 7, 2024

@jandubois,
Have a look at this project: https://github.com/sgerrand/alpine-pkg-glibc
Also see this related thread : sgerrand/alpine-pkg-glibc#199

I think this could help us add support for GPU (cuda)

Let me know what you think.

Ref rancher-sandbox/rancher-desktop#3968

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

No branches or pull requests

3 participants