Bug
apr prune model.gguf --calibration data.jsonl -o out.gguf accepts --calibration and displays it in the config table, but never passes it to execute_pruning() at line 173-180 of prune.rs.
Affected Code
- Line 134:
calibration: Option<&Path> accepted
- Lines 156-164:
calibration passed to print_config_table() (display only)
- Lines 173-180:
execute_pruning() called WITHOUT calibration parameter
Expected
Either:
- Pass calibration data to the pruning algorithm for calibration-aware pruning
- Or reject
--calibration with an error: "Calibration-aware pruning not yet implemented"
Actual
Flag is silently accepted, shown in the config output, but the calibration data is never used.