Skip to content

Commit

Permalink
Switch to single-pip-package and install nvprune
Browse files Browse the repository at this point in the history
  • Loading branch information
angerson committed Jan 28, 2021
1 parent 8bc0c84 commit 4853be0
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
cuda-command-line-tools-${CUDA/./-} \
libcublas-${CUDA/./-} \
libcublas-dev-${CUDA/./-} \
cuda-nvprune-${CUDA/./-} \
cuda-nvrtc-${CUDA/./-} \
cuda-nvrtc-dev-${CUDA/./-} \
cuda-cudart-dev-${CUDA/./-} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
cuda-command-line-tools-${CUDA/./-} \
libcublas-${CUDA/./-} \
libcublas-dev-${CUDA/./-} \
cuda-nvprune-${CUDA/./-} \
cuda-nvrtc-${CUDA/./-} \
cuda-nvrtc-dev-${CUDA/./-} \
cuda-cudart-dev-${CUDA/./-} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
cuda-command-line-tools-${CUDA/./-} \
libcublas-${CUDA/./-} \
libcublas-dev-${CUDA/./-} \
cuda-nvprune-${CUDA/./-} \
cuda-nvrtc-${CUDA/./-} \
cuda-nvrtc-dev-${CUDA/./-} \
cuda-cudart-dev-${CUDA/./-} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
cuda-command-line-tools-${CUDA/./-} \
libcublas-${CUDA/./-} \
libcublas-dev-${CUDA/./-} \
cuda-nvprune-${CUDA/./-} \
cuda-nvrtc-${CUDA/./-} \
cuda-nvrtc-dev-${CUDA/./-} \
cuda-cudart-dev-${CUDA/./-} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
cuda-command-line-tools-${CUDA/./-} \
libcublas-${CUDA/./-} \
libcublas-dev-${CUDA/./-} \
cuda-nvprune-${CUDA/./-} \
cuda-nvrtc-${CUDA/./-} \
cuda-nvrtc-dev-${CUDA/./-} \
cuda-cudart-dev-${CUDA/./-} \
Expand Down
10 changes: 6 additions & 4 deletions tensorflow/tools/dockerfiles/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ slice_sets:
ubuntu:
- add_to_name: ""
dockerfile_exclusive_name: "cpu"
args:
- TF_PACKAGE=tensorflow-cpu
partials:
- ubuntu/version
- ubuntu/cpu
Expand All @@ -103,7 +105,7 @@ slice_sets:
- add_to_name: "-gpu"
dockerfile_exclusive_name: "gpu"
args:
- TF_PACKAGE=tensorflow-gpu
- TF_PACKAGE=tensorflow
partials:
- ubuntu/version
- ubuntu/nvidia
Expand Down Expand Up @@ -595,7 +597,7 @@ slice_sets:
- UBUNTU_VERSION=18.04
- ARCH=ppc64le
- CUDA=10.0
- TF_PACKAGE=tensorflow-gpu
- TF_PACKAGE=tensorflow
partials:
- ubuntu/version
- ubuntu/nvidia
Expand Down Expand Up @@ -649,7 +651,7 @@ slice_sets:
- tensorflow
- shell
args:
- TF_PACKAGE=tf-nightly
- TF_PACKAGE=tf-nightly-cpu
tests:
- import.sh
- add_to_name: "nightly-gpu"
Expand All @@ -663,4 +665,4 @@ slice_sets:
tests:
- import-gpu.sh
args:
- TF_PACKAGE=tf-nightly-gpu
- TF_PACKAGE=tf-nightly

0 comments on commit 4853be0

Please sign in to comment.