-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1101,9 +1101,9 @@ def dockerfile_prepare_container_linux(argmap, backends, enable_gpu, | |
COPY --from=min_container /usr/local/cuda/lib64/stubs/libcublasLt.so /usr/local/cuda/lib64/stubs/libcublasLt.so.11 | ||
RUN mkdir -p /usr/local/cuda/targets/{cuda_arch}-linux/lib | ||
COPY --from=min_container /usr/local/cuda-11.8/targets/{cuda_arch}-linux/lib/libcudart.so.11.0 /usr/local/cuda/targets/{cuda_arch}-linux/lib/. | ||
COPY --from=min_container /usr/local/cuda-11.8/targets/{cuda_arch}-linux/lib/libcupti.so.11.8 /usr/local/cuda/targets/{cuda_arch}-linux/lib/. | ||
COPY --from=min_container /usr/local/cuda-11.8/targets/{cuda_arch}-linux/lib/libnvToolsExt.so.1 /usr/local/cuda/targets/{cuda_arch}-linux/lib/. | ||
COPY --from=min_container /usr/local/cuda/targets/{cuda_arch}-linux/lib/libcudart.so.* /usr/local/cuda/targets/{cuda_arch}-linux/lib/. | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mc-nv
Author
Contributor
|
||
COPY --from=min_container /usr/local/cuda/targets/{cuda_arch}-linux/lib/libcupti.so.* /usr/local/cuda/targets/{cuda_arch}-linux/lib/. | ||
This comment has been minimized.
Sorry, something went wrong.
rmccorm4
Collaborator
|
||
COPY --from=min_container /usr/local/cuda/targets/{cuda_arch}-linux/lib/libnvToolsExt.so.* /usr/local/cuda/targets/{cuda_arch}-linux/lib/. | ||
This comment has been minimized.
Sorry, something went wrong.
rmccorm4
Collaborator
|
||
COPY --from=min_container /usr/lib/{libs_arch}-linux-gnu/libcudnn.so.8 /usr/lib/{libs_arch}-linux-gnu/libcudnn.so.8 | ||
|
I think this will be OK as long as the symlinks transfer properly as well.
I was going to suggest we could simply use the highest level indirection like
libcudart.so
which ultimately points to the specific version, but I believe sometimes applications look specifically for the versioned library file (ex: libcudart.so.11.0), so it may be better to copy them all.example from
22.09-py3-min
:See above that
libcudart.so
->libcudart.so.11.0
->libcudart.so.11.8.89
- which just goes up one step of symlink indirection from what we had previously pointing tolibcudart.so.11.0
.