400 Key Dependencies
title: “Containerization Key Dependencies” tags: [“kb”]
Containerization Key Dependencies
This document lists the critical dependencies utilized across the project’s containerization strategy.
1. Base Images
nvidia/cuda:11.7.1-runtime-ubuntu20.04: The primary base image for AI/ML applications, providing CUDA runtime and an Ubuntu environment.alpine:3.12(staging): Used as a staging image in the multi-stage build process for the customlinuxserver/ubuntu-baseimage.scratch: The ultimate minimal base image used as the final stage for the customlinuxserver/ubuntu-baseimage.
2. System Packages (via apt-get or similar)
A comprehensive list of system packages installed includes:
wgetfonts-dejavu-corersyncgitlibglib2.0-0build-essentiallibssl-devlibffi-devpython-devpython3-pipapt-utilslocalescurlpatchtzdatagnupgjellyfin-serverjellyfin-ffmpeg5jellyfin-weblibfontconfig1libfreetype6libssl1.1mesa-va-drivers
3. Python Environments
- Miniconda: Used for environment management in
hlky/stable-diffusion. virtualenv: Employed bynaifufor isolated Python environments.pip: The ubiquitous Python package installer used across all Python applications.
4. Python Libraries
4.1. AI/ML & Vision Related
pytorchtorchvisioncudatoolkittransformerssentence_transformersfaiss-cpueinopspytorch_lightningftfyscikit-imagetorchdiffeqopencv-python-headlessCLIP
4.2. Web Frameworks
fastapiuvicorn
4.3. Utilities
dotmapomegaconfjsonmergePillowpyngrok
5. Git Repositories (Application Code and Models)
The following Git repositories are cloned and used within the Docker images:
https://github.com/hlky/stable-diffusion.githttps://github.com/hlky/sd-enable-textual-inversion.githttps://gitea.cheapassbox.com/acmcarther/naifu.githttps://github.com/CompVis/stable-diffusion.githttps://github.com/sczhou/CodeFormer.githttps://github.com/salesforce/BLIP.githttps://github.com/CompVis/taming-transformers.githttps://github.com/crowsonkb/k-diffusion.githttps://github.com/AUTOMATIC1111/stable-diffusion-webui.githttps://github.com/TencentARC/GFPGAN.githttps://openai/CLIP.git
6. Container Orchestration Helpers
s6-overlay: Essential for process supervision and initialization within containers built by thelinuxserverteam.docker/dockerfile:1: A syntax directive used in Dockerfiles.
7. Internal Libraries (Implied)
hydra_node.confighydra_node.modelshydra_node.sanitize