You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m implementing a BSDF plugin in Mitsuba with neural networks (small MLP) inside. I am currently implementing it using Pytorch interoperability, but am looking for faster options.
I came across the branch “coopvec” in this repo, which looks a lot like what I need. I have two questions.
we can expect speedup compared to torch implementations ? (Approximately how much?)
I haven't personally compared this, so I can't say for sure. As a reminder, the cooperative vector feature is only really meant for smaller neural networks. Theoretically, you should see some speedup there because you no longer need to write your NN inputs to memory (disadvantage of evaluated mode). For larger models, PyTorch is still the way to go.
Are you planning on integrating the coopvec branch into Mitsuba any time soon?
I'm hoping to merge the Dr.Jit PR #384 this week. Once it's merged, it should be available to mitsuba:master fairly quickly.
Hi,
Thanks for the great work.
I’m implementing a BSDF plugin in Mitsuba with neural networks (small MLP) inside. I am currently implementing it using Pytorch interoperability, but am looking for faster options.
I came across the branch “coopvec” in this repo, which looks a lot like what I need. I have two questions.
Posting a very brief example code of my current implementation, just in case. Thanks.
The text was updated successfully, but these errors were encountered: