Skip to content

Releases: Hydrospheredata/hydro-serving-sdk

2.4.0rc4

18 Sep 07:05
a6185ab
Compare
Choose a tag to compare

Yuriy a6185ab Fixes dataclasses backport import problem with Python 3.7 (#81)

2.4.0rc3

16 Sep 13:53
39957d1
Compare
Choose a tag to compare

Kuz Le 39957d1 batch_size to batchSize (#79)

Yuriy 9cadda9 Fix DeploymentConfiguration backport for python3.6

Yuriy c4a526e Add missing pandas dep to setup.py (#77)

Ilnur Garifullin 6e9447f Add support for environment variables in DeploymentConfigs (#76)
* Add support for environment variables
* Uncomment the test case
* Reject usage of the second with_pod_nod_selector
Kuz Le 54cbb75 Add Monitoring Configuration (#72)
* Add monitoring configuration
* Fix tests
* Add MonitoringConfiguration class
* Optional MC
* Bump version
* 2.4.0 rc1
Ilnur Garifullin 61123aa Fix endpoint for metrics (#74)

Ilnur Garifullin 3a7262e Fix url construction for the Cluster object (#73)
* Fix url construction for the Cluster object
* Remove unused import

2.4.0rc2

31 Aug 10:23
Compare
Choose a tag to compare

Yuriy Gavrilin 9855dc8 fix and update documentation
Yuriy 227c854 Deployment Configuration (#70)
* NewDeploymentConfiguration module. It is responsible for representing k8s settings of your servables / models.
* DeploymentConfiguration encapsulates Container, Pod, Deployment and HPA settings.
* To create a new DeploymentConfiguration DeploymentConfigurationBuilder was made.
* @enable_camel_case decorator adds an ability to convert dataclasses to/from a camel-cased dictionary for easier communication with the hydro-serving manager's API
* Add tests for DeploymentConfiguration
* Renamed list_all to list in other entities
Ilnur Garifullin d0768ae Fix profiling field in SignatureBuilder and tests configuration (#71)
* Fix profile field parsing in SignatureBuilder
* Adjust tests configuration

2.4.0rc1

31 Jul 09:55
c333739
Compare
Choose a tag to compare

Ilnur Garifullin c333739 Restructuring ModelVersion and LocalModel (#59)
* Add training data upload functionality
* Handle case where training data is located on s3
* Refactor modelversion.py
* Remove from_file from LocalModel. The only valid way of creating
LocalModel instance is via class instantiation.
* Delete Metricable, move functionality to ModelVersion.
* Remove uploading metrics from LocalModel.
* Improve docstrings for various methods.
* Unify requests error handling
* Update method name for external model registration
* Remove all methods for parsing dict/yaml from Application
* Add examples for main classes
* Add contract validation during LocalModel creation
* Update tests and fix bugs
* Add with_metadatas method to the ApplicationBuilder that supports dict as a parameter
* Refactoring
* Update default runtime and bump version
* Fix lint issues
Co-authored-by: techkuz [email protected]
Kuz Le 0a5961d hotfix fix application imports
Yuriy 2f5ab5b Added 5 sec timeout for grpc_server_on method (#66)

Yuriy 18c74ef Add major entities to init scope (#65)
Expose the most frequently used entities in an init.py
Yuriy 6c36f64 ApplicationBuilder (#61)

* + ApplicationBuilder, ExeccutionGraph, ExecutionStage, ExecutionSatgeBuilder, ModelVariant entities
* + New specialized exceptions for an Application module
* + New tests for an Application module
Kuz Le b9ed984 (HYD-380) Support namedtuple in PredictorsModule (#67)
* add proposal for namedtuple support
* Improve isinstance_namedtuple, add tests
* Add core.Pandas support
* Fix
* Make convert_inputs_to_tensor_proto compatible with namedtuples
Co-authored-by: Yuriy Gavrilin
Kuz Le 00a29cf Add test_tensor_proto_to_py (#63)

Yuriy dca3a2c Documentation - Updated Quickstart, Tutorial and code docstrings (#64)
* Add LICENSE
* Update tutorials
* Added info to many docstrings, changed bugs in a tutorial

2.3.2

29 Jun 11:34
f27c66a
Compare
Choose a tag to compare

Yuriy f27c66a Fix Numpy <---> TensorProto Conversion (#60)
* Fixed conversion for scalar types, both from and to TensorProto
* Fixed conversion from nested python lists
* Fixed conversion for DT_STRING, DT_HALF, DT_COMPLEX64 and DT_COMPLEX128
* Added tests to test Numpy to TensorProto conversion
* Fix tests
* Bumped version from 2.3.1 to 2.3.2

2.3.1

23 Jun 07:34
b8417c0
Compare
Choose a tag to compare

Yuriy b8417c0 Extracted conversions functions from predictor module (#58)
* Extracted conversions functions from predictor module and moved them to conversions module
* Fixed conversion from Py List to TensorProto
* Add support for passing shapes as tuples in SignatureBuilder
* throw ValueError on unsupported np dtype
* bump version
Yuriy Gavrilin 11c09df update documentation for release 2.3.0

2.3.0

27 May 15:29
a6f0e45
Compare
Choose a tag to compare

Kuz Le a6f0e45 2.3.0 (#57)
* Add isExternal to ModelVersion
* Optimize tests
* 2.3.0 version

2.3.0rc2

26 May 07:52
b5a5e29
Compare
Choose a tag to compare

Kuz Le b5a5e29 (HYD-275) Drop ExternalModel, Model to ModelVersion (#56)
* (HYD-275) ExternalModel id_ to id
* (HYD-275) Drop ExtModel, Model -> ModelVersion
* (HYD-275) Code-review fixes
* (HYD-275) Add api/v2/events upload status
* (HYD-275) Rename model in Servable
* (HYD-275) Drop redundant sleeps
* (HYD-275) Fix
* (HYD-275) Code-review fixes
* (HYD-275) list_modelversions_by_model_name
* (HYD-275) lock_till_released Assembling
* (HYD-275) if not root_model_upload_response.lock_till_released() and wait
* (HYD-275) Add fixme
* (HYD-275) 2.3.0rc2
Kuz Le 64ec47d Add cluster to ExtModel (#55)

2.3.0rc1

15 May 14:19
Compare
Choose a tag to compare
2.3.0rc1 Pre-release
Pre-release

techkuz fc5c3e2 Add 2.3.0rc1 version
Konstantin Makarychev 39674b4 Add PiPI badge
Kuz Le b889b32 (HYD-110) Add pypi description (#54)
* (HYD-110) Add pypi description
* Update README.md
Co-authored-by: Bulat [email protected]
* Update setup.py
Co-authored-by: Bulat [email protected]
* Drop import os from setup.py
Co-authored-by: Bulat [email protected]
Yuriy dcf9d40 Merge pull request #53 from Hydrospheredata/chore/update_docs
Update Docs
Yuriy Gavrilin b0471c3 rebuild docs
Yuriy 2a11c00 Merge pull request #52 from Hydrospheredata/fix/cluster_grpc_connection_log_message
Missing {} in grpc connection log message
Yuriy 1656e12 Missing {} for grpc connection log
techkuz c43e122 Hotfix: delete grpc server check timeout
Kuz Le 5b09b26 (HYD-23) Add predictors (#35)
* Add first version of predictors
* Add working version of predictors
* Add predict test
* Fix
* Add predict docstring
* Fix
* Add pandas to req
* Add create_test_app
* Add create_test_servable
* Re-struct predictor
* Fix
* Fix conversions for predictor
* Add out put predictors draft ver
* Predictors now work through servable
* Add predictor tests
* Add return type for predictors
* Changed SSL certificate used by default, Fixed conversion to predictRequest from np scalars and conversion to numpy from predictResponse
* fixed df, python conversions, added value check and fixture to predictor tests
* forgot to commit files
* fix Numpy conversion for scalar signatures
* (HYD-23) Predictable to PredictableServable and PredictableApplication
* (HYD-23) Del unknown servablestatus
* (HYD-23) Cluster int GRPC/HTTP
* (HYD-23) Fix tests
* Fix monitoring test
* (HYD-23) Fix exception
* (HYD-23) Add grpc status check
* (HYD-23) Add grpc url validation
* (HYD-23) Predictable as a single class
* (HYD-23) Metricable to Monitorable
* (HYD-23) Update reqs
* (HYD-23) Move channel creation to cluster
* (HYD-23) Fix
* (HYD-23) Fix
* (HYD-23) Make Predictable abstract
* (HYD-23) Del redundant grpc funcs
* Fix
* Fix
* (HYD-23) Add grpc_server_on
* Return old build_info
* (HYD-23) Add grpc_server_status timeout
* Fix
* (HYD-23) Add Application Predictor, add Application status, Fixes, tests
* (HYD-23) Applcation predict only Monitorable
* (HYD-23) Optimization of deserialization ModelContract <-> ModelSignature <-> dicts
* (HYD-23) Drop proto send data methods
* Fix
* (HYD-23) get_monitoring_spec_params
* (HYD-23) find_in_list_by_name
* (HYD-23) Monitorable=True
Co-Authored-By: Bulat [email protected]
Co-authored-by: Yuriy Gavrilin [email protected]
Co-authored-by: Bulat [email protected]
Yuriy d5964b7 Merge pull request #50 from Hydrospheredata/chore/servables HYD-207 #done
[HYD-207] - Minor Servable Refactor
Yuriy Gavrilin cc2e845 return normal ServableStatus names
Yuriy Gavrilin dea47fb rename Servable.get -> Servable.find, fix Servable.list, minor changes to pydocs
Yuriy 9166e93 Merge pull request #49 from Hydrospheredata/feature/sphinx-docs
Feature/sphinx docs
Yuriy Gavrilin c484370 move .nojekyll, + README.md
Yuriy Gavrilin 38af5bb + quickstart, tutorial
Kuz Le f883e80 (HYD-226) Get all models for a specific model name (#48)
* (HYD-226) Add list_models_by_model_name
* (HYD-226) Add list_models_by_model_name tests
Yuriy Gavrilin 6ec8759 + Readme
Yuriy Gavrilin 8fb9200 added support for github pages
Yuriy Gavrilin 094ca5e reset docs progress
Kuz Le 37341df (HYD-171) Add ModelField dtype check (#45)
* (HYD-171) Add ModelField dtype check
* (HYD-171) Add contract.predict.singatureName and contract.predict checks
* (HYD-171) Add contract.predict.singatureName and contract.predict checks tests
* (HYD-171) Make contract in LocalModel() optional
Bulat e78d783 Fix status check in UploadResponse object (#42)
* Fix status check in UploadResponse object
* Fix status field, docstring and simplify Upload class
* Move external model serialization to Model class and fix UploadResponse field
* Separate ExternalModel and Model deserealization code
* Fix default value for isExternal flag
* Fix fields in tests
* Add status check into parser
Yuriy Gavrilin b88fd2d desccription
Yuriy Gavrilin 15d5aa2 add requirements to readme doc
Yuriy Gavrilin 2bf4f5c example
Kuz Le 134b50b Add application status (#44)
* Add ApplicationStatus
* Add ApplicationStatus test
Yuriy e03c86b Merge pull request #41 from Hydrospheredata/bug/servable_status_enum_values
Changed ServableStatus enum assigned values
Yuriy b999e40 Changed ServableStatus enum assigned values
So they would match the enum specified in proto https://github.com/Hydrospheredata/hydro-serving-protos/blob/636526d899ed8947af35bcd2431689a0fa191686/src/hydro_serving_grpc/manager/entities.proto#L39
Yuriy 8debc07 Check Servable status (#31)
* + check servable status from Servable class
* + test_servable_status test
* changed Servable.status() method to attribute in Servable__init__
Bulat 5a6b9a5 Remove exception on DT_INVALID (#40)

Bulat 03de0a5 read install-command, training-data and metadata from yaml (#37)

Kuz Le fe46190 Add endpoint all model versions (#36)
* Change list_models, now works with other endpoint, returning ext and models
* Add test to new list_models
Kuz Le 94b433e Fixes #27 (#28)
* Fixes #27
* Del Model.find() print
Kuz Le b6b8ffd Merge pull request #30 from Hydrospheredata/feature/docs
Add docs
techkuz aec8d96 Add generated markdown docs
techkuz 6120204 Add pydocs

2.2.0

26 Mar 15:03
2a986e4
Compare
Choose a tag to compare

Konstantin Makarychev 2a986e4 Update version
Bulat Lutfullin ed947ec update release job
Bulat edc6942 Chore/venv (#29)
* enable venv for build
* fix (possible) for source not found error
* add bash shebang
* add wheel to deps
* add preemptive wheel to fix errors during pyyaml installation