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

Update examples to work with Hydrosphere~=2.4.0 #51

Merged
merged 23 commits into from
Apr 21, 2021

Conversation

tidylobster
Copy link
Contributor

No description provided.

@tidylobster tidylobster marked this pull request as draft October 30, 2020 10:17
@tidylobster tidylobster marked this pull request as ready for review November 16, 2020 09:23
- `models` — Folder contains model artifacts, ready to be uploaded to the Hydrosphere.
- `ops` — Folder contains models' training script.

## Prerequisites
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't you think it will be better to move Prerequisites to main README?

hs cluster use local
```

## Model upload
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should add reminder to pull all data from dvc? Often people forget about this step in main README


cluster = Cluster(
http_address="<hydrosphere-http-address>",
grpc_address="<hydrosphere-grpc-address>",
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should clarify where user can get grpc address

install-command: "pip install -r requirements.txt"
payload:
- "src/"
- "requirements.txt"
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we have one file with requirements.txt for model and demo?

@@ -0,0 +1,4 @@
numpy==1.16.2
Copy link
Contributor

Choose a reason for hiding this comment

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

demo folder has no requirements. Maybe it is better to move requirements to root model folder and remind about their installation in model/README.md?

@@ -0,0 +1,72 @@
from hydrosdk import Cluster, ModelVersion, LocalModel, DockerImage, SignatureBuilder
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should also leave an example of serving.yaml with monitoring and with application creation and how to use hs apply

@KirilIakovliev KirilIakovliev merged commit 13e310b into master Apr 21, 2021
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.

3 participants