-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make imports faster? #7
Comments
Are you still facing this issue ? |
So I am facing this issue now (using multiprocessing) I have made some basic profiling using tuna for the visualization. As we can see, the loading time is mostly due to external libraries (torch, sigpy, matplotlib and sigpy) are in the top three. However, after this initial import there is no extra cost (import are cached internally by python) Several possibilities:
Related stuff: Reproducing the profiling: python -X importtime -c "import mrinufft" 2> import.log
tuna import.log |
For now imports seem really slow, make it faster for faster debug cycles
The text was updated successfully, but these errors were encountered: