Containerized development environment for LLM based project and self hosting models for inference.
2.9K
A ready-to-use LLM application development environment for VS Code. Includes LangChain, LlamaIndex, Hugging Face Transformers, and API clients for OpenAI and Anthropic. Designed for CPU-only systems or development without GPU dependencies.
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.
vscode user for seamless devcontainer integration| Component | Version |
|---|---|
| Base Image | python:3.12-slim |
| PyTorch | Latest (CPU) |
| Python | 3.12 |
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 -it -v $(pwd):/workspace gperdrizet/llms-cpu:latest bash
Or launch a Gradio app:
docker run -p 7860:7860 -v $(pwd):/workspace gperdrizet/llms-cpu:latest \
python your_gradio_app.py
See the GitHub repository for license information.
Content type
Image
Digest
sha256:398370bd7…
Size
4.8 GB
Last updated
28 days ago
docker pull gperdrizet/llms-cpu