feat: quantization (#27)

This commit is contained in:
Aaron Pham
2023-06-16 18:10:50 -04:00
committed by GitHub
parent 19bc7e3116
commit ded8a9f809
33 changed files with 711 additions and 309 deletions

View File

@@ -22,8 +22,7 @@ on:
env:
LINES: 120
COLUMNS: 120
BENTOML_DO_NOT_TRACK: True
PYTEST_PLUGINS: bentoml.testing.pytest.plugin
OPENLLM_DO_NOT_TRACK: True
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#defaultsrun
defaults:
run:
@@ -38,8 +37,10 @@ jobs:
fetch-depth: 0
- name: Setup CI
uses: ./.github/actions/setup-repo
- name: Format check
run: hatch run dev:style
- name: Running changelog check
run: hatch run changelog
- name: Format and lint check
run: hatch run fmt
- name: Type check
if: ${{ github.event_name == 'pull_request' }}
run: git diff --name-only --diff-filter=AM "origin/$GITHUB_BASE_REF" -z -- '*.py{,i}' | xargs -0 --no-run-if-empty hatch run dev:typing