Skip to main content

Ollama on GPUaaS Pool demo

Ollama without instances

Copy and paste the SSH connection string directly from user panel, copy the password and enter at the prompt

Run the demo

  1. Install and run ollama:
    sudo curl -fsSL https://ollama.com/install.sh | sh
    nohup ollama serve > ollama.log 2>&1 &

  2. Copy the ollama_query_runner.sh:
    wget https://assets.hosted.ai/ollama_query_runner.sh && chmod +x ollama_query_runner.sh

  3. Install dependancies for script
    sudo apt install -y bc

  4. Run the ollama query script in all terminal windows with nvtop displayed in another
    ./ollama_query_runner.sh 20 0

20 => # queries per minute,

0 => is the number of iterations (zero means loop forever)