data-juicer
Data-Juicer repo router for local recipes, Ray recovery, and service/MCP workflows.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- data-juicer
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Data-Juicer repo router for local recipes, Ray recovery, and service/MCP workflows.
- disable-model-invocation
- true
02 资源文件 10
- 参考文档references/api-reference.md1.2 KB
- 参考文档references/cli-reference.md956 B
- 参考文档references/install-and-scope.md2.1 KB
- 参考文档references/optional-extras.md1.5 KB
- 参考文档references/package-overview.md1.2 KB
- 参考文档references/repo-provenance.md2.2 KB
- 参考文档references/repo-routing-metadata.json486 B
- 参考文档references/troubleshooting.md1.4 KB
- 参考文档references/workflow-map.md809 B
- 脚本scripts/check_environment.py2.2 KB
03 SKILL.md 正文
Data-Juicer Repo Skill
Use this skill as the top-level router for the Data-Juicer repository. Keep workflow depth, long examples, and troubleshooting details in the sub-skills and shared references.
Start with the route
| User need | Read |
|---|---|
| Local recipe processing, dataset config, export, operator choice, or simple analysis | sub-skills/recipes-and-ops/SKILL.md |
| Ray execution, partitioning, checkpointing, job monitoring, or recovery | sub-skills/ray-and-recovery/SKILL.md |
| FastAPI service, MCP server, operator search, or request encoding | sub-skills/service-mcp/SKILL.md |
Quick environment check
Install guidance lives in references/install-and-scope.md; start with py-data-juicer and add tools or distributed only when the selected route needs them.
Use the bundled smoke check when you only need a safe install/import sanity check:
python scripts/check_environment.py
Useful CLI help checks:
dj-process --help
dj-analyze --help
dj-install --help
dj-mcp --help
Shared references
references/repo-provenance.mdreferences/repo-routing-metadata.jsonreferences/install-and-scope.mdreferences/package-overview.mdreferences/cli-reference.mdreferences/api-reference.mdreferences/optional-extras.mdreferences/troubleshooting.mdreferences/workflow-map.md
Scope boundaries
- Do not mix local recipe guidance with Ray recovery details.
- Do not mix HTTP/MCP request transport with local dataset semantics.
- Do not assume optional extras are installed unless the workflow needs them.
- Do not depend on the source checkout remaining present once the skill is created.
When in doubt
Start from references/workflow-map.md, then open the matching sub-skill.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).