Locust Testing Framework for Sentient AGI for Testing AlpineX Inference
From here: https://app.alpinex.ai/apiKeys
-
Make sure you have poetry installed: https://python-poetry.org/docs/#installation
-
Install packes with
poetry install
-
run in poetry shell
poetry shell
-
Change
SENTIENT_TEST = "reasoning-ttft"
in the code (we support two ttft tests for now) -
Fix
.env
:a. Copy the example file:
cp .example-env .env
b. ReplaceALPINEX_API_KEY
with your API key -
Run Locust:
locust -f alpinex-load-test-ttft.py
:a. Open the UI at http://0.0.0.0:8089/
b. Test withuser = 100
andramp up = 5
(wait 1 minute for it to warm up)