Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/tokenizer-fix-decode' into token…
Browse files Browse the repository at this point in the history
…izer-fix-decode
  • Loading branch information
apaniukov committed Oct 18, 2023
2 parents 24a60b3 + 386cb02 commit f01afee
Show file tree
Hide file tree
Showing 22 changed files with 3,004 additions and 3,867 deletions.
2 changes: 2 additions & 0 deletions .ci/azure/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ trigger:
paths:
exclude:
- modules/nvidia_plugin
- modules/openvino_code

pr:
branches:
Expand All @@ -15,6 +16,7 @@ pr:
paths:
exclude:
- modules/nvidia_plugin
- modules/openvino_code

resources:
repositories:
Expand Down
4 changes: 4 additions & 0 deletions .ci/azure/linux_cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ trigger:
include:
- modules/nvidia_plugin
- .ci/azure/linux_cuda.yml
exclude:
- modules/openvino_code

pr:
branches:
Expand All @@ -16,6 +18,8 @@ pr:
paths:
include:
- modules/nvidia_plugin
exclude:
- modules/openvino_code

resources:
repositories:
Expand Down
2 changes: 2 additions & 0 deletions .ci/azure/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ trigger:
paths:
exclude:
- modules/nvidia_plugin
- modules/openvino_code

pr:
branches:
Expand All @@ -15,6 +16,7 @@ pr:
paths:
exclude:
- modules/nvidia_plugin
- modules/openvino_code

resources:
repositories:
Expand Down
2 changes: 2 additions & 0 deletions .ci/azure/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ trigger:
paths:
exclude:
- modules/nvidia_plugin
- modules/openvino_code

pr:
branches:
Expand All @@ -15,6 +16,7 @@ pr:
paths:
exclude:
- modules/nvidia_plugin
- modules/openvino_code

resources:
repositories:
Expand Down
57 changes: 57 additions & 0 deletions .github/workflows/openvino_code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: OpenVINO Code Extension Workflow

on:
pull_request:
types: [opened, synchronize]
paths:
- 'modules/openvino_code/**'
- '.github/workflows/openvino_code.yml'

concurrency:
group: ${{ github.head_ref || github.ref_name }}-openvino_code
cancel-in-progress: true

defaults:
run:
working-directory: ./modules/openvino_code

jobs:
check_extension:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: '16.x'
cache: 'npm'
cache-dependency-path: modules/openvino_code/package-lock.json

- name: Install dependencies
run: npm ci

- name: Run Lint
run: npm run lint:all

check_server:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: '3.8'
cache: 'pip'

- name: Install dependencies
run: pip install ruff black

- name: Lint with ruff and Black
run: |
cd server
ruff check .
black --check .
10 changes: 8 additions & 2 deletions .github/workflows/token_merging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@ name: Token Merging - Test

on:
push:
branches: [ master ]
branches:
- master
paths:
- 'modules/token_merging/**'
pull_request:
branches: [ master ]
branches:
- master
paths:
- 'modules/token_merging/**'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down

Large diffs are not rendered by default.

This file was deleted.

Loading

0 comments on commit f01afee

Please sign in to comment.