diff --git a/.github/workflows/python-demos.yml b/.github/workflows/python-demos.yml index c35c589..47172f9 100644 --- a/.github/workflows/python-demos.yml +++ b/.github/workflows/python-demos.yml @@ -50,7 +50,7 @@ jobs: strategy: matrix: - machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson] + machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/python-perf.yml b/.github/workflows/python-perf.yml index 701d18c..d338eec 100644 --- a/.github/workflows/python-perf.yml +++ b/.github/workflows/python-perf.yml @@ -72,7 +72,7 @@ jobs: strategy: fail-fast: false matrix: - machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson] + machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson] include: - machine: rpi3-32 performance_threshold_sec: 5.0 @@ -82,6 +82,8 @@ jobs: performance_threshold_sec: 2.5 - machine: rpi4-64 performance_threshold_sec: 2.5 + - machine: rpi5-64 + performance_threshold_sec: 0.1 - machine: jetson performance_threshold_sec: 2.5 diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 36290e1..6b49860 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -66,7 +66,7 @@ jobs: strategy: matrix: - machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson] + machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson] steps: - uses: actions/checkout@v3 diff --git a/binding/python/_util.py b/binding/python/_util.py index 3ec21e2..0859ad2 100644 --- a/binding/python/_util.py +++ b/binding/python/_util.py @@ -41,11 +41,19 @@ def _linux_machine() -> str: return "cortex-a57" + arch_info elif "0xd08" == cpu_part: return "cortex-a72" + arch_info + elif "0xd0b" == cpu_part: + return "cortex-a76" + arch_info else: raise NotImplementedError("Unsupported CPU: `%s`." % cpu_part) -_RASPBERRY_PI_MACHINES = {"cortex-a53", "cortex-a72", "cortex-a53-aarch64", "cortex-a72-aarch64"} +_RASPBERRY_PI_MACHINES = { + "cortex-a53", + "cortex-a72", + "cortex-a76", + "cortex-a53-aarch64", + "cortex-a72-aarch64", + "cortex-a76-aarch64"} _JETSON_MACHINES = {"cortex-a57-aarch64"} diff --git a/binding/python/setup.py b/binding/python/setup.py index 413d7ba..45a9772 100644 --- a/binding/python/setup.py +++ b/binding/python/setup.py @@ -42,7 +42,7 @@ setuptools.setup( name="pvfalcon", - version="1.0.0", + version="1.0.1", author="Picovoice", author_email="hello@picovoice.ai", description="Falcon Speaker Diarization Engine", diff --git a/demo/python/requirements.txt b/demo/python/requirements.txt index dfec275..a4c4312 100644 --- a/demo/python/requirements.txt +++ b/demo/python/requirements.txt @@ -1,3 +1,3 @@ -pvfalcon==1.0.0 -pvrecorder==1.2.1 +pvfalcon==1.0.1 +pvrecorder==1.2.2 tabulate==0.9.0 diff --git a/demo/python/setup.py b/demo/python/setup.py index 52d6dda..b74e090 100644 --- a/demo/python/setup.py +++ b/demo/python/setup.py @@ -28,7 +28,7 @@ setuptools.setup( name="pvfalcondemo", - version="1.0.0", + version="1.0.1", author="Picovoice", author_email="hello@picovoice.ai", description="Falcon Speaker Diarization engine demos", @@ -36,7 +36,7 @@ long_description_content_type="text/markdown", url="https://github.com/Picovoice/falcon", packages=["pvfalcondemo"], - install_requires=["pvfalcon==1.0.0", "pvrecorder==1.2.1", "tabulate==0.8.10"], + install_requires=["pvfalcon==1.0.1", "pvrecorder==1.2.2", "tabulate==0.8.10"], include_package_data=True, classifiers=[ "Development Status :: 5 - Production/Stable",