Skip to content

create_model_bundle metadata param #98

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

Merged
merged 2 commits into from
May 15, 2023

Conversation

squeakymouse
Copy link
Contributor

What is the protocol for testing changes? Is there an easier way than re-installing from local repository and writing a test script that will create actual bundles on prod? 😮

For https://app.shortcut.com/scaleai/story/756558/expose-git-commit-hash-for-launch-deployments

Comment on lines -336 to -337
bundle_metadata["load_predict_fn"] = inspect.getsource(load_predict_fn) # type: ignore
bundle_metadata["load_model_fn"] = inspect.getsource(load_model_fn) # type: ignore
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@phil-scale Is this ok to remove? Didn't look like bundle_metadata was being used anywhere

Copy link
Contributor

@phil-scale phil-scale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks!

Copy link
Contributor

@phil-scale phil-scale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually could you also expose the metadata field for create_model_bundle_from_runnable_image_v2?

@squeakymouse
Copy link
Contributor Author

Yep, I think I've done that? :)

@squeakymouse squeakymouse merged commit 29f5314 into master May 15, 2023
@squeakymouse squeakymouse deleted the katiewu/create-model-bundle-metadata branch May 15, 2023 16:52
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.

2 participants