Skip to content
This repository was archived by the owner on Sep 25, 2023. It is now read-only.

[REVIEW] Depreciate single threaded lfilter due to poor performance - #93

Merged
awthomp merged 10 commits into
rapidsai:branch-0.14from
awthomp:lfilter_remove
May 11, 2020
Merged

awthomp merged 10 commits into
rapidsai:branch-0.14from
awthomp:lfilter_remove

Conversation

@awthomp

@awthomp awthomp commented May 8, 2020

Copy link
Copy Markdown
Member

We tried, and we were (CURRENTLY!) defeated. We are going to look into FFT alternatives to the linear filter in addition to implementation of sosfilt outlined here: #52

In our test cases, cusignal.lfilter was around 100x slower than scipy.signal.lfilter but faster than torchaudio. We figured that end-to-end performance would make up for the 100x deficiency, but we ended up stressing the GPU and significantly throttling the signal processing workload. As a result, we are removing cusignal.lfilter from the library.

closes #90

@awthomp
awthomp requested a review from a team May 8, 2020 19:08
@GPUtester

Copy link
Copy Markdown
Contributor

Please update the changelog in order to start CI tests.

View the gpuCI docs here.

@awthomp awthomp self-assigned this May 8, 2020
@awthomp

awthomp commented May 8, 2020

Copy link
Copy Markdown
Member Author

rerun tests

@awthomp awthomp added the 3 - Ready for Review Ready for review by team label May 8, 2020
@awthomp awthomp added this to the 0.14 milestone May 9, 2020
@awthomp

awthomp commented May 11, 2020

Copy link
Copy Markdown
Member Author

@mnicely -- Can you resolve these merge conflicts? They deal with the new benchmark tests, and you're more familiar with that code than me.

@mnicely

mnicely commented May 11, 2020

Copy link
Copy Markdown
Contributor

@awthomp Can you run flake8 on the merged changes?

@awthomp

awthomp commented May 11, 2020

Copy link
Copy Markdown
Member Author

@awthomp Can you run flake8 on the merged changes?

./cusignal/benchmark/bench_signaltools.py:180:9: E112 expected an indented block

./cusignal/benchmark/bench_signaltools.py:180:11: E999 IndentationError: expected an indented block

./cusignal/benchmark/bench_signaltools.py:184:5: E303 too many blank lines (2)

./cusignal/benchmark/bench_signaltools.py:207:5: E303 too many blank lines (2)

./cusignal/benchmark/bench_signaltools.py:214:80: E501 line too long (80 > 79 characters)

./cusignal/benchmark/bench_signaltools.py:220:80: E501 line too long (81 > 79 characters)

./cusignal/benchmark/bench_signaltools.py:239:5: E303 too many blank lines (2)

./cusignal/benchmark/bench_signaltools.py:271:5: E303 too many blank lines (2)

./cusignal/benchmark/bench_signaltools.py:278:80: E501 line too long (83 > 79 characters)

./cusignal/benchmark/bench_signaltools.py:282:80: E501 line too long (83 > 79 characters)

./cusignal/benchmark/bench_signaltools.py:293:5: E303 too many blank lines (2)

./cusignal/benchmark/bench_signaltools.py:312:5: E303 too many blank lines (2)

./cusignal/benchmark/bench_signaltools.py:331:5: E303 too many blank lines (2)

./cusignal/benchmark/bench_signaltools.py:350:5: E303 too many blank lines (2)

./cusignal/benchmark/bench_signaltools.py:362:80: E501 line too long (82 > 79 characters)

./cusignal/benchmark/bench_signaltools.py:395:5: E303 too many blank lines (2)

./cusignal/benchmark/bench_signaltools.py:407:80: E501 line too long (82 > 79 characters)

@mnicely mnicely added 5 - Ready to Merge Testing and reviews complete, ready to merge and removed 3 - Ready for Review Ready for review by team labels May 11, 2020
@awthomp
awthomp merged commit 1b33b77 into rapidsai:branch-0.14 May 11, 2020
@awthomp
awthomp deleted the lfilter_remove branch May 11, 2020 12:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

5 - Ready to Merge Testing and reviews complete, ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] cuSignal lfilter performance not satisfactory for real-time signal processing tasks

3 participants