BoChenGroup/PyDPM

Why is the gpu version of PGDS slower than the cpu version?

Closed this issue · 1 comments

Why is the gpu version of PGDS slower than the cpu version? The time those two cost per epoch is about 1.256 to 1.032 seconds. That's very different from other models like PGBN.

The poor performance of GPU version is caused by model sampler. Specifically, PyDPM does not perform a specific acceleration of the particular Gibbs sampling process in some models like DirBN & PGDS. The details can be found here:PGDS, DirBN.

In the future, we will consider optimizing them more comprehensively.