Maybe package extensions could solve your issue elegantly.
Tutorial:
abraemer
6
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Dynamically Bypass CUDA.jl for non-gpu machine | 20 | 1943 | August 19, 2021 | |
| Are extension packages importable? | 26 | 3960 | October 2, 2023 | |
| How to add CUDA as optional dependency? | 19 | 1940 | January 5, 2022 | |
| Write a GPU/CPU agnostic package with Flux | 5 | 1074 | October 11, 2019 | |
| UndefVarError while importing CUDA | 3 | 275 | September 8, 2021 |