@@ -36,7 +36,7 @@ def init_args(self, args: Any) -> Any:
3636 if not args .vllm_version :
3737 args .vllm_version = '0.15.1'
3838 if not args .lmdeploy_version :
39- args .lmdeploy_version = '0.10.1 '
39+ args .lmdeploy_version = '0.11.0 '
4040 if not args .autogptq_version :
4141 args .autogptq_version = '0.7.1'
4242 if not args .flashattn_version :
@@ -128,7 +128,7 @@ def generate_dockerfile(self) -> str:
128128 content = f .read ()
129129 old_cpu_image = (
130130 'modelscope-registry.us-west-1.cr.aliyuncs.com/modelscope-repo/modelscope:'
131- 'ubuntu22.04-py311-torch2.3.1-1.33 .0-test' )
131+ 'ubuntu22.04-py311-torch2.3.1-1.34 .0-test' )
132132 content = content .replace ('{base_image}' , old_cpu_image )
133133 content = content .replace ('{modelscope_branch}' ,
134134 self .args .modelscope_branch )
@@ -183,7 +183,7 @@ def init_args(self, args: Any) -> Any:
183183 def generate_dockerfile (self ) -> str :
184184 old_gpu_image = (
185185 'modelscope-registry.us-west-1.cr.aliyuncs.com/modelscope-repo/modelscope:'
186- 'ubuntu22.04-cuda12.1.0-py311-torch2.3.1-tf2.16.1-1.33 .0-test' )
186+ 'ubuntu22.04-cuda12.1.0-py311-torch2.3.1-tf2.16.1-1.34 .0-test' )
187187 with open ('docker/Dockerfile.ubuntu.old' , 'r' ) as f :
188188 content = f .read ()
189189 content = content .replace ('{base_image}' , old_gpu_image )
@@ -337,6 +337,9 @@ def generate_dockerfile(self) -> str:
337337 extra_content = f .read ()
338338 extra_content = extra_content .replace ('{python_version}' ,
339339 self .args .python_version )
340+ extra_content += """
341+ RUN pip install --no-cache-dir -U icecream soundfile pybind11 py-spy
342+ """
340343 version_args = (
341344 f'{ self .args .torch_version } { self .args .torchvision_version } { self .args .torchaudio_version } '
342345 f'{ self .args .vllm_version } { self .args .lmdeploy_version } { self .args .autogptq_version } '
@@ -484,7 +487,7 @@ def push(self):
484487parser = argparse .ArgumentParser ()
485488parser .add_argument ('--base_image' , type = str , default = None )
486489parser .add_argument ('--image_type' , type = str )
487- parser .add_argument ('--python_version' , type = str , default = '3.10.14 ' )
490+ parser .add_argument ('--python_version' , type = str , default = '3.11.11 ' )
488491parser .add_argument ('--ubuntu_version' , type = str , default = '22.04' )
489492parser .add_argument ('--torch_version' , type = str , default = None )
490493parser .add_argument ('--torchvision_version' , type = str , default = None )
0 commit comments