Re:MatX: Efficient C++17 GPU numerical computing library wit...
by dheera on Wednesday October 04, 2023 @01:25PM
(#37768568)
So randomize the symbols with appeneded UUIDs
Re:MatX: Efficient C++17 GPU numerical computing library wit...
by adev_ on Wednesday October 04, 2023 @08:33PM
(#37773521)
What you just quote is what the GNU glibc is doing with symbol versioning which is an other example of giant shit show and an ABI nightmare.
And:
(1) It is a solution only Nvidia can provide: Cuda is a binary. And they will certainly not do that just to please the python community.
(2) That just create an other set of problems just because python packaging sucks in the first place.
Lets just solve the initial problem, shall we ?
Bundling system dependency in python software is always a giant shit show. I would not name that "Everything should do the same"
Any other python library (randomly cuPy) that also ship its own Cuda, with its own different version, will segfault happily because you have duplicated symbols in a single process.