toshas / torch-householder

Efficient Householder Transformation in PyTorch
Other
60 stars 2 forks source link

[POLL] Should the package switch install-time to run-time native code compilation? #5

Open toshas opened 3 years ago

toshas commented 3 years ago

Currently, the package compiles native code (C++) upon package installation. This saves a few seconds during code run time, as the compilation does not happen when the user code starts. However, one scenario when it hurts is when the package is installed from a different environment or a machine than the actual code will be run on. This is a use case with most cluster environments, where packages may be installed from a login node, rather than the actual machine with the GPU.

Should compilation be rather performed at run time?

👍 - Move compilation to run time 👎 - Keep as is