Skip to content

Initial commit

Initial commit #33

Workflow file for this run

name: Unit Tests
on:
push:
branches: [main]
pull_request:
jobs:
unit-tests:
if : github.repository == 'CentML/flexible-inference-bench'
runs-on:
group: arc-a100-80
container:
image: nvidia/cuda:12.1.0-devel-ubuntu22.04
options: --gpus all
strategy:
matrix:
python-version: ["3.10"]
steps:
- name: Fetch repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
pip install -e .
- name : Run tests
run: |
bash scripts/unit_test/test.sh