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

366-sim-be-reduce-docker-image-by-sentence-transformers-python-package-size-optimization #367

Conversation

YeagerAI-Bulat
Copy link
Collaborator

Fixes #366

What

  • reduce backend docker image
  • set PyTorch to CPU only, without NVIDIA CUDA
  • also updated Python to 3.12.5

Why

  • optimize backend docker image size from 5,77GB to 1.48GB
  • to fix failing CI due to no disk space left error

Testing done

  • tested the fix locally

Copy link

codecov bot commented Aug 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (staging@2c1f028). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff            @@
##             staging    #367   +/-   ##
=========================================
  Coverage           ?   2.23%           
=========================================
  Files              ?      87           
  Lines              ?    6748           
  Branches           ?      89           
=========================================
  Hits               ?     151           
  Misses             ?    6511           
  Partials           ?      86           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@YeagerAI-Bulat YeagerAI-Bulat reopened this Aug 9, 2024
@YeagerAI-Bulat YeagerAI-Bulat marked this pull request as ready for review August 9, 2024 08:58
@YeagerAI-Bulat YeagerAI-Bulat marked this pull request as draft August 9, 2024 09:00
@YeagerAI-Bulat YeagerAI-Bulat marked this pull request as ready for review August 9, 2024 09:01
@YeagerAI-Bulat YeagerAI-Bulat marked this pull request as draft August 9, 2024 09:15
@YeagerAI-Bulat YeagerAI-Bulat marked this pull request as ready for review August 9, 2024 13:44
@cristiam86 cristiam86 merged commit 9c5541c into staging Aug 9, 2024
15 of 17 checks passed
@cristiam86 cristiam86 deleted the 366-sim-be-reduce-docker-image-by-sentence-transformers-python-package-size-optimization branch August 9, 2024 14:07
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.

2 participants