Skip to content

Use CPU torch for Linux release packaging #14

Use CPU torch for Linux release packaging

Use CPU torch for Linux release packaging #14

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-24.04
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
- name: Compile source tree
run: python -m compileall src tests scripts
- name: Run test suite
run: pytest
- name: Smoke test CLI shape
run: |
bitloops-embeddings --help
bitloops-embeddings describe --model bge-m3
bitloops-embeddings daemon --help