FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Support creating of model bundles from a directory by yixu34 · Pull Request #251 · scaleapi/nucleus-python-client · GitHub

Support creating of model bundles from a directory - #251

Merged
yixu34 merged 12 commits into
hmi-releasefrom
yi/support-create-model-bundle-from-dir
Mar 12, 2022
Merged

Support creating of model bundles from a directory#251
yixu34 merged 12 commits into
hmi-releasefrom
yi/support-create-model-bundle-from-dir

Conversation

yixu34 commented Mar 9, 2022
edited
Loading

Copy link
Copy Markdown
Member

Allows users to create model bundles from a local zip file. Here's an example invocation that I tested:

model_bundle = deploy_client.create_model_bundle_from_dir(
    model_bundle_name="yi-bundle-dir-test6",
    base_path="/Users/yixu/projects/models/lidar",
    requirements_path="/Users/yixu/projects/models/lidar/requirements.txt",
    env_params={"framework_type": "pytorch", "pytorch_image_tag": "1.7.1-cuda11.0-cudnn8-runtime"}, 
    load_predict_fn_module_path="lidar.segmentation.tasks.load_predict_fn", 
    load_model_fn_module_path="lidar.segmentation.models.decorator.get_segmentation_model"
)

yixu34 requested a review from a team March 11, 2022 02:18
yixu34 self-assigned this Mar 11, 2022
yixu34 marked this pull request as ready for review March 11, 2022 02:19

syandroo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

cool!

yixu34 commented Mar 12, 2022

Copy link
Copy Markdown
Member Author

Gonna merge since this seems unrelated (plus it's in a feature branch)

yixu34 merged commit b23b2a1 into hmi-release Mar 12, 2022
yixu34 deleted the yi/support-create-model-bundle-from-dir branch March 12, 2022 03:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL