Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 4958fe2

Browse files
committed
Add a note for using sudo and update docker images
1 parent dd9b5e8 commit 4958fe2

File tree

4 files changed

+36
-5
lines changed

4 files changed

+36
-5
lines changed

docs/source/installation_conda.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ Now, Install cuDNN v6.0 (skip if you have it already):
140140
$ cp -P cuda/lib64/libcudnn* /usr/local/cuda/lib64/
141141
$ chmod a+r /usr/local/cuda/lib64/libcudnn*
142142
143+
.. note::
144+
145+
Please use :code:`sudo` to run the command that might fail with permission issues. Otherwise, run
146+
the commands as is.
147+
143148
Set environment variables:
144149

145150
.. code-block:: bash
@@ -163,6 +168,11 @@ to install the protobuf.
163168
$ wget --quiet https://github.com/google/protobuf/archive/v3.4.0.zip -O proto.zip && unzip -qq proto.zip -d .
164169
$ cd protobuf-3.4.0 && ./autogen.sh && ./configure && make -j 8 && make install && ldconfig
165170
171+
.. note::
172+
173+
Please use :code:`sudo` to run the command that might fail with permission issues. Otherwise, run
174+
the commands as is.
175+
166176
Now check your proto version by running:
167177

168178
.. code-block:: bash

docs/source/installation_conda_dep.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ to install the protobuf.
6565
$ wget --quiet https://github.com/google/protobuf/archive/v3.4.0.zip -O proto.zip && unzip -qq proto.zip -d .
6666
$ cd protobuf-3.4.0 && ./autogen.sh && ./configure && make -j 8 && make install && ldconfig
6767
68+
.. note::
69+
70+
Please use :code:`sudo` to run the command that might fail with permission issues. Otherwise, run
71+
the commands as is.
72+
73+
6874
Now check your proto version by running:
6975

7076
.. code-block:: bash
@@ -124,6 +130,11 @@ Now, Install cuDNN v6.0 (skip if you have it already):
124130
$ cp -P cuda/lib64/libcudnn* /usr/local/cuda/lib64/
125131
$ chmod a+r /usr/local/cuda/lib64/libcudnn*
126132
133+
.. note::
134+
135+
Please use :code:`sudo` to run the command that might fail with permission issues. Otherwise, run
136+
the commands as is.
137+
127138
Set environment variables:
128139

129140
.. code-block:: bash

docs/source/installation_docker_image.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The conda and non-conda images for each setup are below:
1919

2020
.. code-block:: bash
2121
22-
$ docker run -i -t tensorcomprehensions/linux-trusty-gcc4.8-tapir5.0-cuda8-cudnn6-py3-conda:x86
22+
$ docker run -i -t tensorcomprehensions/linux-trusty-gcc4.8-tapir5.0-cuda8-cudnn6-py3-conda:x86_1
2323
2424
Now, follow the instructions below to build TC:
2525

@@ -31,7 +31,7 @@ Now, follow the instructions below to build TC:
3131

3232
.. code-block:: bash
3333
34-
$ docker run -i -t tensorcomprehensions/linux-trusty-gcc4.8-tapir5.0-cuda8-cudnn6-py3:x86
34+
$ docker run -i -t tensorcomprehensions/linux-trusty-gcc4.8-tapir5.0-cuda8-cudnn6-py3:x86_1
3535
3636
Now, to install TC, follow :ref:`non_conda_install_tc`
3737

@@ -40,7 +40,7 @@ Now, to install TC, follow :ref:`non_conda_install_tc`
4040

4141
.. code-block:: bash
4242
43-
$ docker run -i -t tensorcomprehensions/linux-xenial-gcc5-tapir5.0-cuda9-cudnn7-py3-conda:x86
43+
$ docker run -i -t tensorcomprehensions/linux-xenial-gcc5-tapir5.0-cuda9-cudnn7-py3-conda:x86_1
4444
4545
We don't ship the conda packages for TC dependencies that are compatible with gcc5 yet, so you have to
4646
build them from source. To install TC, see instructions here: :ref:`conda_install_tc`
@@ -50,7 +50,7 @@ build them from source. To install TC, see instructions here: :ref:`conda_instal
5050

5151
.. code-block:: bash
5252
53-
$ docker run -i -t tensorcomprehensions/linux-xenial-gcc5-tapir5.0-cuda9-cudnn7-py3:x86
53+
$ docker run -i -t tensorcomprehensions/linux-xenial-gcc5-tapir5.0-cuda9-cudnn7-py3:x86_1
5454
5555
Now, to install TC, follow :ref:`non_conda_install_tc`
5656

@@ -66,7 +66,7 @@ have :code:`nvidia-docker` installed. Then run the image using following command
6666

6767
.. code-block:: bash
6868
69-
$ nvidia-docker run --rm -i -t tensorcomprehensions/trusty-gcc4.8-py3-conda-cuda:x86
69+
$ nvidia-docker run --rm -i -t tensorcomprehensions/trusty-gcc4.8-py3-conda-cuda:x86_1
7070
7171
Now, follow the instructions below to build TC:
7272

docs/source/installation_non_conda.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ Now, Install cuDNN v6.0 (skip if you have it already):
101101
$ cp -P cuda/lib64/libcudnn* /usr/local/cuda/lib64/
102102
$ chmod a+r /usr/local/cuda/lib64/libcudnn*
103103
104+
.. note::
105+
106+
Please use :code:`sudo` to run the command that might fail with permission issues. Otherwise, run
107+
the commands as is.
108+
104109
Set environment variables:
105110

106111
.. code-block:: bash
@@ -120,6 +125,11 @@ to install the protobuf.
120125
$ wget --quiet https://github.com/google/protobuf/archive/v3.4.0.zip -O proto.zip && unzip -qq proto.zip -d .
121126
$ cd protobuf-3.4.0 && ./autogen.sh && ./configure && make -j 8 && make install && ldconfig
122127
128+
.. note::
129+
130+
Please use :code:`sudo` to run the command that might fail with permission issues. Otherwise, run
131+
the commands as is.
132+
123133
Now check your proto version by running:
124134

125135
.. code-block:: bash

0 commit comments

Comments
 (0)