Skip to content

bug: check --no-gpu flag silently ignored for GGUF models #524

@noahgift

Description

@noahgift

Bug

In crates/apr-cli/src/commands/check.rs:

  1. run_real_checks() (line 134) accepts no_gpu but only passes it to run_real_checks_gguf() — APR and SafeTensors handlers don't receive it (lines 138-140)
  2. run_real_checks_gguf() (line 368) accepts _no_gpu but never uses it (underscore prefix) — GPU is always attempted regardless of the flag

Impact

Users running apr check model.gguf --no-gpu expect CPU-only validation, but the flag is silently ignored and GPU may still be used.

Fix

Add warning that --no-gpu is not yet implemented for check command validation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions