i4Ds / Karabo-Pipeline

The Karabo Pipeline can be used as Digital Twin for SKA
https://i4ds.github.io/Karabo-Pipeline/
MIT License
11 stars 4 forks source link

Build Karabo and it's dependencies against CUDA #530

Open Lukas113 opened 10 months ago

Lukas113 commented 10 months ago

After reading conda cuda builds, I think we should do the same (if I understood the article correctly, please correct me if I may have misunderstood something). This would have the following advantages I think:

This would imply changing the conda-build recipe of karabo and cuda-enabled packages of the Feedstock as well as changing the github-workflows and the dockerfiles.

sfiruch commented 9 months ago

Wouldn't this mean we'd have to test against all CUDA versions?

Using the oldest-possible CUDA versions means we're compatible with most drivers. That looks like a win. This proposal would result in Karabo crashes for users with out-of-date drivers.

Lukas113 commented 9 months ago

If we can test against CUDA (which we don't do at the moment because the CI doesn't have GPUs), I think we shouldn't have to care about the toolkit-version because conda should identify the highest compatible version according to the documentation.

Lukas113 commented 9 months ago

That's at least my understanding about the text written in conda cuda builds I've posted in the first comment.