AGENT SKILL

openclip_recovery_harness

Run an auditable reduced OpenCLIP scaling-law recovery by invoking generated skills and producing validator-compatible recovery artifacts.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
openclip_recovery_harness
description
Run an auditable reduced OpenCLIP scaling-law recovery by invoking generated skills and producing validator-compatible recovery artifacts.

02 资源文件 3

03 SKILL.md 正文

OpenCLIP Reduced Recovery Harness

Use this skill when full LAION-scale OpenCLIP training is infeasible but soft-mode recovery permits a declared proxy that must exercise the paper mechanism.

Inputs

  • Attempt directory with module_plan.json and environment/runtime_handoff.json.
  • Generated skill root containing the scale protocol, contrastive objective, zero-shot/retrieval evaluation, and power-law scaling skills.

Outputs

  • Recovery result JSON with target metadata copied from module_plan.json.
  • Mechanism checks for each generated core module.
  • Invocation and command evidence.

Workflow

  1. Create deterministic synthetic paired embeddings and scale points.
  2. Invoke generated skill scripts rather than duplicating their logic silently.
  3. Check contrastive loss, zero-shot accuracy, retrieval Recall@1, and power-law R2.
  4. Mark the run as proxy and reduced; do not claim full model training.
  5. Save source and invocation evidence for the Distiller recovery validator.

Validation

Run python tests/test_recovery_harness.py.

Limitations

This harness validates mechanism faithfulness only. It cannot substitute for full LAION-2B pretraining metrics.

Cycle 4 API stress check

Run python scripts/stress_checks.py --check api_imports --attempt-dir <attempt_dir> --skills-root <generated_skills_root> --output <json> to verify all generated helper APIs import cleanly.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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).

★ 351