envd icon indicating copy to clipboard operation
envd copied to clipboard

feat(CLI): Have a way to show all exposed services in the environment

Open gaocegege opened this issue 3 years ago • 1 comments
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 👍.

gaocegege avatar Oct 17 '22 07:10 gaocegege

Related issue https://github.com/tensorchord/envd/issues/551

VoVAllen avatar Oct 17 '22 08:10 VoVAllen