Skip to content

Conversation

@antoniivanov
Copy link
Contributor

Pip caching is never useful for Docker builds, and it makes the image bigger and cause the process to consume more memory which can lead to OOM errors.

Pip caching is never useful for Docker builds, and it makes the image
bigger and cause the process to consume more memory which can lead to
OOM errors.
@murphp15
Copy link
Contributor

Brilliant!
Does that make this ticket (#3142) redundant ?

@mivanov1988 mivanov1988 enabled auto-merge (squash) February 21, 2024 14:15
@mivanov1988 mivanov1988 disabled auto-merge February 21, 2024 14:15
@murphp15
Copy link
Contributor

Previously I needed the below to build pytorch.
Do you know roughly how much memory it will save?

  --set deploymentBuilderResourcesDefault.limits.memory=36000Mi \
  --set deploymentBuilderResourcesDefault.requests.memory=28000Mi \
  --set deploymentBuilderResourcesDefault.limits.cpu=5 \
  --set deploymentBuilderResourcesDefault.requests.cpu=3 \

@antoniivanov
Copy link
Contributor Author

Brilliant! Does that make this ticket (#3142) redundant ?

I haven't verified it is enough so no for now. But it should help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants