* Re: Question: Is there a package for the Nvidia CUDA Kid
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
@ 2020-03-13 22:44 ` daniel-eys
2020-12-03 7:31 ` Question: Is there a package for the Nvidia CUDA Kit Frick-David
` (30 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: daniel-eys @ 2020-03-13 22:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 179 bytes --]
New comment by daniel-eys on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-598961043
Comment:
CUDA is currently not packaged.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Question: Is there a package for the Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
2020-03-13 22:44 ` daniel-eys
@ 2020-12-03 7:31 ` Frick-David
2021-03-12 4:50 ` WormChickenWizard
` (29 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: Frick-David @ 2020-12-03 7:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 264 bytes --]
New comment by Frick-David on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-737721665
Comment:
Unforunately using pyenv or similar tools seems iffy as they can not use pip due to an OpenSSL versus Libressl issue.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Question: Is there a package for the Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
2020-03-13 22:44 ` daniel-eys
2020-12-03 7:31 ` Question: Is there a package for the Nvidia CUDA Kit Frick-David
@ 2021-03-12 4:50 ` WormChickenWizard
2022-04-16 2:02 ` github-actions
` (28 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: WormChickenWizard @ 2021-03-12 4:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 637 bytes --]
New comment by WormChickenWizard on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-797232212
Comment:
> Okay, so I found out how to install it.
> I downloaded the .run file from the website for Ubuntu (or Debian I think) and ran it like so:
> `sudo sh *.run --silent --toolkit --samples --samplespath=/home/david/cuda-test/ `
I did a fresh install of the glibc base version, installed the Nvidia driver from the nonfree repo and after running the cuda ubuntu installer like demonstrated, it errored out for me.
It would be nice if cuda had its own package for simplicity's sake.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Question: Is there a package for the Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (2 preceding siblings ...)
2021-03-12 4:50 ` WormChickenWizard
@ 2022-04-16 2:02 ` github-actions
2022-04-19 13:20 ` WormChickenWizard
` (27 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: github-actions @ 2022-04-16 2:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 293 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1100506509
Comment:
Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Question: Is there a package for the Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (3 preceding siblings ...)
2022-04-16 2:02 ` github-actions
@ 2022-04-19 13:20 ` WormChickenWizard
2022-04-19 17:16 ` Duncaen
` (26 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: WormChickenWizard @ 2022-04-19 13:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 158 bytes --]
New comment by WormChickenWizard on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1102643420
Comment:
Bump
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Question: Is there a package for the Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (4 preceding siblings ...)
2022-04-19 13:20 ` WormChickenWizard
@ 2022-04-19 17:16 ` Duncaen
2022-05-25 14:02 ` [Package request] " soanvig
` (25 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: Duncaen @ 2022-04-19 17:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 158 bytes --]
New comment by WormChickenWizard on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1102643420
Comment:
Bump
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (5 preceding siblings ...)
2022-04-19 17:16 ` Duncaen
@ 2022-05-25 14:02 ` soanvig
2022-06-03 7:02 ` jjc224
` (24 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: soanvig @ 2022-05-25 14:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 299 bytes --]
New comment by soanvig on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1137287279
Comment:
We have nvidia driver in the repository, and we have hashcat. Hashcat in this case however requires CUDA. Just "bumping" this, but with a context at least.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (6 preceding siblings ...)
2022-05-25 14:02 ` [Package request] " soanvig
@ 2022-06-03 7:02 ` jjc224
2022-06-03 7:03 ` jjc224
` (23 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: jjc224 @ 2022-06-03 7:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 195 bytes --]
New comment by jjc224 on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1145653312
Comment:
Literally came here for the same reason as @soanvig.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (7 preceding siblings ...)
2022-06-03 7:02 ` jjc224
@ 2022-06-03 7:03 ` jjc224
2023-04-30 20:16 ` DirtyVoid
` (22 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: jjc224 @ 2022-06-03 7:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 224 bytes --]
New comment by jjc224 on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1145653312
Comment:
Literally came here for the same reason as @soanvig. Would be great to have this.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (8 preceding siblings ...)
2022-06-03 7:03 ` jjc224
@ 2023-04-30 20:16 ` DirtyVoid
2023-10-03 20:47 ` namgo
` (21 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: DirtyVoid @ 2023-04-30 20:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 201 bytes --]
New comment by DirtyVoid on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1529130172
Comment:
Is there any possibility of getting CUDA on Repository?
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (9 preceding siblings ...)
2023-04-30 20:16 ` DirtyVoid
@ 2023-10-03 20:47 ` namgo
2023-11-05 3:49 ` mcneb10
` (20 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: namgo @ 2023-10-03 20:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 719 bytes --]
New comment by namgo on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1745701266
Comment:
To anyone who stumbles across this or https://github.com/void-linux/void-packages/issues/31984 it might be helpful to look at what slackbuilds does https://github.com/Ponce/slackbuilds/blob/f7519a395ed941f7ae6fa59051a1bcd770821b1a/development/cudatoolkit/cudatoolkit.SlackBuild which is to add `--noexec` to the .run and then unpack everything manually?
I've got a void x86_64-glibc machine that I would very much like to have CUDA on, I'm a little hesitant to try anything that provides breaking changes to it today, but if nobody gets on this in the next few days, I will.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (10 preceding siblings ...)
2023-10-03 20:47 ` namgo
@ 2023-11-05 3:49 ` mcneb10
2023-11-05 3:56 ` mcneb10
` (19 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: mcneb10 @ 2023-11-05 3:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 347 bytes --]
New comment by mcneb10 on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1793626833
Comment:
Also to anyone installing this, the installer needs ncurses 5. I had to make the symlinks for version 5 from the version of ncurses I had installed (6). Other than that the driver works flawlessly so far
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (11 preceding siblings ...)
2023-11-05 3:49 ` mcneb10
@ 2023-11-05 3:56 ` mcneb10
2023-11-05 4:07 ` mcneb10
` (18 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: mcneb10 @ 2023-11-05 3:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 413 bytes --]
New comment by mcneb10 on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1793626833
Comment:
Also to anyone installing this, the installer needs ncurses 5. I had to make the symlinks for version 5 from the version of ncurses I had installed (6). Other than that the driver works flawlessly so far. I had to install libtinfo as well make symlinks for that as well
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (12 preceding siblings ...)
2023-11-05 3:56 ` mcneb10
@ 2023-11-05 4:07 ` mcneb10
2023-11-05 9:17 ` mcneb10
` (17 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: mcneb10 @ 2023-11-05 4:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 307 bytes --]
New comment by mcneb10 on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1793629968
Comment:
The installer (extracted from the installer package) dynamically loads `libncursesw`, `libformw`, and `libtinfo` so one must make version 5 symlinks for those libs
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (13 preceding siblings ...)
2023-11-05 4:07 ` mcneb10
@ 2023-11-05 9:17 ` mcneb10
2023-12-04 18:57 ` namgo
` (16 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: mcneb10 @ 2023-11-05 9:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 211 bytes --]
New comment by mcneb10 on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1793681744
Comment:
I also had to add myself to the `video` group to get OpenGL to work
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (14 preceding siblings ...)
2023-11-05 9:17 ` mcneb10
@ 2023-12-04 18:57 ` namgo
2023-12-04 18:59 ` namgo
` (15 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: namgo @ 2023-12-04 18:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 767 bytes --]
New comment by namgo on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1839277359
Comment:
If anyone's still struggling with this (as I am) the cuda installer when extracted provides directories that can be merged into an "outdir".
`NVCC=/opt/cuda-extract/outdir/bin/nvcc LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/cuda-extract/outdir/lib64/ INCLUDES="-I /opt/cuda-extract/outdir/include/ " PATH=$PATH:/opt/cuda-extract/outdir/bin/ NVVMIR_LIBRARY_DIR=/opt/cuda-extract/outdir/nvvm/libdevice/ CUDA_PATH=/opt/cuda-extract/outdir/targets/x86_64-linux/ (command)` at least points nvcc to the right place.
This is isn't directly relevant to packaging as I don't think we can legally redistribute extracted cuda binaries.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (15 preceding siblings ...)
2023-12-04 18:57 ` namgo
@ 2023-12-04 18:59 ` namgo
2023-12-04 19:46 ` namgo
` (14 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: namgo @ 2023-12-04 18:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 841 bytes --]
New comment by namgo on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1839277359
Comment:
If anyone's still struggling with this (as I am) the cuda installer when extracted provides directories that can be merged into an "outdir".
`NVCC=/opt/cuda-extract/outdir/bin/nvcc LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/cuda-extract/outdir/lib64/ INCLUDES="-I /opt/cuda-extract/outdir/include/ " PATH=$PATH:/opt/cuda-extract/outdir/bin/ NVVMIR_LIBRARY_DIR=/opt/cuda-extract/outdir/nvvm/libdevice/ CUDA_PATH=/opt/cuda-extract/outdir/targets/x86_64-linux/ (command)` at least points nvcc to the right place.
This is isn't directly relevant to packaging as I don't think we can legally redistribute extracted cuda binaries.
Edit: maybe we can?? https://archlinux.org/packages/extra/x86_64/cuda/
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (16 preceding siblings ...)
2023-12-04 18:59 ` namgo
@ 2023-12-04 19:46 ` namgo
2023-12-04 23:58 ` mcneb10
` (13 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: namgo @ 2023-12-04 19:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 956 bytes --]
New comment by namgo on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1839277359
Comment:
If anyone's still struggling with this (as I am) the cuda installer when extracted provides directories that can be merged into an "outdir"
`NVCC=/opt/cuda-extract/outdir/bin/nvcc LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/cuda-extract/outdir/lib64/ INCLUDES="-I /opt/cuda-extract/outdir/include/ " PATH=$PATH:/opt/cuda-extract/outdir/bin/ NVVMIR_LIBRARY_DIR=/opt/cuda-extract/outdir/nvvm/libdevice/ CUDA_PATH=/opt/cuda-extract/outdir/targets/x86_64-linux/ (command)` at least points nvcc to the right place.
This is isn't directly relevant to packaging as I don't think we can legally redistribute extracted cuda binaries.
Edit: maybe we can?? https://archlinux.org/packages/extra/x86_64/cuda/
edit: I managed to get a python package to compile its cuda-required code successfully using the env vars above!
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (17 preceding siblings ...)
2023-12-04 19:46 ` namgo
@ 2023-12-04 23:58 ` mcneb10
2023-12-05 12:26 ` namgo
` (12 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: mcneb10 @ 2023-12-04 23:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 283 bytes --]
New comment by mcneb10 on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1839766454
Comment:
Perhaps I could write and package and a script that automatically downloads the driver and prompts the user to accept the license agreement
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (18 preceding siblings ...)
2023-12-04 23:58 ` mcneb10
@ 2023-12-05 12:26 ` namgo
2023-12-05 13:06 ` namgo
` (11 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: namgo @ 2023-12-05 12:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
New comment by namgo on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1840696345
Comment:
@mcneb10 I'm asking on irc today, but given how archlinux packages cuda, it MIGHT be possible to distribute the binaries/libraries/headers as their own package.
I'll update when I hear back from others on how to proceed.
The EULA is confusing to me, otoh we're legally able to distribute the SDK, but only if it's used by our "application". This makes me think I should contact one of the arch linux packagers to see what they do.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (19 preceding siblings ...)
2023-12-05 12:26 ` namgo
@ 2023-12-05 13:06 ` namgo
2023-12-05 13:09 ` namgo
` (10 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: namgo @ 2023-12-05 13:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1097 bytes --]
New comment by namgo on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1840696345
Comment:
@mcneb10 I'm asking on irc today, but given how archlinux packages cuda, it MIGHT be possible to distribute the binaries/libraries/headers as their own package.
I'll update when I hear back from others on how to proceed.
The EULA is confusing to me, otoh we're legally able to distribute the SDK, but only if it's used by our "application". This makes me think I should contact one of the arch linux packagers to see what they do.
- I sent off an email to the arch linux package maintainer responsible for CUDA, I'll hopefully hear back soon.
- if I hear back with an easy licensing option, I'll describe it here
- If it requires someone signing off on a legalities email, I'll let one of the void-linux maintainers know that they can do that.
Meanwhile, I'll spend some time and figure out the least ugly hack to re-package CUDA under void's templating. Even if it ends up being a licensing nightmare, it'd be good to document how to do it.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (20 preceding siblings ...)
2023-12-05 13:06 ` namgo
@ 2023-12-05 13:09 ` namgo
2023-12-05 13:17 ` namgo
` (9 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: namgo @ 2023-12-05 13:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1328 bytes --]
New comment by namgo on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1840696345
Comment:
@mcneb10 I'm asking on irc today, but given how archlinux packages cuda, it MIGHT be possible to distribute the binaries/libraries/headers as their own package.
One nice thing about the CUDA bins/libs/headers is that they're really just that. It appears that the driver that void-linux ships with is cuda-compatible. (note: this is not a well-tested statement and I'm questioning myself).
I'll update when I hear back from others on how to proceed.
The EULA is confusing to me, otoh we're legally able to distribute the SDK, but only if it's used by our "application". This makes me think I should contact one of the arch linux packagers to see what they do.
- I sent off an email to the arch linux package maintainer responsible for CUDA, I'll hopefully hear back soon.
- if I hear back with an easy licensing option, I'll describe it here
- If it requires someone signing off on a legalities email, I'll let one of the void-linux maintainers know that they can do that.
Meanwhile, I'll spend some time and figure out the least ugly hack to re-package CUDA under void's templating. Even if it ends up being a licensing nightmare, it'd be good to document how to do it.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (21 preceding siblings ...)
2023-12-05 13:09 ` namgo
@ 2023-12-05 13:17 ` namgo
2023-12-05 13:25 ` namgo
` (8 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: namgo @ 2023-12-05 13:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]
New comment by namgo on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1840696345
Comment:
@mcneb10 I'm asking on irc today, but given how archlinux packages cuda, it MIGHT be possible to distribute the binaries/libraries/headers as their own package.
One nice thing about the CUDA bins/libs/headers is that they're really just that. It appears that the driver that void-linux ships with is cuda-compatible. (note: this is not a well-tested statement and I'm questioning myself - see next comment).
I'll update when I hear back from others on how to proceed.
The EULA is confusing to me, otoh we're legally able to distribute the SDK, but only if it's used by our "application". This makes me think I should contact one of the arch linux packagers to see what they do.
- I sent off an email to the arch linux package maintainer responsible for CUDA, I'll hopefully hear back soon.
- if I hear back with an easy licensing option, I'll describe it here
- If it requires someone signing off on a legalities email, I'll let one of the void-linux maintainers know that they can do that.
Meanwhile, I'll spend some time and figure out the least ugly hack to re-package CUDA under void's templating. Even if it ends up being a licensing nightmare, it'd be good to document how to do it.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (22 preceding siblings ...)
2023-12-05 13:17 ` namgo
@ 2023-12-05 13:25 ` namgo
2023-12-05 13:29 ` namgo
` (7 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: namgo @ 2023-12-05 13:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 817 bytes --]
New comment by namgo on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1840789318
Comment:
This comment is less important than the former, but:
https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#id5 is an important reference for driver versions to cuda versions if we're bundling them separately. Nvidia driver is 535.129(.03?) as of Dec 5, 2023 which corresponds to CUDA 12.2 - I had downloaded 12.3 and was encountering:
`cuLinkAddData(): the provided PTX was compiled with an unsupported toolchain.` running hashcat as a generally available quick test.
I think this is important for matching CUDA versions to drivers if we package.
We can also always package a nvidia-cuda-download-helper script if the cuda licensing becomes an issue.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (23 preceding siblings ...)
2023-12-05 13:25 ` namgo
@ 2023-12-05 13:29 ` namgo
2023-12-05 14:52 ` namgo
` (6 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: namgo @ 2023-12-05 13:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 869 bytes --]
New comment by namgo on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1840789318
Comment:
This comment is less important than the former, but:
https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#id5 is an important reference for driver versions to cuda versions if we're bundling them separately. Nvidia driver is 535.129(.03?) as of Dec 5, 2023 which corresponds to CUDA 12.2 - I had downloaded 12.3 and was encountering:
`cuLinkAddData(): the provided PTX was compiled with an unsupported toolchain.` running hashcat as a generally available quick test.
I think this is important for matching CUDA versions to drivers if we package (https://developer.nvidia.com/cuda-toolkit-archive).
We can also always package a nvidia-cuda-download-helper script if the cuda licensing becomes an issue.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (24 preceding siblings ...)
2023-12-05 13:29 ` namgo
@ 2023-12-05 14:52 ` namgo
2023-12-05 15:07 ` namgo
` (5 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: namgo @ 2023-12-05 14:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]
New comment by namgo on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1840789318
Comment:
This comment is less important than the former, but:
https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#id5 is an important reference for driver versions to cuda versions if we're bundling them separately. Nvidia driver is 535.129(.03?) as of Dec 5, 2023 which corresponds to CUDA 12.2 - I had downloaded 12.3 and was encountering:
`cuLinkAddData(): the provided PTX was compiled with an unsupported toolchain.` running hashcat as a generally available quick test.
I think this is important for matching CUDA versions to drivers if we package (https://developer.nvidia.com/cuda-toolkit-archive).
We can also always package a nvidia-cuda-download-helper script if the cuda licensing becomes an issue.
Here's an example of how nvidia-cuda-download-helper might look: https://gist.github.com/namgo/9aeeee2025b341779be85e596822893f - I've tested the result with hashcat briefly but haven't tried building pytorch with it yet.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (25 preceding siblings ...)
2023-12-05 14:52 ` namgo
@ 2023-12-05 15:07 ` namgo
2024-01-28 16:08 ` atisharma
` (4 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: namgo @ 2023-12-05 15:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]
New comment by namgo on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1840789318
Comment:
This comment is less important than the former, but:
https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#id5 is an important reference for driver versions to cuda versions if we're bundling them separately. Nvidia driver is 535.129(.03?) as of Dec 5, 2023 which corresponds to CUDA 12.2 - I had downloaded 12.3 and was encountering:
`cuLinkAddData(): the provided PTX was compiled with an unsupported toolchain.` running hashcat as a generally available quick test.
I think this is important for matching CUDA versions to drivers if we package (https://developer.nvidia.com/cuda-toolkit-archive).
We can also always package a nvidia-cuda-download-helper script if the cuda licensing becomes an issue.
Here's an example of how nvidia-cuda-download-helper might look: https://gist.github.com/namgo/9aeeee2025b341779be85e596822893f - I've tested the result with hashcat briefly but haven't tried building pytorch with it yet. If CUDA licensing is really an issue, a restricted package might be necessary then? Still waiting to hear back, but the above script seems to be a start.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (26 preceding siblings ...)
2023-12-05 15:07 ` namgo
@ 2024-01-28 16:08 ` atisharma
2024-02-23 19:37 ` namgo
` (3 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: atisharma @ 2024-01-28 16:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 290 bytes --]
New comment by atisharma on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1913646128
Comment:
I would LOVE to have cuda packaged but at the moment cuda SDK requires gcc <= 12 and gcc 13 seems to be in the repos. How would that be handled?
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (27 preceding siblings ...)
2024-01-28 16:08 ` atisharma
@ 2024-02-23 19:37 ` namgo
2024-03-31 2:24 ` jlhamilton777
` (2 subsequent siblings)
31 siblings, 0 replies; 33+ messages in thread
From: namgo @ 2024-02-23 19:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 779 bytes --]
New comment by namgo on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-1961884562
Comment:
@atisharma I didn't consider that, good point!
I think that a temporary solution for those desperate would be to install a non-system-wide gcc12 and a non-system-wide cuda, making use of environment variables?
So:
- download the nvidia cuda installer
- download gcc12 sources
- compile gcc12 with `DESTDIR` set somewhere like /opt/gcc12
- ./cuda_12.2.2_535.104.05_linux.run --extract=/opt/cuda-12.2.2/extract
- (possibly link/move things around like my gist above)
- set `LD_LIBRARY_PATH` and `PATH` to tell gcc and cuda where to find things
But that's not something that one can/should package, so I'm pretty stuck still.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (28 preceding siblings ...)
2024-02-23 19:37 ` namgo
@ 2024-03-31 2:24 ` jlhamilton777
2024-08-07 13:56 ` atisharma
2024-08-29 0:23 ` davidSimek
31 siblings, 0 replies; 33+ messages in thread
From: jlhamilton777 @ 2024-03-31 2:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 278 bytes --]
New comment by jlhamilton777 on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-2028531839
Comment:
It looks like GCC 13.2 is supported now https://docs.nvidia.com/cuda/cuda-installation-guide-linux/#host-compiler-support-policy
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (29 preceding siblings ...)
2024-03-31 2:24 ` jlhamilton777
@ 2024-08-07 13:56 ` atisharma
2024-08-29 0:23 ` davidSimek
31 siblings, 0 replies; 33+ messages in thread
From: atisharma @ 2024-08-07 13:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 239 bytes --]
New comment by atisharma on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-2273541334
Comment:
I found the easiest way to proceed is to use docker CUDA images and nvidia-container-toolkit.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Package request] Nvidia CUDA Kit
2020-03-13 20:40 [ISSUE] Question: Is there a package for the Nvidia CUDA Kid Frick-David
` (30 preceding siblings ...)
2024-08-07 13:56 ` atisharma
@ 2024-08-29 0:23 ` davidSimek
31 siblings, 0 replies; 33+ messages in thread
From: davidSimek @ 2024-08-29 0:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 464 bytes --]
New comment by davidSimek on void-packages repository
https://github.com/void-linux/void-packages/issues/20077#issuecomment-2316475587
Comment:
If anyone wants to use it to run stable diffusion webui, I made this: [Stable Diffusion Webui docker setup](https://github.com/davidSimek/stable_diffusion_webui_docker_setup). If you need it for anything else, you can change Dockerfile and make it do anything you need. It is inspired by last comment from @atisharma.
^ permalink raw reply [flat|nested] 33+ messages in thread