Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
raxtemur committed Dec 25, 2023
1 parent 19b4aa3 commit c4fe41e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,7 @@ test="true" docker-compose up --build
```

If you need to change some application settings, you may update `config.py` according to your needs and re-build the image.
For example, you can run dedoc on CUDA by setting `on_gpu` to `True` in `config.py`.

To run Dedoc on CUDA with Docker use files from `docker_gpu` directory
([CUDA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html)
should be installed on your machine):

```shell
cd docker_gpu
docker-compose up --build
```

## Install dedoc using pip

Expand Down
17 changes: 17 additions & 0 deletions docker_gpu/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
To run Dedoc on CUDA with Docker use files from `docker_gpu` directory
([CUDA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html)
should be installed on your machine):

1. Set `on_gpu` to `True` in `config.py`
2. Run application:
```shell
cd docker_gpu
docker-compose up --build
```

You can change index if CUDA device at `docker-compose.yml`:
```
NVIDIA_VISIBLE_DEVICES: 0
NVIDIA_VISIBLE_DEVICES: 0, 3
NVIDIA_VISIBLE_DEVICES: all
```

0 comments on commit c4fe41e

Please sign in to comment.