deepx-ai/dx-compiler/dx-agent-compiler-validate
Claude Code and agent skill by deepx-ai/dx-compiler
- community
Checking that the SKILL.md file is still in the repository.
Compilation validation and verification
Install
npx vskill@latest install deepx-ai/dx-compiler/dx-agent-compiler-validateSKILL.md
/dx-agent-compiler-validate — Compilation Validation Skill
Validates .dxnn compilation output: file integrity, HTML summary report,reference comparison, and accuracy metrics reporting.
Trigger Words
"validate", "verify", "check output", "inspect dxnn", "compilation check"
Prerequisites Checklist
- [ ] Compilation completed (output directory exists)
- [ ] Compilation ran with
--export_html(orexport_html=True) - [ ] Original ONNX model accessible (for comparison)
Phase 1: Check Output Artifacts
Gate: All expected files present.
Validation gate: .dxnn file exists and has non-zero size.
Phase 2: Inspect the Compilation Summary Report
Gate: <model>_summary.html exists and the compiler logged the save line.
DX-COM writes a self-contained HTML report when compiled with --export_html (CLI) or export_html=True (Python API). It embeds the interactive graph viewer, NPU-vs-CPU workload distribution, per-partition CPU-fallback reasons, input/output shapes, and the compilation settings — no separate viewer install.
Report generation is best-effort: DX-COM warns and still succeeds if the report fails, so a missing report never means the .dxnn is bad. Check compiler.log for the skip reason.
Review in the report (open in any browser):
- Input/output shapes match expectations
- NPU subgraph coverage (higher = better)
- No unexpected CPU fallback partitions, and the stated fallback reasons
For the machine-checkable version of the same partition data, use the compiler.log grep in Phase 3.
Validation gate: *_summary.html exists with non-zero size. Shapes correct.
Phase 3: Review Compiler Log
Gate: No errors or critical warnings in log.
Validation gate: Zero errors. Warnings reviewed and acceptable.
Phase 3.5: Cross-Validation with Precompiled Reference Model
Gate: If a precompiled reference DXNN for the same model exists in dx-runtime/dx_app/assets/models/, compare inference results to isolate compilation issues from verification code issues.
Skip condition: If no precompiled DXNN exists for the same model, skipthis phase and proceed to Phase 4.
Decision matrix:
| Reference | Generated | Diagnosis | |
|---|---|---|---|
| PASS | PASS | Compilation correct | |
| PASS | FAIL | Compilation problem — check config, quantization, PPU | |
| FAIL | FAIL | Verification code problem — fix verify.py first | |
| FAIL | PASS | Reference may be outdated |
Validation gate: Cross-validation diagnosis recorded. If compilation problem found, fix and recompile before proceeding.
Phase 4: Report
Generate validation report:
QAT (Q-Master) Outputs
If the compile used a qmaster block, also check:
output/qat_checkpoint/qat_checkpoint.qxnnexists (best checkpoint, enablesstage1_moderesume/skip)compiler.logbegins with a Q-MASTER CONFIG box matching the intended settings (unknown keys are silently ignored)- Report accuracy against the PTQ baseline on the same eval set;
verify.pyPASS alone does not prove QAT helped
See .deepx/toolsets/qat.md.
Error Recovery
| Issue | Action | |
|---|---|---|
| .dxnn missing | Re-run compilation; check for errors in terminal output | |
No *_summary.html | Confirm --export_html was passed; check compiler.log for the report warning | |
| High CPU fallback ratio | Use --aggressive_partitioning; check unsupported ops | |
| Quantization warnings | Try minmax or iqr instead of ema; adjust calibration_num; for a per-region view, compile with --quant_diagnosis and re-quantize from the .qxnn checkpoint (toolsets/dxcom-cli.md) |
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.deepx/skills/dx-agent-compiler-validate/SKILL.md
Popularity
- Repository stars
- 1
- Repository forks
- 7
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/deepx-ai/dx-compiler/dx-agent-compiler-validate)