docker.rst 607 Bytes
Newer Older
xu rui's avatar
xu rui committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24


Docker 
=======

.. admonition:: Important
   :class: tip

   Docker requires a GPU with at least 16GB of VRAM, and all acceleration features are enabled by default.

   Before running this Docker, you can use the following command to check if your device supports CUDA acceleration on Docker. 

   .. code-block:: bash

      bash  docker run --rm --gpus=all nvidia/cuda:12.1.0-base-ubuntu22.04 nvidia-smi


.. code:: sh

   wget https://github.com/opendatalab/MinerU/raw/master/Dockerfile
   docker build -t mineru:latest .
   docker run --rm -it --gpus=all mineru:latest /bin/bash
   magic-pdf --help