Skip to content
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

How much time should the demo_quick_sr example take? Unit tests not finishing as well. #53

Open
riobanerjee opened this issue May 30, 2024 · 0 comments

Comments

@riobanerjee
Copy link

Hi,
Thanks for making this package public, I think this could be very helpful in my work.
I have followed the installation instructions and installed it with no hitches, but when I try to run the unit tests or demo_quick_sr examples (both notebook and terminal), it keeps running for more than 3-4 hours without any result. I am running on an M1 Pro chip.
Output from unit test so far:
/Users/riobanerjee/Codes/PhySO/physo/physym/program.py:20: UserWarning: Can not import display packages. warnings.warn("Can not import display packages.") ....

Output from demo_quick_sr.ipynb so far:
`/Users/riobanerjee/Codes/PhySO/physo/physym/program.py:20: UserWarning: Can not import display packages.
warnings.warn("Can not import display packages.")
Parallel mode is not available because physo is being ran from a notebook on a system returning multiprocessing.get_start_method() = 'spawn' (typically MACs/Windows). Run physo from the terminal to use parallel mode.
Parallel mode is not available because physo is being ran from a notebook on a system returning multiprocessing.get_start_method() = 'spawn' (typically MACs/Windows). Run physo from the terminal to use parallel mode.

default get_start_method : spawn
Running from notebook : True
Is CUDA available : False
Total nb. of CPUs : 8
Recommended config {'parallel_mode': False, 'n_cpus': 8}
Parallel mode is not available because physo is being ran from a notebook on a system returning multiprocessing.get_start_method() = 'spawn' (typically MACs/Windows). Run physo from the terminal to use parallel mode.
Parallel mode is not available because physo is being ran from a notebook on a system returning multiprocessing.get_start_method() = 'spawn' (typically MACs/Windows). Run physo from the terminal to use parallel mode.

default get_start_method : spawn
Running from notebook : True
Is CUDA available : False
Total nb. of CPUs : 8
Recommended config {'parallel_mode': False, 'n_cpus': 8}
Parallel mode is not available because physo is being ran from a notebook on a system returning multiprocessing.get_start_method() = 'spawn' (typically MACs/Windows). Run physo from the terminal to use parallel mode.
Parallel mode is not available because physo is being ran from a notebook on a system returning multiprocessing.get_start_method() = 'spawn' (typically MACs/Windows). Run physo from the terminal to use parallel mode.
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant