Skip to content

Latest commit

 

History

History

SN40L

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Benchmarking LLMs on SN40L (Cloud Sevice Provider)

  1. Setup Virtual Environment

    module load <necessary conda modules>
    
    conda create -n SN40L python=3.11
    conda activate SN40L
  2. Clone the ai-starter-kit

    git clone https://github.com/sambanova/ai-starter-kit.git
  3. Install dependencies

    cd benchmarking
    pip install -r requirements.txt
  4. Create .env file

    - Create the `.env` file at `ai-starter-kit/.env`
    
  5. 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=<>
    
  6. Run LLMs on synthetic dataset

    bash run_synthetic_dataset.sh
    
  7. View Results

    View end-to-end latency, TTFT in ./data/results/llmperf