-
Notifications
You must be signed in to change notification settings - Fork 0
Installation & Setup
This comprehensive guide details the necessary system prerequisites and provides step-by-step instructions for installing the DeepDock API on your host system.
DeepDock is currently developed and tested primarily for Linux environments. While some components may function on other systems, full support, including for Windows, is planned for future releases. It is highly recommended to run DeepDock on a compatible Linux distribution.
DeepDock is designed to manage GPU-aware containers, meaning your host system must have the correct ecosystem installed before starting the DeepDock service.
Docker is the foundation for container management. DeepDock relies entirely on the Docker daemon for creating, managing, and inspecting containers.
- Requirement: Docker Engine must be installed and running.
- Installation Guide: Docker Installer
- Verification: Run the command below to ensure Docker is accessible:
docker --versionIf installation is successful, this should return the Docker version number.
DeepDock's core functionality is tied to the presence of an NVIDIA GPU and its corresponding drivers, which are necessary for the NVML monitoring feature.
- Requirement: A compatible NVIDIA GPU and the latest proprietary driver package installed.
- Driver Download: Nvidia Drivers homepage
- Verification: Run the NVIDIA System Management Interface (SMI) utility:
nvidia-smiA successful output should display your GPU status, driver version, and current utilization (e.g., temperature, memory usage).
This toolkit is critical. It allows Docker to communicate with the NVIDIA drivers and attach the necessary GPU resources to your running containers, enabling GPU access inside the container.
- Requirement: The NVIDIA Container Toolkit must be installed and configured for Docker integration.
- Installation Guide: NVIDIA Container Toolkit Docs
- Verification: Test the low-level CLI tool provided by the toolkit:
nvidia-container-cli --versionThis confirms the toolkit itself is installed. To verify Docker integration, you can run a GPU test container:
docker run --rm --gpus all nvidia/cuda:12.1.0-base nvidia-smi(This command should succeed and show the GPU output from inside the container.)
Once all system prerequisites are verified, DeepDock can be installed as a standard Python package via pip.
DeepDock requires Python 3.8 or higher. The package manager pip is essential for installation.
- Requirement: Python 3.8+ and pip must be installed.
- Installation Note: If Python or pip are not installed, please follow the official Python documentation for your specific operating system (e.g., using apt, yum, or brew).
- Verification:
python3 --version
pip --versionInstall DeepDock directly from its GitHub repository:
pip install git+[https://github.com/JuniorDurand/DeepDock.git](https://github.com/JuniorDurand/DeepDock.git)This command installs the DeepDock API (FastAPI) and all associated dependencies needed for container and NVML interaction.
After installation, you can launch the DeepDock API service using the command-line entry point.
deepdock