Skip to content
ComPDF
Guides

Get Started

Requirements

Before starting, please make sure that you have already met the following prerequisites.

Get ComPDF AI License Key

ComPDF AI provides two types of license key: 60-day free trial license, and formal license.

How to Get Free Trial License

Contact our sales team and we'll send you a 60-day free trial license for ComPDF AI.

How to Get Formal License

ComPDF AI is a commercial product that requires a license for application release. Any documents, sample code, or source code distribution from the released package of ComPDF AI to any third party is prohibited.

Install ComPDF AI Package

Contact us to obtain the ComPDF AI package.

Install Docker

ComPDF AI is distributed as a Docker container. To run it on your computer, you need to install the Docker runtime environment suitable for your operating system.

Please follow the instructions on the Docker official website to install and start Docker Engine.

After installing Docker, you can install Docker Compose by following the installation instructions.

Install NVIDIA Container Toolkit

Install NVIDIA Drivers

Visit the official NVIDIA Drivers page to download and install the correct driver.

Verify that your GPU is running and accessible.

The following example is Ubuntu 22.04 - NVIDIA T4

sh
# Make sure the server has gcc and make environments installed. You can check the gcc version with the following command
gcc -v
# You can check the make version with the following command
make -v
# Download the installation package
wget https://us.download.nvidia.com/tesla/550.54.15/NVIDIA-Linux-x86_64-550.54.15.run
# Execute the installation package
sudo sh NVIDIA-Linux-x86_64-550.54.15.run

Use nvidia-smi to check if the installation is successful. If the following screenshot appears, the driver has been successfully installed

image-20240402112311201

Install NVIDIA Container Toolkit

Please follow the official installation instructions of nvidia-container-toolkit to install it.

The following example is based on Ubuntu 22.04 - NVIDIA T4

  1. Configure the production repository:
sh
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
&& curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
  1. Update the package list from the repository:
sh
sudo apt-get update
  1. Install the NVIDIA Container Toolkit package:
sh
sudo apt-get install -y nvidia-container-toolkit

Run nvidia-container-toolkit -version to verify that the installation was successful

  1. Configure Docker
sh
sudo nvidia-ctk run-configure --runtime=docker
sh
# Restart the Docker daemon
sudo systemctl restart docker