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

[#611] refactoring toolchain entity #647

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

lev-titov
Copy link
Contributor

issue #611

@codecov-commenter
Copy link

codecov-commenter commented Dec 19, 2021

Codecov Report

Merging #647 (ff4d7e0) into develop (d7bd96e) will increase coverage by 7.96%.
The diff coverage is 80.12%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #647      +/-   ##
===========================================
+ Coverage    62.44%   70.40%   +7.96%     
===========================================
  Files          241      140     -101     
  Lines        13398     6487    -6911     
  Branches       370      370              
===========================================
- Hits          8366     4567    -3799     
+ Misses        4440     1790    -2650     
+ Partials       592      130     -462     
Flag Coverage Δ
go 56.92% <ø> (+1.93%) ⬆️
python 70.53% <80.12%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...cli/odahuflow/cli/parsers/packaging_integration.py 84.84% <ø> (ø)
packages/cli/odahuflow/cli/utils/click_utils.py 76.92% <ø> (ø)
...ckages/sdk/odahuflow/sdk/gppi/entrypoint_invoke.py 55.69% <ø> (ø)
packages/sdk/odahuflow/sdk/local/training.py 84.61% <ø> (ø)
...ckages/sdk/odahuflow/sdk/clients/api_aggregated.py 45.14% <33.33%> (ø)
.../sdk/odahuflow/sdk/models/model_training_config.py 59.82% <53.84%> (ø)
.../sdk/odahuflow/sdk/clients/training_integration.py 62.96% <62.96%> (ø)
...ckages/cli/odahuflow/cli/parsers/local/training.py 69.23% <66.66%> (ø)
packages/sdk/odahuflow/sdk/models/k8s_trainer.py 80.39% <75.00%> (ø)
.../cli/odahuflow/cli/parsers/training_integration.py 84.61% <76.92%> (ø)
... and 107 more

@lev-titov lev-titov force-pushed the 611-refactoring-toolchain-entity branch 2 times, most recently from 4c4ee21 to 85074d5 Compare December 19, 2021 15:16
@lev-titov lev-titov force-pushed the 611-refactoring-toolchain-entity branch from 0a9c263 to e6a8b64 Compare December 19, 2021 16:21
@@ -305,11 +305,11 @@ function local_setup() {
'.spec.uri=$uri | .spec.username=$username | .spec.password=$password' "${LOCAL_TEST_DATA}/odahuflow/dir/docker-pull-target.json" | jq "." | sponge "${LOCAL_TEST_DATA}/odahuflow/dir/docker-pull-target.json"

## docker image tags
local ti_version="$(jq -r .mlflow_toolchain_version "${CLUSTER_PROFILE}")"
local ti_version="$(jq -r .mlflow_training_integration "${CLUSTER_PROFILE}")"
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be changed in cluster profiles too. Just a reminder if it's already done.

toolchain:
description: IntegrationName of toolchain
trainingIntegration:
description: IntegrationName of trainer
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
description: IntegrationName of trainer
description: Training integration id

@@ -64,8 +64,8 @@ type AlgorithmSource struct {
type ModelTrainingSpec struct {
// Model Identity
Model ModelIdentity `json:"model"`
// IntegrationName of toolchain
Toolchain string `json:"toolchain"`
// IntegrationName of trainer
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// IntegrationName of trainer
// Training integration id


IntegrationName of toolchain # noqa: E501
IntegrationName of trainer # noqa: E501
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
IntegrationName of trainer # noqa: E501
trainingIntegration id # noqa: E501


IntegrationName of toolchain # noqa: E501
IntegrationName of trainer # noqa: E501
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
IntegrationName of trainer # noqa: E501
trainingIntegration id # noqa: E501

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.

Get rid of toolchain/trainer duality in API/Docs/UI/Plugins
3 participants