Alex Cheema 11 months ago
parent
commit
201996af8a
1 changed files with 7 additions and 12 deletions
  1. 7 12
      .circleci/config.yml

+ 7 - 12
.circleci/config.yml

@@ -180,21 +180,16 @@ jobs:
       - run: system_profiler SPHardwareDataType
 
   chatgpt_api_integration_test_tinygrad:
-    docker:
-      - image: cimg/base:current
-    resource_class: xlarge
+    macos:
+      xcode: "15.4.0"
+    resource_class: macos.m1.large.gen1
     steps:
       - checkout
       - run:
-          name: Set up
-          command: |
-            sudo add-apt-repository ppa:deadsnakes/ppa -y
-            sudo apt update -y
-            sudo apt install -y python3.12 python3-pip python3-venv clang
-      - run:
-          name: Create and activate virtual environment
+          name: Set up Python
           command: |
-            python -m venv env
+            brew install python@3.12
+            python3.12 -m venv env
             source env/bin/activate
       - run:
           name: Install dependencies
@@ -213,5 +208,5 @@ workflows:
       - unit_test
       - discovery_integration_test
       - chatgpt_api_integration_test_mlx
-      - test_cuda
+      - test_macos_m1
       - chatgpt_api_integration_test_tinygrad