mirror of
https://github.com/zml/zml.git
synced 2026-11-16 19:11:09 +00:00
This PR introduces CUDA sandboxing. This essentially means: - Removing all CUDA related dependencies off the leaf binary. - Sandboxing the whole CUDA dependency graph. - Mark dlopen direct dependencies of the PJRT shared library as NEEDED. - Set the RPATH to the sandbox for all libraries that have sandbox dependencies. - Load the PJRT plugin from the sandbox. And in the case of CUDA specifically for now: - Enable usage of weak CUDA symbols without linking against CUDA directly.
21 lines
726 B
21 lines
726 B