Better HN
topnewbestaskshowjobs
Log inSign up

Saurabh_29

37 karma · joined Sep 8, 2019 (7y ago) · 9 submissions

Submissions

comment 5y ago · link · parent

Hi, C++ implementation of approximate nearest knn which doesn't suffer from problem of curse of dimentionality whilst giving theoretical bounds on approximation.

2.

Fast approximate knn using random projections(github.com ↗)

3 points · by Saurabh_29 · 5y ago · 1 comment

3.

Text to Speech CUDA Programming(github.com ↗)

3 points · by Saurabh_29 · 7y ago · discuss

comment 7y ago · link · parent

+1, it is the biggest bottleneck at times

comment 7y ago · link · parent

Also, in some cases like small RNN/LSTMs, CPU's can be faster.

comment 7y ago · link · parent

I will agree with you. It is a combination of both. Plus I would like to add some extra points, pytorch/tensorflow essentially use the same CUDA/Cudnn libraries, the thing they are developed with the motive to catering wide corner cases, which tend to be robust but slower at times because of the memory access patterns/algorithm selection heuristics, some extra operations. Also, we can get rid of many memory read/write operations by clubbing kernels.

comment 7y ago · link · parent

The main bottleneck is the time spent in adding bias after Conv/dense. A well-optimized code can remove that bottleneck. I haven't done it in my code as it makes it less readable.

comment 7y ago · link · parent

The main bottleneck is the data transfer speed between the GPU and the SMs. Also, using tensor core doesn't necessarily apply using half-precision as now NVIDIA supports single-precision operation in Tensorcore too.

9.

Waveglow Inference in CUDA C++(github.com ↗)

72 points · by Saurabh_29 · 7y ago · 10 comments