Closed Brycealong closed 7 months ago
Same issue.
Can both of you ensure that you're not running out of memory, please?
Can both of you ensure that you're not running out of memory, please?
I can ensure that I'm have enough memory. But it might be my environment problem. I will check it again. Thanks!
Honestly a bit lost elsewise. Think that what is shown above is only a Numba warning, but not an error. Not sure what kills the kernel...
Anybody else has an idea @scverse/scanpy ?
I reinstalled the environment and solved the issue.
@Brycealong could you also try this in a new isolated environment, please? There might be some dependency that's interfering. Would be glad to know which one, but it's tricky...
Hi there,
I have seen that sc.pp.neighbors
leads to a dead kernel (core dump) on Apple Silicon M1. See tensorflow issue.
@Brycealong could you also try this in a new isolated environment, please? There might be some dependency that's interfering. Would be glad to know which one, but it's tricky...
Ofc. I can run the code on google colab and i'm stick to that. I think there's something interferring the process in my own computer...
Has anyone found a solution for this? I run into segfault with the same message when trying to run sc.pp.calculate_qc_metrics
on my M2. Latest clean installation. I have the core dump as well, but I don't know how to get useful information from there.
The same issue both on my M2 and Intel 12400, I'm sure the memory is not running out. I created a new envs but not helpful.
I recently installed the miniforge3 distribution on my Apple with M1 and both sc.pp.neighbors
and sc.pp.calculate_qc_metrics
work nice and quiet. Not sure if that helps with the issue here, but might be worth a try.
My versions:
-----
anndata 0.9.1
scanpy 1.9.3
-----
PIL 9.5.0
anndata2ri 1.2.dev11
appnope 0.1.3
asttokens NA
backcall 0.2.0
backports NA
beta_ufunc NA
binom_ufunc NA
cffi 1.15.1
colorama 0.4.6
comm 0.1.3
cycler 0.10.0
cython_runtime NA
dateutil 2.8.2
debugpy 1.6.7
decorator 5.1.1
defusedxml 0.7.1
executing 1.2.0
h5py 3.8.0
hypergeom_ufunc NA
igraph 0.10.4
importlib_resources NA
ipykernel 6.22.0
ipython_genutils 0.2.0
ipywidgets 8.0.6
jedi 0.18.2
jinja2 3.1.2
joblib 1.2.0
kiwisolver 1.4.4
leidenalg 0.9.1
llvmlite 0.39.1
markupsafe 2.1.2
matplotlib 3.7.1
mpl_toolkits NA
natsort 8.3.1
nbinom_ufunc NA
ncf_ufunc NA
numba 0.56.4
numpy 1.22.0
packaging 23.1
pandas 1.2.5
parso 0.8.3
pexpect 4.8.0
pickleshare 0.7.5
pkg_resources NA
platformdirs 3.2.0
prompt_toolkit 3.0.38
psutil 5.9.5
ptyprocess 0.7.0
pure_eval 0.2.2
pydev_ipython NA
pydevconsole NA
pydevd 2.9.5
pydevd_file_utils NA
pydevd_plugins NA
pydevd_tracing NA
pygments 2.15.1
pyparsing 3.0.9
pytz 2023.3
pytz_deprecation_shim NA
rpy2 3.5.11
scipy 1.9.1
scrublet NA
seaborn 0.12.2
session_info 1.0.0
six 1.16.0
sklearn 1.2.2
stack_data 0.6.2
statsmodels 0.13.5
texttable 1.6.7
threadpoolctl 3.1.0
tornado 6.3
traitlets 5.9.0
typing_extensions NA
tzlocal NA
wcwidth 0.2.6
yaml 6.0
zipp NA
zmq 25.0.2
-----
IPython 8.12.0
jupyter_client 8.2.0
jupyter_core 5.3.0
notebook 6.5.4
-----
Python 3.8.16 | packaged by conda-forge | (default, Feb 1 2023, 16:01:13) [Clang 14.0.6 ]
macOS-13.2.1-arm64-arm-64bit
Thanks a lot!
It happened many times on centos os I am using and I have been pulling at my hair. Finally what solved my issue is reinstalling traitlets to 5.9.0, which is apparently critical to operations in jupyter notebook. Reading the output logs of the crashed sessions really helps.
OK, issues like this are almost always either memory or dependency problems: Something’s miscompiled or compiled for the wrong architecture (e.g. a newer CPU than you have) or simply buggy.
We have no native code in Scanpy, so we don’t cause segfaults. If there’s anything we can mitigate, we will, if someone demonstrates a reproducible problem with up-to-date dependencies
At the stage of finding neighbors, my jupyter kept showing this error:
the error:
I try to make this work by running this in Linux but it got killed again.
Below is my basic workflow:
My computer is Mac book Intel i5.
Thanks!
Versions