Skip to content
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

Feature request - specify python base image #1988

Open
luarss opened this issue Oct 13, 2024 · 0 comments
Open

Feature request - specify python base image #1988

luarss opened this issue Oct 13, 2024 · 0 comments

Comments

@luarss
Copy link

luarss commented Oct 13, 2024

I am building my image using the command: cog build -t model:latest --use-cog-base-image=false --separate-weights but I face an error while parsing. Would it be a good feature to consider for slimmer images?

ⅹ invalid Python version format: strconv.Atoi: parsing "11-slim": invalid syntax

Sample cog.yaml I am using:

build:
  gpu: true
  system_packages:
    - "ffmpeg"
  python_version: "3.11-slim"
  python_packages:
    - "torch==2.3.0"
predict: "predict.py:Predictor"

Other info

  • Cog 0.9.20
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