"doc/git@developer.sourcefind.cn:ox696c/ktransformers.git" did not exist on "d3ebdafd4b1a06dca822004407cb2e436951ce19"
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
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`.
### 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
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