Skip to content

Commit 8667b11

Browse files
authored
docs: update the cuda docstring (tensorchord#1641)
Signed-off-by: Keming <[email protected]>
1 parent b295582 commit 8667b11

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

envd/api/v1/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def base(image: str = "ubuntu:20.04", dev: bool = False):
4343
"""
4444

4545

46-
def shell(name: str = "base"):
46+
def shell(name: str = "bash"):
4747
"""Interactive shell
4848
4949
Args:

envd/api/v1/install.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,10 @@ def vscode_extensions(name: List[str]):
114114

115115

116116
def cuda(version: str, cudnn: Optional[str] = "8"):
117-
"""Install CUDA dependency
117+
"""Replace the base image with a `nvidia/cuda` image.
118+
119+
If you want to install CUDA on your custom base image, you can use
120+
`install.apt_packages` or `run` to install the CUDA toolkit.
118121
119122
Args:
120123
version (str): CUDA version, such as '11.6.2'

0 commit comments

Comments
 (0)