Skip to content

Commit

Permalink
fix: support non base images
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmerrell committed Feb 23, 2024
1 parent 9dbfe1b commit 88a0776
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion cmd/project/functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,11 @@ func startProject(networkVolumeId string) error {
handlerPath := path.Join(remoteProjectPath, config.GetPath([]string{"runtime", "handler_path"}).(string))
launchApiServer := fmt.Sprintf(`
#!/bin/bash
API_PORT=7271
if [ -z "${BASE_RELEASE_VERSION}" ]; then
API_PORT=7270
else
API_PORT=7271
fi
API_HOST="0.0.0.0"
PYTHON_VENV_PATH="%s" # Path to the Python virutal environment used during development located on the Pod at /<project_id>/venv
PROJECT_DIRECTORY="%s/%s"
Expand Down
2 changes: 1 addition & 1 deletion cmd/project/tomlBuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ name = "%s"
# container_disk_size_gb - Disk space allocated to the container. Adjust according to your needs.
uuid = "%s"
base_image = "runpod/base:0.5.2-cuda%s"
base_image = "runpod/base:0.6.1-cuda%s"
gpu_types = [
"NVIDIA GeForce RTX 4080", # 16GB
"NVIDIA RTX A4000", # 16GB
Expand Down

0 comments on commit 88a0776

Please sign in to comment.