Open Barteus opened 1 year ago
I haven't tried using v2 yet so these are guesses.
I think the kfp.v2
package is meant to use some yet-to-be-released backend features (aimed for kf 1.7). So out of the box, it might be trying to access those. Looking at this guide, I see they import only component
from kfp.v2.dsl
(and use the kfp.dsl.pipeline
, not the v2 version). So it might be that you're using the v2 compiler atm, and submitting that v2 pipeline to our v1 backend. They also mention using the mode=...V2_COMPATIBLE
arg. I think that's telling the 1.7 compiler to compile in v2's syntax, but it might mean the other way around and might help you here.
As far as I know, kfp hasn't released for wide use the v2 backend (I think they plan that for the next release), although I believe the images we deploy atm do support it. I expect there's some feature flags that would enable it, but I haven't looked into them.
When running simple code with KFP V2 in the notebook:
The log in the Pod:
Kubeflow bundle - 1.6 (full bundle) + mlflow, microk8s 1.22
Am I doing something wrong?