pipeline-workflows
Use this sub-skill when a user wants to author, adapt, or debug a service-backed FATE-Client Pipeline workflow: upload local data into FATE storage, construct Reader/PSI and downstream components, train/evaluate a model, dump/deploy it, run prediction, or validate example upload configuration shape before contacting a service.
Route here for
- Uploading CSV/example data with
FateFlowPipeline.transform_local_file_to_dataframe(...)and mapping it to FATE tablenamespace/namepairs. - Building pipeline DAGs with
Reader,PSI,DataSplit,FeatureScale,HeteroFeatureBinning,HeteroFeatureSelection,HeteroSecureBoost,HomoLR,HomoNN,HeteroNN,SSHELR,SSHELinR,CoordinatedLR,CoordinatedLinR,Evaluation,Union, and example-backed statistics/sample/correlation components. - Handling table naming, namespace conventions, guest/host/arbiter party ids, and multi-host
reader.hosts[...]mapping. - Saving and reusing trained pipelines with
dump_model,load_model,deploy,get_deployed_pipeline, andpredict. - Safely checking upload-config YAML structure without contacting FateFlow.
Route elsewhere
- FateFlow service installation/startup, Docker/host deployment, port conflicts, or
fate_flow/pipeline initsetup: use../deployment/SKILL.md. - Service-free direct module execution with
fate.arch.launchersorfate.ml: use../local-launchers/SKILL.md. - Low-level
python -m fate.componentsCLI descriptors,task-schema, custom component internals, or component execution configs: use../component-runtime/SKILL.md.
Operating constraints
- These workflows require a running FateFlow service and initialized pipeline client. The verified CLI surfaces are
fate_flow init|restart|start|status|stop|versionandpipeline init|show|site-info;fate_flow initaccepts--ip,--port,--home, andpipeline initaccepts--ip,--port,--path. - The inspected package set was
pyfate==2.2.0(import fate),fate_client==2.2.0,fate_flow==2.2.0, andfate_utils==0.1.0. Treat GPU and DeepSpeed as optional and unverified here; the minimum verified drafting/inspection backend is CPU. - Service-backed training and upload examples are normally not run during skill generation or environment preparation. Use them as recipes unless the user supplies a live FateFlow service, uploaded data, party ids, and an execution budget.
- Do not route deployment shell scripts or service mutation into this sub-skill. Keep runtime actions at the Python pipeline API level after service prerequisites are satisfied.
Fast workflow map
- Service gate: confirm FateFlow is initialized/running and pipeline is initialized. If not, route to
deployment. - Data gate: validate upload configs with
scripts/validate_upload_config.py; then upload/transform local files usingFateFlowPipeline().set_parties(local="0")andtransform_local_file_to_dataframe(...). - Reader/PSI gate: construct
Readerwith exactnamespace/namefor each role; addPSIfor hetero alignment when parties have overlapping match ids. - Feature/model DAG: choose preprocessing and model components from
references/component-catalog.md, wire outputs by explicit artifact names, thenadd_tasks,compile, andfit. - Inspect/save: use
get_task_info(task_name)for metrics/models anddump_model(file_path)for reuse. - Deploy/predict: reload with
FateFlowPipeline.load_model(file_path), calldeploy([...])on the trained components that should be reused, attach a freshReader, then build a prediction pipeline and callpredict().
Bundled references and helper
references/pipeline-workflows.md— stepwise upload, Reader/PSI, train/evaluate, deploy/predict recipes.references/component-catalog.md— component cheat sheet with verified method/constructor call shapes and common use cases.references/data-formats.md— table naming, namespaces, role conventions, upload YAML fields, and sample/match id rules.references/troubleshooting.md— service, table/namespace, party, model, deploy, and predict diagnostics.scripts/validate_upload_config.py— local YAML parser/validator; it never contacts FateFlow.