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

Model Optimizer Lamda Function #9

Merged
merged 10 commits into from
Dec 23, 2023

Conversation

larsll
Copy link
Contributor

@larsll larsll commented Dec 9, 2023

Issue #, if available: #10

Description of changes:
The change introduces a lambda function that can run the Tensorflow to OpenVINO optimizer in the cloud.

The PR contains parts of functionality copied in from https://github.com/aws-deepracer/aws-deepracer-model-optimizer-pkg and https://github.com/aws-deepracer/aws-deepracer-systems-pkg, which provides the functionality that is to be replicated.

Functionality:

  • New Lambda function, based on a container with OpenVINO installed will trigger once the lambda that uploads a model into the final S3 bucket is completed.
  • The optimization files (model.bin, model.xml and model.mapping) are added to the overall tar.gz file. It is uploaded into the same location in S3.
  • Introduces a new state "OPTIMIZED"
  • S3 bucket versioning turned on to be able to debug any issues.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@larsll larsll marked this pull request as ready for review December 15, 2023 16:29
@larsll
Copy link
Contributor Author

larsll commented Dec 15, 2023

@davidfsmith @StevenAskwith - this should now be ready for review.

@davidfsmith
Copy link
Contributor

Thanks for submitting, will take a look and get back to you.

@davidfsmith davidfsmith merged commit 73655ce into aws-solutions-library-samples:main Dec 23, 2023
@davidfsmith
Copy link
Contributor

All good, merged in and thanks for your contributions.

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

Successfully merging this pull request may close these issues.

None yet

2 participants