-
Notifications
You must be signed in to change notification settings - Fork 34
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
wm_cluster_from_atlas.py crashes on a 128 GB RAM, Python 3.12 environment #240
Comments
Command used:
|
Upon further investigation, I realize that just this also fails:
|
I replaced that line with: np.multiply(distance, -1, out=distance, dtype=np.float32)
np.divide(distance, sigmasq, out=distance, dtype=np.float32)
M = distance.shape[0]
N = distance.shape[1]
similarities = np.zeros((M,N), dtype=np.float32)
np.exp(distance, out=similarities, dtype=np.float32)
del distance Thereby, I fixed just the The idea here is that you need to provide |
The idea here is that you need to provide |
wm_cluster_from_atlas.py crashes at this line saying
Killed
:whitematteranalysis/whitematteranalysis/similarity.py
Line 17 in f9c0ef6
We pip installed this on a 128 GB RAM, Python 3.12, Redhat 9 environment. We realized that it does not crash on a 512 GB RAM, Python 3.12, Redhat 9 environment. Feel free to share your thoughts.
Edit: we collected a few statistics when the above crash happens:
The RAM usage simply jumps to 128 GB when it crashes on a 128 GB machine. Same issue on a 256 GB RAM machine.
The text was updated successfully, but these errors were encountered: