Skip to content
On this page

open_mmlab

python
def open_mmlab(packages)

Install packages from OpenMMLab

Arguments:

  • packages List[str] - package name

golang

python
def golang(version="1.18.8")

Install Golang.

Arguments:

  • version Optional[str] - golang version

tensorboard

python
def tensorboard(envd_port=6006,
                envd_dir="/home/envd/logs",
                host_port=0,
                host_dir="/tmp")

Configure TensorBoard.

Make sure you have permission for host_dir

Arguments:

  • envd_port Optional[int] - port used by envd container
  • envd_dir Optional[str] - log storage mount path in the envd container
  • host_port Optional[int] - port used by the host, if not specified or equals to 0, envd will randomly choose a free port
  • host_dir Optional[str] - log storage mount path in the host

jupyter_lab

python
def jupyter_lab(envd_port=8888, host_port=0, token="''")

Configure Jupyter Lab.

Arguments:

  • envd_port Optional[int] - port used by envd container (default=8888)
  • host_port Optional[int] - port used by host, if not specified or equals to 0, envd will randomly choose a free port
  • token Optional[str] - access token

tensorrt

python
def tensorrt(os="20.04", cuda="11.6.2", trt="8.4.3.1")

Install tensorrt.

Arguments:

  • os Optional[str] - os version
  • cuda Optional[str] - cuda version
  • trt Optional[str] - tensorrt version

Released under the Apache-2.0 License. Built with VitePress.