We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 946b1ab commit 032aa21Copy full SHA for 032aa21
2 files changed
setup.py
@@ -148,6 +148,7 @@
148
"torch; python_version<'3.8'",
149
"xgboost",
150
"xgboost_ray",
151
+ "requests-toolbelt < 1.0.0",
152
]
153
)
154
tests/system/aiplatform/test_pipeline_job.py
@@ -29,7 +29,7 @@ class TestPipelineJob(e2e_base.TestEndToEnd):
29
_temp_prefix = "tmpvrtxsdk-e2e"
30
31
def test_add_pipeline_job_to_experiment(self, shared_state):
32
- from kfp import components
+ from kfp import dsl
33
34
# Components:
35
def train(
@@ -39,7 +39,7 @@ def train(
39
print(f"number_of_epochs={number_of_epochs}")
40
print(f"learning_rate={learning_rate}")
41
42
- train_op = components.create_component_from_func(train)
+ train_op = dsl.component(train)
43
44
# Pipeline:
45
def training_pipeline(number_of_epochs: int = 10):
0 commit comments