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

build(interactive): Reduce image size #3247

Merged
merged 5 commits into from
Sep 25, 2023

Conversation

zhanglei1949
Copy link
Collaborator

@zhanglei1949 zhanglei1949 commented Sep 21, 2023

  1. Reduce the Interactive image size with multi-stage building.
  • Reduce the size of interactive-runtime from 4.76GB to 2.3GB.

Fix #3216
Fix #3094

  1. Fix the installation of Flex. Make sure make install install the headers to the right place.
  • Generate proto files to flex/proto_generated_gie rather than proto_generated_gie, so make install will install headers to ${CMAKE_INSTALL_PREFIX}/include/flex/proto_generated_gie.
  1. Refactor the load_plan_and_gen.sh script to print more readable log.
  2. Add binary graph_loader to providing Graph-Loading utilities.

@zhanglei1949 zhanglei1949 force-pushed the reduce_image_size branch 2 times, most recently from 23fcf01 to 00f58bb Compare September 22, 2023 01:36
@zhanglei1949 zhanglei1949 changed the title refactor(interactive): Reduce image size build(interactive): Reduce image size Sep 22, 2023
@zhanglei1949 zhanglei1949 force-pushed the reduce_image_size branch 2 times, most recently from 89055cf to 10cc591 Compare September 22, 2023 07:20
fix

minor

reduce image size

use err/info instead of echo

fix CI

fix

fix

fix

update interactive runtime Dockerfile

fix

fix

fix

correct port

minor fix

fix compile rules
@zhanglei1949 zhanglei1949 merged commit e57af83 into alibaba:main Sep 25, 2023
27 checks passed
@zhanglei1949 zhanglei1949 deleted the reduce_image_size branch September 27, 2023 06:02
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

Successfully merging this pull request may close these issues.

Reduce the size of interactive image [Flex] Can we reduce the size of HQPS engine's image size
3 participants