I built a pytorch 2.0 image using pytorch builder repo. I need an image with no/minimum static linking as possible. I turned off these environment variables for the same:
The resultant image has nvrtcCompileProgram as statically linked in libtorch_cuda.so. I need to dynamically intercept this API but static linking makes it impossible. How can I change the build to make it dynamically linked?