Skip to content

Commit 5b82d09

Browse files
Merge pull request #256 from runpod/venv-optimizations
feat: update base and venv
2 parents c22b523 + f0a9a3b commit 5b82d09

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

runpod/cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
# --------------------------- runpod.toml Defaults --------------------------- #
11-
BASE_DOCKER_IMAGE = 'runpod/base:0.4.0-cuda{cuda_version}'
11+
BASE_DOCKER_IMAGE = 'runpod/base:0.4.3-cuda{cuda_version}'
1212
GPU_TYPES = [
1313
"NVIDIA RTX A4000", "NVIDIA RTX A4500", "NVIDIA RTX A5000",
1414
"NVIDIA GeForce RTX 3090", "NVIDIA RTX A6000"

runpod/cli/groups/project/functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def start_project(): # pylint: disable=too-many-locals, too-many-branches
186186
venv_path = os.path.join(project_path_uuid_dev, "venv")
187187
print(f'Activating Python virtual environment: {venv_path} on pod {project_pod_id}')
188188
commands = [
189-
f'python{config["runtime"]["python_version"]} -m venv {venv_path}',
189+
f'python{config["runtime"]["python_version"]} -m virtualenv {venv_path}',
190190
f'source {venv_path}/bin/activate &&'
191191
f'cd {remote_project_path} &&'
192192
'python -m pip install --upgrade pip &&'
@@ -266,7 +266,7 @@ def start_project(): # pylint: disable=too-many-locals, too-many-branches
266266
267267
echo -e "- Started API server with PID: $last_pid" && echo ""
268268
echo "Connect to the API server at:"
269-
echo "> https://$RUNPOD_POD_ID-8080.proxy.runpod.net/docs" && echo ""
269+
echo "> https://$RUNPOD_POD_ID-8080.proxy.runpod.net" && echo ""
270270
271271
while true; do
272272
if changed_file=$(inotifywait -q -r -e modify,create,delete --exclude "$exclude_pattern" {remote_project_path} --format '%w%f'); then

0 commit comments

Comments
 (0)