Containerized development environment for LLM based project and self hosting models for inference.
1.8K
A ready-to-use LLM application development environment with NVIDIA GPU support for VS Code. Includes LangChain, LlamaIndex, Hugging Face Transformers, and API clients for OpenAI and Anthropic. Designed for wide GPU compatibility and suitable for both inference and fine-tuning.
Note: This container is designed to be used as part of a VS Code Dev Container environment, not run directly. See the full environment setup on GitHub for devcontainer configuration and usage instructions.
CUDA version note: This image uses a custom PyTorch 2.11.0 wheel built for CUDA 12.8.1, supporting GPU architectures from Pascal (GTX 10xx) through Blackwell (RTX 50xx/B100/B200). CUDA 12.x is the last series to support Pascal; CUDA 13.0 removed Pascal, Maxwell, and Volta support entirely. Requires host driver ≥ 560.x on Linux.
vscode user for seamless devcontainer integration| Component | Version |
|---|---|
| Base Image | nvidia/cuda:12.8.1-cudnn-runtime-ubuntu24.04 |
| PyTorch | 2.11.0 (custom build, Pascal-Blackwell) |
| Python | 3.12 |
| CUDA | 12.8.1 |
| GPU Support | Pascal through Blackwell (sm_60 - sm_100) |
langchain - LLM application frameworkllama-index - Data framework for LLM applicationstransformers - Hugging Face model hub and inferencesmolagents - Hugging Face agents frameworkopenai - OpenAI API clientanthropic - Anthropic Claude API clientollama - Ollama server and Python client for local modelschromadb - Embedded vector databasesentence-transformers - Text embeddingsgradio - Web UI frameworkaccelerate - Model loading and distributed trainingdatasets - Hugging Face datasetstiktoken - Token countingThis image is optimized for use with VS Code Dev Containers. The vscode user (UID 1000) is pre-configured with sudo access for a seamless development experience.
You can also run the container directly with Docker:
docker run --gpus all -it -v $(pwd):/workspace gperdrizet/llms-gpu:latest bash
Or launch a Gradio app:
docker run --gpus all -p 7860:7860 -v $(pwd):/workspace gperdrizet/llms-gpu:latest \
python your_gradio_app.py
See the GitHub repository for license information.
Content type
Image
Digest
sha256:4a409d2a2…
Size
6.7 GB
Last updated
5 months ago
docker pull gperdrizet/llms-gpu