Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Question: Is there a package for the Nvidia CUDA Kid
@ 2020-03-13 20:40 Frick-David
  2020-03-13 22:44 ` daniel-eys
                   ` (28 more replies)
  0 siblings, 29 replies; 30+ messages in thread
From: Frick-David @ 2020-03-13 20:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 223 bytes --]

New issue by Frick-David on void-packages repository

https://github.com/void-linux/void-packages/issues/20077

Description:
I am looking to install the nvidia CUDA toolkit to do some CUDA C programming. Is that available?

^ permalink raw reply	[flat|nested] 30+ messages in thread

* 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
                   ` (27 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (26 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (25 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (24 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (23 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (22 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (21 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (20 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (19 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (18 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (17 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (16 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (15 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (14 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (13 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (12 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (11 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (10 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (9 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (8 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (7 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (6 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (5 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (4 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (3 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
                   ` (2 subsequent siblings)
  28 siblings, 0 replies; 30+ 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] 30+ 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
  2024-02-23 19:37 ` namgo
  28 siblings, 0 replies; 30+ 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] 30+ 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
  28 siblings, 0 replies; 30+ 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] 30+ 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
  28 siblings, 0 replies; 30+ 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] 30+ messages in thread

end of thread, other threads:[~2024-02-23 19:37 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2022-04-19 13:20 ` WormChickenWizard
2022-04-19 17:16 ` Duncaen
2022-05-25 14:02 ` [Package request] " soanvig
2022-06-03  7:02 ` jjc224
2022-06-03  7:03 ` jjc224
2023-04-30 20:16 ` DirtyVoid
2023-10-03 20:47 ` namgo
2023-11-05  3:49 ` mcneb10
2023-11-05  3:56 ` mcneb10
2023-11-05  4:07 ` mcneb10
2023-11-05  9:17 ` mcneb10
2023-12-04 18:57 ` namgo
2023-12-04 18:59 ` namgo
2023-12-04 19:46 ` namgo
2023-12-04 23:58 ` mcneb10
2023-12-05 12:26 ` namgo
2023-12-05 13:06 ` namgo
2023-12-05 13:09 ` namgo
2023-12-05 13:17 ` namgo
2023-12-05 13:25 ` namgo
2023-12-05 13:29 ` namgo
2023-12-05 14:52 ` namgo
2023-12-05 15:07 ` namgo
2024-01-28 16:08 ` atisharma
2024-02-23 19:37 ` namgo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).