From 790c08afd4fed6b73a2276db001c3c61d9babd8e Mon Sep 17 00:00:00 2001 From: Alex Cheema Date: Thu, 23 Jan 2025 01:31:44 +0000 Subject: [PATCH] add linux tinygrad test --- .circleci/config.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 07e685b8f..b09f72b15 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -254,6 +254,28 @@ jobs: prompt: "Keep responses concise. Who was the king of pop?" expected_output: "Michael Jackson" + chatgpt_api_integration_test_tinygrad_linux: + resource_class: ubuntu-24.04 + steps: + - checkout + - run: + name: Set up Python + command: | + brew install python@3.12 + python3.12 -m venv env + source env/bin/activate + - run: + name: Install dependencies + command: | + source env/bin/activate + pip install --upgrade pip + pip install . + - run_chatgpt_api_test: + inference_engine: tinygrad + model_id: llama-3.2-1b + prompt: "Keep responses concise. Who was the king of pop?" + expected_output: "Michael Jackson" + measure_pip_sizes: macos: xcode: "16.0.0"