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

[serving] support load entryPoint with url #566

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

frankfliu
Copy link
Contributor

Description

Brief description of what this PR is about

  • If this change is a backward incompatible change, why must this change be made?
  • Interesting edge cases to note here

@frankfliu frankfliu requested review from zachgk and a team as code owners March 23, 2023 15:46
private void downloadS3(String url) {
if (pyEnv.getInitParameters().containsKey("model_id")) {
private Path downloadModelArtifacts(String url) {
if (pyEnv.getInitParameters().containsKey("model_id") && url.startsWith("s3://")) {
Copy link
Contributor

Choose a reason for hiding this comment

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

how about we allow model_id to be an S3 url and have s3url as a alias?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, we can do that. But it will be different PR.

@frankfliu frankfliu merged commit e6db0db into deepjavalibrary:master Mar 23, 2023
@frankfliu frankfliu deleted the url branch March 23, 2023 20:10
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