"...text-generation-inference.git" did not exist on "4139054b82c7eedefcb401400d5ba4172a960ecc"
Commit 39e153a3 authored by Michael Carilli's avatar Michael Carilli
Browse files

Clarifying docker launch

parent 86bd6c79
...@@ -21,6 +21,13 @@ If you want to rebuild your image, and force the latest Apex to be cloned and in ...@@ -21,6 +21,13 @@ If you want to rebuild your image, and force the latest Apex to be cloned and in
Currently, the non-`-devel` images on Pytorch Dockerhub do not contain the Cuda compiler `nvcc`. Therefore, Currently, the non-`-devel` images on Pytorch Dockerhub do not contain the Cuda compiler `nvcc`. Therefore,
images whose name does not contain `-devel` are not eligible candidates for `BASE_IMAGE`. images whose name does not contain `-devel` are not eligible candidates for `BASE_IMAGE`.
### Running your Apex container
Like any Cuda-enabled Pytorch container, a container with Apex should be run via [nvidia-docker](https://github.com/NVIDIA/nvidia-docker), for example:
```
docker run --runtime=nvidia -it --rm --ipc=host new_image_with_apex
```
## Option 2: Install Apex in a running container ## Option 2: Install Apex in a running container
Instead of building a new container, it is also a viable option to `git clone https://github.com/NVIDIA/apex.git` on bare metal, mount the Apex repo into your container at launch by running, for example, Instead of building a new container, it is also a viable option to `git clone https://github.com/NVIDIA/apex.git` on bare metal, mount the Apex repo into your container at launch by running, for example,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment