Skip to content

Commit

Permalink
Bump base dstack image version to 0.5 (#1541)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvstme authored Aug 12, 2024
1 parent 5b301d2 commit d08ec31
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/docs/dev-environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ name: vscode

python: "3.11"
# Uncomment to use a custom Docker image
#image: dstackai/base:py3.10-0.4-cuda-12.1
#image: dstackai/base:py3.10-0.5-cuda-12.1

ide: vscode

Expand Down
6 changes: 3 additions & 3 deletions docs/docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Your folder can be a regular local folder or a Git repo.

python: "3.11"
# Uncomment to use a custom Docker image
#image: dstackai/base:py3.10-0.4-cuda-12.1
#image: dstackai/base:py3.10-0.5-cuda-12.1

ide: vscode

Expand Down Expand Up @@ -96,7 +96,7 @@ Your folder can be a regular local folder or a Git repo.

python: "3.11"
# Uncomment to use a custom Docker image
#image: dstackai/base:py3.10-0.4-cuda-12.1
#image: dstackai/base:py3.10-0.5-cuda-12.1

# Commands of the task
commands:
Expand Down Expand Up @@ -170,7 +170,7 @@ Your folder can be a regular local folder or a Git repo.

python: "3.11"
# Uncomment to use a custom Docker image
#image: dstackai/base:py3.10-0.4-cuda-12.1
#image: dstackai/base:py3.10-0.5-cuda-12.1

# Commands of the service
commands:
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/reference/dstack.yml/service.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ port: 8000
name: http-server-service

# Any custom Docker image
image: dstackai/base:py3.10-0.4-cuda-12.1
image: dstackai/base:py3.10-0.5-cuda-12.1

# Commands of the service
commands:
Expand All @@ -89,7 +89,7 @@ port: 8000
name: http-server-service
# Any private Docker iamge
image: dstackai/base:py3.10-0.4-cuda-12.1
image: dstackai/base:py3.10-0.5-cuda-12.1
# Credentials of the private registry
registry_auth:
username: peterschmidt85
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/reference/dstack.yml/task.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ type: dev-environment
name: train
# Any custom Docker image
image: dstackai/base:py3.10-0.4-cuda-12.1
image: dstackai/base:py3.10-0.5-cuda-12.1
# Commands of the task
commands:
Expand All @@ -111,7 +111,7 @@ commands:
name: train
# Any private Docker image
image: dstackai/base:py3.10-0.4-cuda-12.1
image: dstackai/base:py3.10-0.5-cuda-12.1
# Credentials of the private Docker registry
registry_auth:
username: peterschmidt85
Expand Down
2 changes: 1 addition & 1 deletion examples/.dstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: vscode

python: "3.11"
# Uncomment to use a custom Docker image
#image: dstackai/base:py3.10-0.4-cuda-12.1
#image: dstackai/base:py3.10-0.5-cuda-12.1

ide: vscode

Expand Down
2 changes: 1 addition & 1 deletion runner/cmd/shim/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func getGpuInfo() [][]string {
"run",
"--rm",
"--gpus", "all",
"dstackai/base:py3.12-0.4-cuda-12.1",
"dstackai/base:py3.12-0.5-cuda-12.1",
"nvidia-smi", "--query-gpu=gpu_name,memory.total", "--format=csv",
},
StreamStdio: false,
Expand Down
2 changes: 1 addition & 1 deletion src/dstack/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = None
__is_release__ = False
base_image = "0.4"
base_image = "0.5"
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ async def test_provisioning_shim(self, test_db, session: AsyncSession):
ShimClientMock.return_value.submit.assert_called_once_with(
username="",
password="",
image_name="dstackai/base:py3.11-0.4-cuda-12.1",
image_name="dstackai/base:py3.11-0.5-cuda-12.1",
container_name="test-run-0-0",
container_user="root",
shm_size=None,
Expand Down
4 changes: 2 additions & 2 deletions src/tests/_internal/server/routers/test_runs.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def get_dev_env_run_plan_dict(
],
"env": {},
"home_dir": "/root",
"image_name": "dstackai/base:py3.8-0.4-cuda-12.1",
"image_name": "dstackai/base:py3.8-0.5-cuda-12.1",
"job_name": f"{run_name}-0-0",
"replica_num": 0,
"job_num": 0,
Expand Down Expand Up @@ -283,7 +283,7 @@ def get_dev_env_run_dict(
],
"env": {},
"home_dir": "/root",
"image_name": "dstackai/base:py3.8-0.4-cuda-12.1",
"image_name": "dstackai/base:py3.8-0.5-cuda-12.1",
"job_name": f"{run_name}-0-0",
"replica_num": 0,
"job_num": 0,
Expand Down

0 comments on commit d08ec31

Please sign in to comment.