llm-synthesis
Use SDGX SingleTableGPTModel for OpenAI-compatible tabular generation, metadata-only synthesis, raw-data prompting, off-table features, and offline response parsing.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- llm-synthesis
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use SDGX SingleTableGPTModel for OpenAI-compatible tabular generation, metadata-only synthesis, raw-data prompting, off-table features, and offline response parsing.
- disable-model-invocation
- true
02 资源文件 3
- 参考文档references/gpt-model-workflow.md2.3 KB
- 参考文档references/troubleshooting.md1.4 KB
- 脚本scripts/inspect_llm_settings.py1.5 KB
03 SKILL.md 正文
SDGX LLM Synthesis
Use this sub-skill when the task mentions SingleTableGPTModel, OpenAI/GPT tabular synthetic data, metadata-only generation without real rows, off-table feature inference, response parsing, OPENAI_KEY, or OPENAI_URL.
Use ../single-table-synthesis/SKILL.md for CTGAN/GaussianCopula or CLI fit/sample workflows. Use ../data-preparation/SKILL.md first when the metadata itself is the blocker.
Safe workflow
- Confirm the user permits sending the relevant table content or metadata to the configured LLM endpoint.
- Inspect settings without exposing secrets:
python sub-skills/llm-synthesis/scripts/inspect_llm_settings.py --json - Prepare either raw rows, a
DataLoader, or aMetadataobject. - Instantiate
SingleTableGPTModel, setdataset_descriptionandoff_table_featuresif needed, and callfit(...). - Set OpenAI-compatible settings via environment variables or
set_openAI_settings. - Call sample/generation methods only after
check()can pass. - Validate parsed samples: shape, columns, off-table columns, and values that should remain categorical or numeric.
Read references/gpt-model-workflow.md for API details and offline parsing patterns.
Key properties
- Default
openai_API_url:https://api.openai.com/v1/. - Default
gpt_model:gpt-3.5-turboin the inspected source. - Default
max_tokens:4000;temperature:0.1;timeout:90;query_batch:30. OPENAI_KEYandOPENAI_URLare read from the environment at initialization.off_table_featurescan request new columns inferred from existing rows/metadata.
Troubleshooting
Read references/troubleshooting.md for missing API keys, base URL mistakes, token limits, raw-data privacy, response parsing, and off-table feature failures.
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).