Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.0 #322

Merged
merged 34 commits into from
Nov 29, 2023
Merged

v2.0 #322

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
9410c65
new test data and audio file
laves Nov 8, 2023
f95d5a8
test data typo
laves Nov 9, 2023
ef70f67
v2.0 libs
ksyeo1010 Nov 20, 2023
e4d7825
add diarization
laves Nov 20, 2023
e4bc1a6
v2.0 rust (#298)
laves Nov 22, 2023
8ea2589
v2.0 dotnet (#297)
laves Nov 22, 2023
88a50cc
v2.0 web (#300)
laves Nov 22, 2023
0ee92a3
update libs
laves Nov 23, 2023
fc917bd
v2.0 android (#299)
ksyeo1010 Nov 23, 2023
4d56a03
update workflow
ksyeo1010 Nov 23, 2023
bd58ced
v2.0 node (#293)
laves Nov 23, 2023
0c74ff8
v2.0 python (#294)
laves Nov 23, 2023
78b742c
v2.0 java (#295)
laves Nov 23, 2023
c30bebe
v2.0 ios (#301)
ksyeo1010 Nov 24, 2023
c4ae0d7
v2.0 flutter (#303)
ksyeo1010 Nov 24, 2023
9f3f02f
v2.0 rn (#302)
ksyeo1010 Nov 24, 2023
a66753d
v2.0 c demos (#307)
laves Nov 24, 2023
e1b9765
v2.0 python release (#308)
laves Nov 24, 2023
75cd65a
v2.0 dotnet release (#309)
laves Nov 24, 2023
6401725
v2.0 java release (#310)
laves Nov 24, 2023
f7580ec
v2.0 go (#296)
laves Nov 24, 2023
24e3902
v2.0 web release (#311)
ksyeo1010 Nov 24, 2023
6831909
update workflow (#314)
ksyeo1010 Nov 24, 2023
d3fcf6a
v2.0 ios release (#312)
ksyeo1010 Nov 24, 2023
23b5eaa
v2.0 go release (#318)
laves Nov 24, 2023
af4badd
v2.0 flutter release (#319)
ksyeo1010 Nov 24, 2023
6d8b313
v2.0 android release (#313)
ksyeo1010 Nov 24, 2023
5f98624
v2.0 node release (#316)
laves Nov 24, 2023
8a09699
v2.0 rust release (#315)
laves Nov 24, 2023
66685ec
v2.0 rn release (#317)
ksyeo1010 Nov 24, 2023
b691b27
v2.0 react (#320)
albho Nov 27, 2023
1637f4a
readme updates
laves Nov 27, 2023
dfadddf
v2.0 react release (#321)
albho Nov 27, 2023
67a583c
perf tweak
laves Nov 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/android-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
device: [single-android, 32bit-android]
include:
- device: single-android
initPerformanceThresholdSec: 3.0
procPerformanceThresholdSec: 0.5
initPerformanceThresholdSec: 6.0
procPerformanceThresholdSec: 1.0
- device: 32bit-android
initPerformanceThresholdSec: 9.0
procPerformanceThresholdSec: 3.5
initPerformanceThresholdSec: 18.0
procPerformanceThresholdSec: 7.0

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:

- name: Test filedemo
run: ./leopard_file_demo -access_key ${{secrets.PV_VALID_ACCESS_KEY}} -input_audio_path ../../resources/audio_samples/test.wav

build-grpc-demo:
runs-on: ${{ matrix.os }}
defaults:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ios-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
device: [ios-perf]
include:
- device: ios-perf
initPerformanceThresholdSec: 1.5
procPerformanceThresholdSec: 0.2
initPerformanceThresholdSec: 3.0
procPerformanceThresholdSec: 0.4

steps:
- name: Checkout
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/java-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,15 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
java-version: ['11', '17', '19']

steps:
- uses: actions/checkout@v3

- name: Set up JDK 11
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: ${{ matrix.java-version }}
distribution: 'temurin'

- name: Build
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/java-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- os: ubuntu-latest
init_performance_threshold_sec: 2.0
proc_performance_threshold_sec: 0.7
- os: windows-latest
init_performance_threshold_sec: 2.5
init_performance_threshold_sec: 4.0
proc_performance_threshold_sec: 0.9
- os: macos-latest
init_performance_threshold_sec: 2.4
init_performance_threshold_sec: 4.5
proc_performance_threshold_sec: 1.9
- os: windows-latest
init_performance_threshold_sec: 4.0
proc_performance_threshold_sec: 0.9

steps:
Expand All @@ -64,20 +64,20 @@ jobs:
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson]
include:
- machine: rpi3-32
init_performance_threshold_sec: 7.6
proc_performance_threshold_sec: 3.3
init_performance_threshold_sec: 16.0
proc_performance_threshold_sec: 6.0
- machine: rpi3-64
init_performance_threshold_sec: 8.4
proc_performance_threshold_sec: 3.3
init_performance_threshold_sec: 14.0
proc_performance_threshold_sec: 5.5
- machine: rpi4-32
init_performance_threshold_sec: 5.7
proc_performance_threshold_sec: 2.1
init_performance_threshold_sec: 7.0
proc_performance_threshold_sec: 2.5
- machine: rpi4-64
init_performance_threshold_sec: 5.1
proc_performance_threshold_sec: 2.0
init_performance_threshold_sec: 7.0
proc_performance_threshold_sec: 2.5
- machine: jetson
init_performance_threshold_sec: 5.1
proc_performance_threshold_sec: 2.0
init_performance_threshold_sec: 7.0
proc_performance_threshold_sec: 2.6

steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,15 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
java-version: ['11', '17', '19']

steps:
- uses: actions/checkout@v3

- name: Set up JDK 11
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: ${{ matrix.java-version }}
distribution: 'temurin'

- name: Build
Expand Down
16 changes: 3 additions & 13 deletions .github/workflows/nodejs-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [14.x, 16.x, 18.x, 20.x]
node-version: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -43,9 +43,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Pre-build dependencies
run: npm install yarn

- name: Install dependencies
run: yarn install

Expand All @@ -62,9 +59,6 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Pre-build dependencies
run: npm install --global yarn

- name: Install dependencies
run: yarn install

Expand All @@ -77,18 +71,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [lts/*]

steps:
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js LTS
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Pre-build dependencies
run: npm install yarn
node-version: lts/*

- name: Install dependencies
run: yarn install
26 changes: 10 additions & 16 deletions .github/workflows/nodejs-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
include:
- os: ubuntu-latest
init_performance_threshold_sec: 2.0
proc_performance_threshold_sec: 0.7
- os: windows-latest
init_performance_threshold_sec: 2.5
proc_performance_threshold_sec: 0.9
- os: windows-latest
init_performance_threshold_sec: 2.5
proc_performance_threshold_sec: 1.1
- os: macos-latest
init_performance_threshold_sec: 3.5
proc_performance_threshold_sec: 0.9
init_performance_threshold_sec: 4.0
proc_performance_threshold_sec: 2.0


steps:
Expand All @@ -50,9 +50,6 @@ jobs:
with:
node-version: 18.x

- name: Pre-build dependencies
run: npm install yarn

- name: Install dependencies
run: yarn install

Expand All @@ -69,26 +66,23 @@ jobs:
include:
- machine: rpi3-32
init_performance_threshold_sec: 7.6
proc_performance_threshold_sec: 3.3
proc_performance_threshold_sec: 4.5
- machine: rpi3-64
init_performance_threshold_sec: 8.4
proc_performance_threshold_sec: 3.3
proc_performance_threshold_sec: 4.5
- machine: rpi4-32
init_performance_threshold_sec: 5.7
proc_performance_threshold_sec: 2.1
proc_performance_threshold_sec: 3.3
- machine: rpi4-64
init_performance_threshold_sec: 5.1
proc_performance_threshold_sec: 2.0
proc_performance_threshold_sec: 3.2
- machine: jetson
init_performance_threshold_sec: 5.1
proc_performance_threshold_sec: 2.0
proc_performance_threshold_sec: 3.2

steps:
- uses: actions/checkout@v3

- name: Pre-build dependencies
run: npm install --global yarn

- name: Install dependencies
run: yarn install

Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [14.x, 16.x, 18.x, 20.x]
node-version: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -45,9 +45,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Pre-build dependencies
run: npm install yarn

- name: Install dependencies
run: yarn install

Expand All @@ -64,9 +61,6 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Pre-build dependencies
run: npm install --global yarn

- name: Install dependencies
run: yarn install

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

- name: Test
run: python3 leopard_demo_file.py --access_key ${{secrets.PV_VALID_ACCESS_KEY}} --wav_paths ../../resources/audio_samples/test.wav

build-subtitle-demo:
runs-on: ${{ matrix.os }}
defaults:
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
run: pip install -r requirements.txt

- name: Test
run: python main.py
run: python main.py
--access_key ${{secrets.PV_VALID_ACCESS_KEY}}
--url https://www.youtube.com/watch?v=b7wzFEDU0U8
--transcript_path test.txt
30 changes: 15 additions & 15 deletions .github/workflows/python-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
include:
- os: ubuntu-latest
init_performance_threshold_sec: 2.0
init_performance_threshold_sec: 3.5
proc_performance_threshold_sec: 0.7
- os: windows-latest
init_performance_threshold_sec: 2.5
proc_performance_threshold_sec: 0.9
init_performance_threshold_sec: 3.5
proc_performance_threshold_sec: 0.7
- os: macos-latest
init_performance_threshold_sec: 2.4
proc_performance_threshold_sec: 0.9
init_performance_threshold_sec: 3.8
proc_performance_threshold_sec: 1.2

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -74,20 +74,20 @@ jobs:
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson]
include:
- machine: rpi3-32
init_performance_threshold_sec: 7.6
proc_performance_threshold_sec: 3.3
init_performance_threshold_sec: 8.5
proc_performance_threshold_sec: 4.5
- machine: rpi3-64
init_performance_threshold_sec: 8.4
proc_performance_threshold_sec: 3.3
init_performance_threshold_sec: 9.0
proc_performance_threshold_sec: 4.5
- machine: rpi4-32
init_performance_threshold_sec: 5.7
proc_performance_threshold_sec: 2.1
init_performance_threshold_sec: 7.2
proc_performance_threshold_sec: 3.0
- machine: rpi4-64
init_performance_threshold_sec: 5.1
proc_performance_threshold_sec: 2.0
init_performance_threshold_sec: 6.5
proc_performance_threshold_sec: 2.8
- machine: jetson
init_performance_threshold_sec: 5.1
proc_performance_threshold_sec: 2.0
init_performance_threshold_sec: 6.0
proc_performance_threshold_sec: 2.8

steps:
- uses: actions/checkout@v3
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/react-codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ jobs:
- name: Pre-build dependencies
run: npm install yarn

- name: Build Local Web SDK
run: yarn && yarn copywasm && yarn build
working-directory: binding/web

- name: Build Local React SDK
run: yarn && yarn build
working-directory: binding/react

- name: Run Binding Linter
run: yarn && yarn lint
working-directory: binding/react
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/react-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ jobs:
- name: Pre-build dependencies
run: npm install yarn

- name: Build Local Web SDK
run: yarn && yarn copywasm && yarn build
working-directory: binding/web

- name: Build Local React SDK
run: yarn && yarn build
working-directory: binding/react

- name: Install dependencies
run: yarn install

Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/react-native-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ on:
paths:
- 'binding/react-native/**'
- 'lib/common/**'
- 'lib/android/**'
- 'lib/ios/**'
- '.github/workflows/react-native-tests.yml'
- 'resources/audio_samples/**'
- 'resources/.test/**'
Expand All @@ -16,8 +14,6 @@ on:
paths:
- 'binding/react-native/**'
- 'lib/common/**'
- 'lib/android/**'
- 'lib/ios/**'
- '.github/workflows/react-native-tests.yml'
- 'resources/audio_samples/**'
- 'resources/.test/**'
Expand Down Expand Up @@ -63,9 +59,10 @@ jobs:
run: |
yarn install
./copy_test_resources.sh

- name: Cocoapods install
working-directory: binding/react-native/test-app/LeopardTestApp/ios
run: pod install
run: pod install --repo-update

- name: Inject AppID
run: sed -i '.bak' 's:{TESTING_ACCESS_KEY_HERE}:${{secrets.PV_VALID_ACCESS_KEY}}:' Tests.ts
Expand Down
Loading
Loading