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

High cpu usage after fit() with Jupyter notebook #69

Open
findyy99 opened this issue Oct 27, 2022 · 1 comment
Open

High cpu usage after fit() with Jupyter notebook #69

findyy99 opened this issue Oct 27, 2022 · 1 comment

Comments

@findyy99
Copy link

Hi, I am using fitter on the MacBook Pro 2021 with the Jupyter notebook. Recently, I found that after running the Fitter.fit(), the cpu usage monitor shows that a python thread usage is 100%. Then I tried run the Fitter.fit() in the terminal, it was totally fine.

I have checked the log of Jupyter notebook, everything is fine.
image
image

@findyy99
Copy link
Author

update

/Users/findyy/opt/miniconda3/envs/d2l/lib/python3.10/site-packages/scipy/integrate/_quadpack_py.py:1151: IntegrationWarning: The maximum number of subdivisions (50) has been achieved.
  If increasing the limit yields no improvement it is advised to analyze 
  the integrand in order to determine the difficulties.  If the position of a 
  local difficulty can be determined (singularity, discontinuity) one will 
  probably gain from splitting up the interval and calling the integrator 
  on the subranges.  Perhaps a special-purpose integrator should be used.
  quad_r = quad(f, low, high, args=args, full_output=self.full_output,

if there has warning when fitting, the CPU usage monitor will show the python thread is 100% even after the fit(). I don't know if this is a question about spicy.

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