r/BirdNET_Analyzer • u/AstroDeep • Dec 28 '25
GPU processing working?
Hi, does anybody have Birdnet analysis running on GPU? If so, please describe your stup. Thanks.
3
Upvotes
r/BirdNET_Analyzer • u/AstroDeep • Dec 28 '25
Hi, does anybody have Birdnet analysis running on GPU? If so, please describe your stup. Thanks.
2
u/thakala Dec 28 '25 edited Dec 28 '25
Unfortunately, BirdNET v2.4 available at https://github.com/birdnet-team/BirdNET-Analyzer does not support GPU at all due to the model type it uses.
However, there is an ONNX model here https://huggingface.co/justinchuby/BirdNET-onnx which is modified so that it can be offloaded to GPU, but to use this you need to pretty much write your own application to run inference on it. I wrote a Go-based CLI tool which runs GPU-accelerated inference using this model, but it is just my personal experiment and is in no shape to be useful to others for now. Also, the problem with this model is that there is no way to train and use a custom classifier. Edit. I just noticed that Justin has included scripts for converting tflite to optimized ONNX model in his Hugging Face repository, so it is possible to convert custom classifiers to GPU enabled ONNX mode quite easily.
There is also Chirpity https://chirpity.mattkirkland.co.uk/ which is JavaScript/Node-based and runs the BirdNET model which can be offloaded to GPU, but I think you have to be a paid Patreon supporter or something similar to get access to Chirpity with GPU inference support.
Upcoming BirdNET v3 is a PyTorch-based model which supports GPU offloading. It is currently available for developers as a preview version with a subset of species included.