mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-26 20:42:06 +00:00
* Removing IPEX_AVAIL. Chose to unify CPU and XPU under `ipex`. Most code is exactly similar except for a very few spots. The biggest number of spots is the kv-cache layout and the flash_xxx.py files. Since those files should be removed soon and factored away, we should not need them. * Forgot a few places. * Unrelated change. * Fixing HF_TOKEN. * HF_TOKEN
27 lines
585 B
YAML
27 lines
585 B
YAML
name: Python Client Tests
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/client-tests.yaml"
|
|
- "clients/python/**"
|
|
|
|
jobs:
|
|
run_tests:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
with:
|
|
python-version: 3.9
|
|
- name: Install
|
|
run: |
|
|
cd clients/python && pip install .
|
|
- name: Run tests
|
|
run: |
|
|
pip install pytest pytest-asyncio
|
|
export HF_TOKEN=${{ secrets.HF_TOKEN }}
|
|
make python-client-tests
|