build(docker): Try to optimize docker#3779
Conversation
62287fa to
df0ee5b
Compare
e27981b to
c19ccc3
Compare
|
Temporarily disable DeepEP in Python 3.9 due to this issue: deepseek-ai/DeepEP#350 |
c59b58e to
441216a
Compare
fixed now |
|
The way I am used to compiling turbomind engine failed since May |
OK, I may leave it as a future work, may I? |
DeepGEMM has modified the API after We should merge this PR after the following fix Trace: Re-produce:
When entering the current LMDeploy Docker container, the default dir is
|
Thank you for your thorough and detailed review! Here is my follow-ups:
But I still want to know:
|
|
@CUHKSZzxy I think now you can use this command line to get a dev image (currently code workspace needs to be mounted from outside. ) docker build . -f docker/Dockerfile --build-arg IMAGE_TYPE=dev |
f9a56e7 to
49004a9
Compare
better performance
49004a9 to
138f904
Compare
|
As #3827 merged, I have rebased this PR and reverted commit with fixed DeepGEMM commit. |
|
Thanks for the timely fix, overall LGTM! Some replies
Dev image seems a good choice to balance image size and convenience. As for what's inside the dev image, I think it depends on personal preference? Maybe we can land this PR first, and improve the dev image when developing codes.
For non-Dev image, i would expect a fixed version of LMDepoloy, just like previous lmdeploy docker images. |
dd64f83 to
b822524
Compare
Motivation
This PR aims to improve the efficiency and future compatibility of our Docker environment.
Modification
Multi-stage build:
CUDA 12.8.1 upgrade:
Result
Current docker image size
Report from dive
Checklist