Repository navigation
A performance release: the tf backend is up to three times as fast on a CPU, a batch_size above 1 no longer slows a CPU run down, and a GPU request that cannot be met raises an error instead of running on the CPU. onnxruntime 1.18.0 is now the minimum.
Changes
- The
tfbackend is up to three times as fast on a CPU, at about 300 MiB more memory per worker for the 3.0 model and 60 MiB for 2.4. On Linux and Windows the 3.0 model analyses 2 to 3 times as much audio per second with a worker per core; the gain is smaller on Apple silicon. by @Josef-Haupt in #181 - On a CPU a
batch_sizeabove 1 no longer slows a run down, for thetfbackends and foronnxwith one thread per worker. by @Josef-Haupt in #181 onnxruntime1.18.0 is the minimum, up from 1.16.0: older releases cannot load the 3.0 models. by @Josef-Haupt in #176- An invalid
deviceis rejected when the session is created: an unknown name such as"cuda", a GPU for thetfbackend, or a device list that does not matchn_workers. Withn_workers=Nonea device list starts one worker per entry. by @Josef-Haupt in #180
Bugfixes
- The
onnxbackend no longer runsdevice="GPU"on the CPU without an error; when ONNX Runtime cannot create its GPU provider, the session raises and names what to check. by @Josef-Haupt in #175 - The
onnxbackend on a GPU no longer loses 2 to 2.5 s per run to the short batches at the end of the input. by @Josef-Haupt in #180 - The
pbbackend ondevice="GPU"names the missing GPU install when TensorFlow finds no GPU, instead of failing with an emptyAssertionError. by @Josef-Haupt in #180 - The geo 3.0
pbmodel on a GPU fails with an error that names the two ways out,device="CPU"orTF_ENABLE_ONEDNN_OPTS=0, instead of TensorFlow's_MklLayerNormerror. by @Josef-Haupt in #174 - On Windows, a TFLite model below a folder with a non-ASCII name loads, such as a user profile with an umlaut or an accent. by @Josef-Haupt in #178
- A pipeline process killed at the wrong moment can no longer hang the session for good; the session reports the dead process instead. by @Josef-Haupt in #179
birdnet-benchmark --use-perchruns the Perch model, and the command takes--model-version 3.0with theonnxandptbackends. by @Josef-Haupt in #180- ai-edge-litert no longer writes two lines of start-up output to stderr in every pipeline process;
BIRDNET_TF_VERBOSE=1shows them. by @Josef-Haupt in #181
Full Changelog: v1.5.1...v1.6.0