Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Pouya Rostam committed Feb 5, 2024
1 parent 74d787c commit 26aa457
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/python-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 9 additions & 1 deletion binding/python/_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"}


Expand Down
2 changes: 1 addition & 1 deletion binding/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

setuptools.setup(
name="pvfalcon",
version="1.0.0",
version="1.0.1",
author="Picovoice",
author_email="[email protected]",
description="Falcon Speaker Diarization Engine",
Expand Down
4 changes: 2 additions & 2 deletions demo/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pvfalcon==1.0.0
pvrecorder==1.2.1
pvfalcon==1.0.1
pvrecorder==1.2.2
tabulate==0.9.0
4 changes: 2 additions & 2 deletions demo/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@

setuptools.setup(
name="pvfalcondemo",
version="1.0.0",
version="1.0.1",
author="Picovoice",
author_email="[email protected]",
description="Falcon Speaker Diarization engine demos",
long_description=long_description,
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",
Expand Down

0 comments on commit 26aa457

Please sign in to comment.