-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hi @Wainberg, first of all: Thank you very much for developing ryp and making it publicly available. We have been using it in https://github.com/liesel-devs/liesel_gam for a few months now and appreciate it very much.
One issue that we have been dealing with is the single-thread enforcement (see liesel-devs/liesel_gam#54), because our library also uses jax, which does a lot of multithreading -- so we do not have full control about which thread calls ryp out of the box. We have solved the issue by explicitly moving all R work in our library into a dedicated R thread, which is created when importing the package. We then wrap and re-export the three ryp core functions so they always run in this thread.
We were wondering: would a similar solution maybe be something that is interesting for ryp in general? Maybe as an opt-in?