pipeline-workflows
Service-backed FATE-Client Pipeline workflows for data upload, Reader/PSI, preprocessing, model training, evaluation, deploy/predict, and upload-config validation.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- pipeline-workflows
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Service-backed FATE-Client Pipeline workflows for data upload, Reader/PSI, preprocessing, model training, evaluation, deploy/predict, and upload-config validation.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/component-catalog.md14.2 KB
- 参考文档references/data-formats.md7.1 KB
- 参考文档references/pipeline-workflows.md13.2 KB
- 参考文档references/troubleshooting.md9.0 KB
03 SKILL.md 正文
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.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.