diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index ea1e54d..0d68fcd 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -55,8 +55,6 @@ body: - macOS (x86_64, arm64) - Windows (x86_64) - Raspberry Pi - - NVIDIA Jetson - - BeagleBone validations: required: true - type: input diff --git a/.github/workflows/c-demos.yml b/.github/workflows/c-demos.yml index 74204ca..ca47daa 100644 --- a/.github/workflows/c-demos.yml +++ b/.github/workflows/c-demos.yml @@ -8,7 +8,6 @@ on: - '.github/workflows/c-demos.yml' - 'demo/c/**' - 'lib/common/**' - - 'lib/jetson/**' - 'lib/linux/**' - 'lib/mac/**' - 'lib/raspberry-pi/**' @@ -21,7 +20,6 @@ on: - '.github/workflows/c-demos.yml' - 'demo/c/**' - 'lib/common/**' - - 'lib/jetson/**' - 'lib/linux/**' - 'lib/mac/**' - 'lib/raspberry-pi/**' @@ -57,7 +55,7 @@ jobs: strategy: matrix: - machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson] + machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64] steps: - uses: actions/checkout@v3 @@ -85,7 +83,7 @@ jobs: arch: amd64 - os: macos-latest platform: mac - arch: x86_64 + arch: arm64 steps: - uses: actions/checkout@v3 @@ -111,7 +109,7 @@ jobs: strategy: matrix: - machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson] + machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64] include: - machine: rpi3-32 platform: raspberry-pi @@ -128,9 +126,6 @@ jobs: - machine: rpi5-64 platform: raspberry-pi arch: cortex-a76-aarch64 - - machine: jetson - platform: jetson - arch: cortex-a57-aarch64 steps: - uses: actions/checkout@v3 @@ -144,4 +139,4 @@ jobs: run: cmake --build ./build --target koala_demo_file - name: Test - run: python test/test_koala_c.py ${{secrets.PV_VALID_ACCESS_KEY}} ${{ matrix.platform }} ${{ matrix.arch }} \ No newline at end of file + run: python test/test_koala_c.py ${{secrets.PV_VALID_ACCESS_KEY}} ${{ matrix.platform }} ${{ matrix.arch }} diff --git a/.github/workflows/python-demos.yml b/.github/workflows/python-demos.yml index 4925471..cae4653 100644 --- a/.github/workflows/python-demos.yml +++ b/.github/workflows/python-demos.yml @@ -56,7 +56,7 @@ jobs: strategy: matrix: - machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson] + machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/python-perf.yml b/.github/workflows/python-perf.yml index b79437e..0904851 100644 --- a/.github/workflows/python-perf.yml +++ b/.github/workflows/python-perf.yml @@ -11,7 +11,6 @@ on: - 'binding/python/_util.py' - 'binding/python/test_koala_perf.py' - 'lib/common/**' - - 'lib/jetson/**' - 'lib/linux/**' - 'lib/mac/**' - 'lib/raspberry-pi/**' @@ -26,7 +25,6 @@ on: - 'binding/python/_util.py' - 'binding/python/test_koala_perf.py' - 'lib/common/**' - - 'lib/jetson/**' - 'lib/linux/**' - 'lib/mac/**' - 'lib/raspberry-pi/**' @@ -80,7 +78,7 @@ jobs: strategy: fail-fast: false matrix: - machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson] + machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64] include: - machine: rpi3-32 proc_performance_threshold_sec: 2.5 @@ -92,8 +90,6 @@ jobs: proc_performance_threshold_sec: 2.5 - machine: rpi5-64 proc_performance_threshold_sec: 0.5 - - machine: jetson - proc_performance_threshold_sec: 2.5 steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 9d2bac2..a543b40 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -9,7 +9,6 @@ on: - 'binding/python/**' - '!binding/python/README.md' - 'lib/common/**' - - 'lib/jetson/**' - 'lib/linux/**' - 'lib/mac/**' - 'lib/raspberry-pi/**' @@ -23,7 +22,6 @@ on: - 'binding/python/**' - '!binding/python/README.md' - 'lib/common/**' - - 'lib/jetson/**' - 'lib/linux/**' - 'lib/mac/**' - 'lib/raspberry-pi/**' @@ -66,7 +64,7 @@ jobs: strategy: matrix: - machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson] + machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64] steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index 4da8e6f..220a246 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Koala is an on-device noise suppression engine. Koala is: - Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64) - Android and iOS - Chrome, Safari, Firefox, and Edge - - Raspberry Pi (3, 4, 5) and NVIDIA Jetson Nano + - Raspberry Pi (3, 4, 5) ## Table of Contents diff --git a/binding/android/README.md b/binding/android/README.md index aecbe24..3bda021 100644 --- a/binding/android/README.md +++ b/binding/android/README.md @@ -11,7 +11,7 @@ Koala is an on-device noise suppression engine. Koala is: - Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64) - Android and iOS - Chrome, Safari, Firefox, and Edge - - Raspberry Pi (3, 4, 5) and NVIDIA Jetson Nano + - Raspberry Pi (3, 4, 5) ## Compatibility diff --git a/binding/ios/Koala-iOS.podspec b/binding/ios/Koala-iOS.podspec index d3f5346..ebb7400 100644 --- a/binding/ios/Koala-iOS.podspec +++ b/binding/ios/Koala-iOS.podspec @@ -14,7 +14,7 @@ Pod::Spec.new do |s| - Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64) - Android and iOS - Chrome, Safari, Firefox, and Edge - - Raspberry Pi (3, 4, 5) and NVIDIA Jetson Nano + - Raspberry Pi (3, 4, 5) DESC s.homepage = 'https://github.com/Picovoice/koala/tree/main/binding/ios' s.author = { 'Picovoice' => 'hello@picovoice.ai' } diff --git a/binding/ios/README.md b/binding/ios/README.md index a3b3f12..c9368a2 100644 --- a/binding/ios/README.md +++ b/binding/ios/README.md @@ -11,7 +11,7 @@ Koala is an on-device noise suppression engine. Koala is: - Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64) - Android and iOS - Chrome, Safari, Firefox, and Edge - - Raspberry Pi (3, 4, 5) and NVIDIA Jetson Nano + - Raspberry Pi (3, 4, 5) ## Compatibility diff --git a/binding/python/README.md b/binding/python/README.md index 232933b..0d0199f 100644 --- a/binding/python/README.md +++ b/binding/python/README.md @@ -11,12 +11,12 @@ Koala is an on-device noise suppression engine. Koala is: - Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64) - Android and iOS - Chrome, Safari, Firefox, and Edge - - Raspberry Pi (3, 4, 5) and NVIDIA Jetson Nano + - Raspberry Pi (3, 4, 5) ## Compatibility - Python 3.8 or higher -- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), Raspberry Pi (3, 4, 5), and NVIDIA Jetson Nano. +- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), and Raspberry Pi (3, 4, 5). ## Installation diff --git a/binding/python/_util.py b/binding/python/_util.py index 393d91b..7648a0d 100644 --- a/binding/python/_util.py +++ b/binding/python/_util.py @@ -54,7 +54,6 @@ def _linux_machine() -> str: "cortex-a53-aarch64", "cortex-a72-aarch64", "cortex-a76-aarch64"} -_JETSON_MACHINES = {'cortex-a57-aarch64'} def default_library_path(relative: str = '') -> str: @@ -67,8 +66,6 @@ def default_library_path(relative: str = '') -> str: linux_machine = _linux_machine() if linux_machine == 'x86_64': return os.path.join(os.path.dirname(__file__), relative, 'lib/linux/x86_64/libpv_koala.so') - elif linux_machine in _JETSON_MACHINES: - return os.path.join(os.path.dirname(__file__), relative, 'lib/jetson/%s/libpv_koala.so' % linux_machine) elif linux_machine in _RASPBERRY_PI_MACHINES: return os.path.join( os.path.dirname(__file__), diff --git a/binding/python/setup.py b/binding/python/setup.py index 728dc14..96134ae 100644 --- a/binding/python/setup.py +++ b/binding/python/setup.py @@ -1,5 +1,5 @@ # -# Copyright 2023 Picovoice Inc. +# Copyright 2023-2024 Picovoice Inc. # # You may not use this file except in compliance with the license. A copy of the license is located in the "LICENSE" # file accompanying this source. @@ -15,7 +15,7 @@ import setuptools INCLUDE_FILES = ('../../LICENSE', '__init__.py', '_factory.py', '_koala.py', '_util.py') -INCLUDE_LIBS = ('common', 'jetson', 'linux', 'mac', 'raspberry-pi', 'windows') +INCLUDE_LIBS = ('common', 'linux', 'mac', 'raspberry-pi', 'windows') os.system('git clean -dfx') @@ -42,7 +42,7 @@ setuptools.setup( name="pvkoala", - version="2.0.1", + version="2.0.2", author="Picovoice", author_email="hello@picovoice.ai", description="Koala Noise Suppression Engine.", diff --git a/binding/web/README.md b/binding/web/README.md index 7c49c5c..730eeda 100644 --- a/binding/web/README.md +++ b/binding/web/README.md @@ -11,7 +11,7 @@ Koala is an on-device noise suppression engine. Koala is: - Linux (x86_64), macOS (x86_64, arm64), and Windows (x86_64) - Android and iOS - Chrome, Safari, Firefox, and Edge - - Raspberry Pi (3, 4, 5) and NVIDIA Jetson Nano + - Raspberry Pi (3, 4, 5) ## Compatibility diff --git a/demo/c/CMakeLists.txt b/demo/c/CMakeLists.txt index 4969179..4518e6f 100644 --- a/demo/c/CMakeLists.txt +++ b/demo/c/CMakeLists.txt @@ -26,7 +26,7 @@ if (NOT WIN32) pthread ${COMMON_LIBS}) target_link_libraries(koala_demo_file ${COMMON_LIBS}) - if ((${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") AND (UNIX AND NOT APPLE)) + if ((${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64") AND (UNIX AND NOT APPLE)) target_link_libraries(koala_demo_mic atomic) endif () -endif () \ No newline at end of file +endif () diff --git a/demo/python/README.md b/demo/python/README.md index 6f160d0..933b8cb 100644 --- a/demo/python/README.md +++ b/demo/python/README.md @@ -11,12 +11,12 @@ Koala is an on-device noise suppression engine. Koala is: - Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64) - Android and iOS - Chrome, Safari, Firefox, and Edge - - Raspberry Pi (3, 4, 5) and NVIDIA Jetson Nano + - Raspberry Pi (3, 4, 5) ## Compatibility - Python 3.8+ -- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), Raspberry Pi (3, 4, 5), and NVIDIA Jetson Nano. +- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), and Raspberry Pi (3, 4, 5). ## Installation diff --git a/demo/python/requirements.txt b/demo/python/requirements.txt index 160bf7e..0c37206 100644 --- a/demo/python/requirements.txt +++ b/demo/python/requirements.txt @@ -1,2 +1,2 @@ -pvkoala==2.0.1 +pvkoala==2.0.2 pvrecorder==1.2.2 diff --git a/demo/python/setup.py b/demo/python/setup.py index 4dabb99..88265d3 100644 --- a/demo/python/setup.py +++ b/demo/python/setup.py @@ -24,7 +24,7 @@ setuptools.setup( name="pvkoalademo", - version="2.0.1", + version="2.0.2", author="Picovoice", author_email="hello@picovoice.ai", description="Koala Noise Suppression Engine demos", @@ -32,7 +32,7 @@ long_description_content_type="text/markdown", url="https://github.com/Picovoice/koala", packages=["pvkoalademo"], - install_requires=["pvkoala==2.0.1", "pvrecorder==1.2.2"], + install_requires=["pvkoala==2.0.2", "pvrecorder==1.2.2"], include_package_data=True, classifiers=[ "Development Status :: 5 - Production/Stable", diff --git a/lib/jetson/cortex-a57-aarch64/libpv_koala.so b/lib/jetson/cortex-a57-aarch64/libpv_koala.so deleted file mode 100755 index 5b2b836..0000000 Binary files a/lib/jetson/cortex-a57-aarch64/libpv_koala.so and /dev/null differ