quark-torch-llm-ptq-workflow
Purpose
Chain the full PTQ path — model intake → quantization planning → manifest generation → confirmed execution — while keeping the user informed at each checkpoint. This workflow orchestrates the atomic skills so the user does not have to manually chain them. It stops at the quantized output; for a run that also validates and evaluates the result, use the quark-torch-llm-ptq-eval recipe.
Inputs
- Model path (HuggingFace ID or local directory)
- User goal (target precision, hardware, accuracy)
- Output directory for the quantized model
session_context.jsonfor user goal and constraintsenv_context.jsonfor hardware factsworkspace_context.jsonfor validated pathspytorch_install_result.jsonandquark_install_result.jsonto confirm runtime is ready
Outputs: run_manifest.yaml
Records the executed command and config. Side artifacts: quantized model files written to the user's output directory. The manifest is built in Step 3 above.