@@ -166,7 +166,10 @@ def get_dev_env_run_plan_dict(
166166 "/bin/bash" ,
167167 "-i" ,
168168 "-c" ,
169- "(echo pip install ipykernel... && "
169+ "uv venv --prompt workflow --seed /workflow/.venv > /dev/null 2>&1"
170+ " && echo 'source /workflow/.venv/bin/activate' >> ~/.bashrc"
171+ " && source /workflow/.venv/bin/activate"
172+ " && (echo pip install ipykernel... && "
170173 "pip install -q --no-cache-dir "
171174 'ipykernel 2> /dev/null) || echo "no '
172175 'pip, ipykernel was not installed" '
@@ -181,7 +184,7 @@ def get_dev_env_run_plan_dict(
181184 ],
182185 "env" : {},
183186 "home_dir" : "/root" ,
184- "image_name" : "dstackai/base:py3.13-0.7 -cuda-12.1" ,
187+ "image_name" : "dstackai/base:py3.13-0.8 -cuda-12.1" ,
185188 "user" : None ,
186189 "privileged" : privileged ,
187190 "job_name" : f"{ run_name } -0-0" ,
@@ -322,7 +325,10 @@ def get_dev_env_run_dict(
322325 "/bin/bash" ,
323326 "-i" ,
324327 "-c" ,
325- "(echo pip install ipykernel... && "
328+ "uv venv --prompt workflow --seed /workflow/.venv > /dev/null 2>&1"
329+ " && echo 'source /workflow/.venv/bin/activate' >> ~/.bashrc"
330+ " && source /workflow/.venv/bin/activate"
331+ " && (echo pip install ipykernel... && "
326332 "pip install -q --no-cache-dir "
327333 'ipykernel 2> /dev/null) || echo "no '
328334 'pip, ipykernel was not installed" '
@@ -337,7 +343,7 @@ def get_dev_env_run_dict(
337343 ],
338344 "env" : {},
339345 "home_dir" : "/root" ,
340- "image_name" : "dstackai/base:py3.13-0.7 -cuda-12.1" ,
346+ "image_name" : "dstackai/base:py3.13-0.8 -cuda-12.1" ,
341347 "user" : None ,
342348 "privileged" : privileged ,
343349 "job_name" : f"{ run_name } -0-0" ,
0 commit comments