Parameter Sweeping Error Troubleshooting Guide
This guide helps you resolve common errors when using AIPerf’s parameter sweeping feature.
Common Errors and Solutions
1. Invalid Concurrency Value
Error Message:
Cause: You provided a non-numeric value for concurrency.
Solution:
2. Invalid Concurrency List
Error Message:
Cause: One or more values in your concurrency list is not a valid integer.
Solution:
3. Negative or Zero Concurrency Values
Error Message:
Cause: You provided zero or negative values in your concurrency list.
Solution:
Why: Concurrency represents the number of concurrent requests. You cannot have zero or negative concurrent requests.
4. Using Sweep Parameters Without a Sweep
Error Message:
Cause: You specified sweep-specific parameters but didn’t provide a list of values to sweep.
Solution:
Applies to:
--parameter-sweep-mode--parameter-sweep-cooldown-seconds--parameter-sweep-same-seed
5. Using Multi-Run Parameters Without Multi-Run
Error Message:
Cause: You specified multi-run parameters but only running a single trial.
Solution:
Applies to:
--confidence-level--profile-run-cooldown-seconds--profile-run-disable-warmup-after-first--set-consistent-seed
6. Dashboard UI with Parameter Sweeps
Error Message:
Cause: Dashboard UI cannot handle multiple sequential benchmark runs.
Solution:
Why: The dashboard UI requires exclusive terminal control, which conflicts with running multiple sequential benchmarks.
7. Dashboard UI with Multi-Run
Error Message:
Cause: Same as above - dashboard UI cannot handle multiple sequential runs.
Solution:
8. Invalid Cooldown Duration
Error Message:
Cause: You provided a negative cooldown value.
Solution:
9. Empty Parameter Values
Error Message:
Cause: Internal error - this shouldn’t normally happen. May indicate a bug.
Solution: Report this as a bug with your command line.
10. Insufficient Successful Runs for Aggregation
Warning Message:
Cause: Not enough successful runs at a specific concurrency value to compute confidence statistics.
Solution:
Quick Reference: Common Patterns
Single Concurrency (No Sweep)
Parameter Sweep (No Confidence)
Parameter Sweep + Confidence Reporting
Getting Help
If you encounter an error not covered in this guide:
-
Check the error message carefully - it should include:
- What went wrong
- Why it’s a problem
- How to fix it
- An example of correct usage
-
Review the documentation:
-
Report a bug if:
- The error message is unclear or unhelpful
- You believe the error is incorrect
- The suggested fix doesn’t work
Include in your bug report:
- Full command line you ran
- Complete error message
- AIPerf version (
aiperf --version) - What you expected to happen