Files
Auto-GPT/autogpts/forge/run_benchmark
2023-09-21 14:44:48 +02:00

10 lines
263 B
Bash
Executable File

#!/bin/bash
# Kill processes using port 8080 if any.
if lsof -t -i :8080; then
kill $(lsof -t -i :8080)
fi
# This is the cli entry point for the benchmarking tool.
# To run this in server mode pass in serve as the first argument.
poetry run agbenchmark "$@"