Summary
The apr run --profile command profiles all operations. Add --focus option to limit profiling scope to specific components.
Requested Feature
Add --focus <COMPONENT> option to filter profile output:
apr run model.gguf -p "Hello" --profile --focus attention
apr run model.gguf -p "Hello" --profile --focus mlp
apr run model.gguf -p "Hello" --profile --focus embedding
Use Case
- Targeted performance analysis
- Debugging specific layer types
- Reduced output noise when investigating specific bottlenecks
Falsification Gate
This blocks F-PROFILE-003 in apr-model-qa-playbook certification:
"Focus filtering works - --focus attention limits scope"
Acceptance Criteria
Filed from apr-model-qa-playbook certification process.
Summary
The
apr run --profilecommand profiles all operations. Add--focusoption to limit profiling scope to specific components.Requested Feature
Add
--focus <COMPONENT>option to filter profile output:Use Case
Falsification Gate
This blocks F-PROFILE-003 in apr-model-qa-playbook certification:
Acceptance Criteria
--focus attentiononly shows attention-related profiling--focus mlponly shows FFN/MLP-related profilingFiled from apr-model-qa-playbook certification process.