Planning garak scan duration: why a full run can mean tens of thousands of requests, what the built-in fast config includes, and which levers (probe selection, generations, prompt cap, parallelism) cut time most.
Using system.parallel_attempts and max_workers to speed garak scans against hosted endpoints, avoiding file descriptor limits, and agreeing request rates with whoever runs the target endpoint.
Working out model API or GPU cost before and after a garak run: request counts from probe selection and generations, character counts from the count_tokens tool, and cutting spend without losing coverage.
Choosing where the model under test runs during a garak scan: local Hugging Face loading versus a hosted or self-served endpoint, memory and disk needs, mid-run failures, and parallelism.
Keeping garak scans stable against rate-limited endpoints: the REST generator's rate-limit and skip codes, request timeouts, backoff in hosted generators, and what dropped requests look like to the endpoint owner.
Adding garak to a CI pipeline such as GitLab CI: a short probe set per merge request, installing from PyPI, reading eval results from the JSONL report to pass or fail a stage, and keeping secrets and harmful output out of job logs.
Running garak on a schedule, for example as a Kubernetes CronJob, to catch regressions after model, prompt or guardrail changes and after garak probe updates, and how to compare each run with the last.
Scanning models where hosts have no internet access: pre-staging garak, its dependencies and Hugging Face artefacts, local detector and translation models, and probes that fetch datasets at run time.
Where garak writes reports, hit logs and garak.log, moving them with report_dir, --report_prefix and XDG_DATA_HOME, and retaining reports that contain harmful prompts and outputs.
Scanning internal LLM endpoints that need client certificates, corporate proxies or private CAs with garak's REST generator: client cert and key settings, proxies, TLS verification and passphrase handling.
Installing garak with pip or from source in a Conda environment, supported Python versions, the dependency footprint, development versus release builds, and preparing a dedicated scan host.