quark-onnx-debug
Purpose
Convert ONNX-flow failures into a structured diagnostic report with the smallest safe recovery path.
Debugging Quark ONNX issues is tricky because errors can originate from many layers — Python
environment, the onnx package version, the installed onnxruntime* variant, custom-op
compilation, CUDA / ROCm / NPU EPs, calibration data plumbing, graph optimization, or the chosen
quantization config itself. This skill systematically narrows down the root cause.
Inputs
- Error message and stack trace from a failing run
- The exact command or
ModelQuantizer/quantize_staticinvocation that triggered it env_context.json,onnx_install_result.json,quark_install_result.json(optional, for
environment and install state)
- The model path / size and (if relevant) the
QuantizationConfigused
Outputs: validation_report.md
Diagnostic report with root cause, evidence, and the smallest safe fix.