|
@@ -11,14 +11,17 @@ jobs:
|
|
runs-on: macos-14
|
|
runs-on: macos-14
|
|
steps:
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/checkout@v2
|
|
|
|
+
|
|
- name: Set up Python
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v2
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
with:
|
|
python-version: '3.12'
|
|
python-version: '3.12'
|
|
|
|
+
|
|
- name: Install dependencies
|
|
- name: Install dependencies
|
|
run: |
|
|
run: |
|
|
python3 -m pip install --upgrade pip
|
|
python3 -m pip install --upgrade pip
|
|
pip install .
|
|
pip install .
|
|
|
|
+
|
|
- name: Run tests
|
|
- name: Run tests
|
|
run: python3 -m exo.inference.test_inference_engine
|
|
run: python3 -m exo.inference.test_inference_engine
|
|
|
|
|
|
@@ -26,14 +29,17 @@ jobs:
|
|
runs-on: macos-latest
|
|
runs-on: macos-latest
|
|
steps:
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/checkout@v2
|
|
|
|
+
|
|
- name: Set up Python
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v2
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
with:
|
|
python-version: '3.x'
|
|
python-version: '3.x'
|
|
|
|
+
|
|
- name: Install dependencies
|
|
- name: Install dependencies
|
|
run: |
|
|
run: |
|
|
python3 -m pip install --upgrade pip
|
|
python3 -m pip install --upgrade pip
|
|
pip install .
|
|
pip install .
|
|
|
|
+
|
|
- name: Run discovery integration test
|
|
- name: Run discovery integration test
|
|
run: |
|
|
run: |
|
|
# Start first instance
|
|
# Start first instance
|
|
@@ -67,14 +73,33 @@ jobs:
|
|
runs-on: macos-latest
|
|
runs-on: macos-latest
|
|
steps:
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/checkout@v2
|
|
|
|
+
|
|
- name: Set up Python
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v2
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
with:
|
|
python-version: '3.x'
|
|
python-version: '3.x'
|
|
|
|
+
|
|
|
|
+ - name: Cache huggingface hub models
|
|
|
|
+ uses: actions/cache@v3
|
|
|
|
+ with:
|
|
|
|
+ path: ~/.cache/huggingface
|
|
|
|
+ key: ${{ runner.os }}-huggingface-${{ hashFiles('~/.cache/huggingface/hub/**/*') }}
|
|
|
|
+ restore-keys: |
|
|
|
|
+ ${{ runner.os }}-huggingface-
|
|
|
|
+
|
|
|
|
+ - name: Cache tinygrad downloaded models
|
|
|
|
+ uses: actions/cache@v3
|
|
|
|
+ with:
|
|
|
|
+ path: ~/Library/Caches/tinygrad/downloads
|
|
|
|
+ key: ${{ runner.os }}-tinygrad-downloads-${{ hashFiles('~/Library/Caches/tinygrad/downloads/**/*') }}
|
|
|
|
+ restore-keys: |
|
|
|
|
+ ${{ runner.os }}-tinygrad-downloads-
|
|
|
|
+
|
|
- name: Install dependencies
|
|
- name: Install dependencies
|
|
run: |
|
|
run: |
|
|
python3 -m pip install --upgrade pip
|
|
python3 -m pip install --upgrade pip
|
|
pip install .
|
|
pip install .
|
|
|
|
+
|
|
- name: Run chatgpt api integration test
|
|
- name: Run chatgpt api integration test
|
|
run: |
|
|
run: |
|
|
# Start first instance
|
|
# Start first instance
|