From f0a9a3b69f145993e7fda8ba2542bbcf2a3dc44e Mon Sep 17 00:00:00 2001 From: Justin Merrell Date: Mon, 18 Dec 2023 02:44:06 -0500 Subject: [PATCH] feat: update base and venv --- runpod/cli/__init__.py | 2 +- runpod/cli/groups/project/functions.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runpod/cli/__init__.py b/runpod/cli/__init__.py index b58a3ff2..36080e7e 100644 --- a/runpod/cli/__init__.py +++ b/runpod/cli/__init__.py @@ -8,7 +8,7 @@ # --------------------------- runpod.toml Defaults --------------------------- # -BASE_DOCKER_IMAGE = 'runpod/base:0.4.0-cuda{cuda_version}' +BASE_DOCKER_IMAGE = 'runpod/base:0.4.3-cuda{cuda_version}' GPU_TYPES = [ "NVIDIA RTX A4000", "NVIDIA RTX A4500", "NVIDIA RTX A5000", "NVIDIA GeForce RTX 3090", "NVIDIA RTX A6000" diff --git a/runpod/cli/groups/project/functions.py b/runpod/cli/groups/project/functions.py index 053f98fd..66f13ce5 100644 --- a/runpod/cli/groups/project/functions.py +++ b/runpod/cli/groups/project/functions.py @@ -186,7 +186,7 @@ def start_project(): # pylint: disable=too-many-locals, too-many-branches venv_path = os.path.join(project_path_uuid_dev, "venv") print(f'Activating Python virtual environment: {venv_path} on pod {project_pod_id}') commands = [ - f'python{config["runtime"]["python_version"]} -m venv {venv_path}', + f'python{config["runtime"]["python_version"]} -m virtualenv {venv_path}', f'source {venv_path}/bin/activate &&' f'cd {remote_project_path} &&' 'python -m pip install --upgrade pip &&' @@ -266,7 +266,7 @@ def start_project(): # pylint: disable=too-many-locals, too-many-branches echo -e "- Started API server with PID: $last_pid" && echo "" echo "Connect to the API server at:" - echo "> https://$RUNPOD_POD_ID-8080.proxy.runpod.net/docs" && echo "" + echo "> https://$RUNPOD_POD_ID-8080.proxy.runpod.net" && echo "" while true; do if changed_file=$(inotifywait -q -r -e modify,create,delete --exclude "$exclude_pattern" {remote_project_path} --format '%w%f'); then