envd
envd copied to clipboard
feat(CLI): Have a way to show all exposed services in the environment
trafficstars
Description
There is no way to tell users which port will be used and how many services are running in the environment with the given build.envd.
We should have a way to show the info to users.
def build():
base(os="ubuntu20.04", language="python3")
shell("zsh")
install.cuda(version="11.2.0", cudnn="8")
install.python_packages(
[
"torch",
"torchvision",
"torch_tb_profiler",
"--extra-index-url https://download.pytorch.org/whl/cu113",
]
)
envdlib.tensorboard(envd_port=8888, envd_dir="/home/envd/log", host_port=8888)
Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.
Related issue https://github.com/tensorchord/envd/issues/551