mirror of
https://github.com/deepseek-ai/DeepSeek-V3.git
synced 2026-11-05 00:47:48 +00:00
[GH-ISSUE #26] Request for Dockerfile or Prebuilt Docker Container #20
Labels
No labels
closed-as-stale
enhancement
question
spam
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-V3#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Emilio942 on GitHub (Dec 29, 2024).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-V3/issues/26
Hi,
I’m using the
DeepSeek-V3-Basemodel and have set up everything manually so far. However, it would be much more convenient if there were an official Dockerfile or prebuilt Docker container available for easier integration.Does an official Docker setup for this model exist? If not, would it be possible to provide one?
A prebuilt container bundling the model and its dependencies would greatly simplify the deployment process for users.
Thank you in advance for your help!
Looking forward to your response.
Best regards,
Emilio Frittrang
Are there any specific optimizations or configurations required to efficiently run the DeepSeek-V3-Base model in a Docker environment?
Base image
FROM python:3.10-slim
Install git and clean up temporary files
RUN apt-get update && apt-get install -y git && apt-get clean && rm -rf /var/lib/apt/lists/*
Set working directory
WORKDIR /app
Clone the repository and install dependencies
RUN git clone https://github.com/deepseek-ai/DeepSeek-V3.git . &&
pip install --no-cache-dir -r inference/requirements.txt
Default command to run the model
CMD ["python", "inference/generate.py"]
@GeeeekExplorer commented on GitHub (Dec 31, 2024):
Actually the infer demo is slow but the compatibility is good because we built the demo entirely using pytorch and triton code. No special configuration is required.
@mowentian commented on GitHub (Dec 31, 2024):
For actual deployment, you can use the Docker files provided by sglang, lmdeploy, or vllm, among others. The community support for us is also quite robust.
@Emilio942 commented on GitHub (Jan 5, 2025):
thank you.