Skip to content

[#611] refactoring toolchain entity#647

Open
lev-titov wants to merge 6 commits into
developfrom
611-refactoring-toolchain-entity
Open

[#611] refactoring toolchain entity#647
lev-titov wants to merge 6 commits into
developfrom
611-refactoring-toolchain-entity

Conversation

@lev-titov

Copy link
Copy Markdown
Contributor

issue #611

@codecov-commenter

codecov-commenter commented Dec 19, 2021

Copy link
Copy Markdown

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

## 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
Copy Markdown
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
Copy Markdown
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

Model ModelIdentity `json:"model"`
// IntegrationName of toolchain
Toolchain string `json:"toolchain"`
// IntegrationName of trainer

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.

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

"""Gets the training_integration of this ModelTrainingSpec.

IntegrationName of toolchain # noqa: E501
IntegrationName of trainer # noqa: E501

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.

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

"""Sets the training_integration of this ModelTrainingSpec.

IntegrationName of toolchain # noqa: E501
IntegrationName of trainer # noqa: E501

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.

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