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

docker / podman #41

Open
nerijus opened this issue Dec 22, 2024 · 3 comments
Open

docker / podman #41

nerijus opened this issue Dec 22, 2024 · 3 comments

Comments

@nerijus
Copy link

nerijus commented Dec 22, 2024

How do I use the latest 20241205.4 ok nabu release with docker? Latest version in https://hub.docker.com/r/rhasspy/wyoming-microwakeword is 2 months old.

@nerijus
Copy link
Author

nerijus commented Dec 22, 2024

I tried to run like this:

-p 10400:10400 docker.io/rhasspy/wyoming-microwakeword:latest --uri tcp://192.168.1.10:10400

the command line in ps output is:

.venv/bin/python3 -m wyoming_microwakeword --uri tcp://0.0.0.0:10400 --uri tcp://192.168.1.10:10400

and I got output:

microwakeword[3820250]: 2024-12-22 13:15:54.516461: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
microwakeword[3820250]: INFO:root:Ready
microwakeword[3820250]: WARNING:root:Unknown model name: ok_nabu_v0.1
microwakeword[3820250]: INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
microwakeword[3820250]: WARNING:root:Unknown model name: ok_nabu_v0.1

@nerijus
Copy link
Author

nerijus commented Dec 22, 2024

I took okay_nabu.json and okay_nabu.tflite files from "Okay Nabu" 20241205.4 release and put them inside container as okay_nabu.json and okay_nabu.tflite, as well as okay_nabu_v0.1.json and okay_nabu_v0.1.tflite files in /usr/src/.venv/lib/python3.11/site-packages/pymicro_wakeword/models and now I get such output:

microwakeword[3827891]: 2024-12-22 14:42:29.863486: I external/local_xla/xla/tsl/cuda/cudart_stub.cc:32] Could not find cuda drivers on your machine, GPU will not be used.
microwakeword[3827891]: 2024-12-22 14:42:29.867163: I external/local_xla/xla/tsl/cuda/cudart_stub.cc:32] Could not find cuda drivers on your machine, GPU will not be used.
microwakeword[3827891]: 2024-12-22 14:42:29.878434: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:485] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
microwakeword[3827891]: 2024-12-22 14:42:29.897171: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:8454] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
microwakeword[3827891]: 2024-12-22 14:42:29.902433: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1452] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered

I am not sure if it works or not. I tried to use this instead of docker.io/rhasspy/wyoming-openwakeword container, but saying "OK Nabu" does not turn Wyoming Satellite Assist in progress to on in HA.

@nerijus
Copy link
Author

nerijus commented Dec 24, 2024

Reported an issue rhasspy/wyoming-microwakeword#5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant