There's multiple ways to generate a kfp component:
- from python function
- from file/text
You'll use component.load_component_from_<file|text>
when you need to interface with a command line tool.
Installing kubeflow on localmachine is not a simple task. Documentation on the official website might be outdated. At the time of writing, the solutions suggested include miniKF and microk8s. The later sets up GPU passthrough effortlessly.
If you are on a Mac, substitute command
for control
. Don't type the + (it means press both keys at once).
Shift
+ Enter
run selected cell or cells - if no cells below, insert a code cell below
Ctrl
+ B
toggle hide/show left sidebar
Ctrl
+ S
save and checkpoint
Ctrl
+ Shift
+ S
save as