-
Setup Virtual Environment
module load <necessary conda modules> conda create -n SN40L python=3.11 conda activate SN40L
-
Clone the ai-starter-kit
git clone https://github.com/sambanova/ai-starter-kit.git
-
Install dependencies
cd benchmarking pip install -r requirements.txt
-
Create .env file
- Create the `.env` file at `ai-starter-kit/.env`
-
Set .env file
SAMBASTUDIO_BASE_URL="https://sjc3-e3.sambanova.net" SAMBASTUDIO_BASE_URI="api/predict/generic" SAMBASTUDIO_PROJECT_ID=<> SAMBASTUDIO_ENDPOINT_ID=<> SAMBASTUDIO_API_KEY=<>
-
Run LLMs on synthetic dataset
bash run_synthetic_dataset.sh
-
View Results
View end-to-end latency, TTFT in ./data/results/llmperf