Skip to content

python executable not found when running a docker image with Runpod #5306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
SeungjinYang opened this issue Apr 22, 2025 · 1 comment
Open
Assignees

Comments

@SeungjinYang
Copy link
Collaborator

service:
  readiness_probe: /healthcheck
  replica_policy:
    min_replicas: 2
    max_replicas: 12
    target_qps_per_replica: 10

resources:
  image_id: docker:pytorch/pytorch:2.6.0-cuda12.4-cudnn9-runtime
  cloud: runpod
  region: US
  ports: 8000
  cpus: 4+
  memory: 8+
  disk_size: 32
  accelerators:
    - RTX4090
  use_spot: false

setup: |
  pip install --upgrade pip setuptools
  pip install --no-cache-dir -r requirements.txt

run: |
  python main.py

Here is the skypilot YAML. The base image, when run standslone, does return an entry for which python.

@SeungjinYang
Copy link
Collaborator Author

This issue is potentially a duplicate of #4814, in which case #5303 will resolve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant