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

[Bug report] - Slow performance of ONE on M1 mac native python (not urgent) #295

Open
berkgercek opened this issue Mar 28, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@berkgercek
Copy link
Member

I am running ONE on an M1 Macbook, using python with binaries native to the darwin OSX ARM architecture. When I try to run e.g. downloads using ONE (for example, downloading the Allen Atlas after importing ibllib.atlas.AllenAtlas), the processing is extremely slow to the point of unusability. The example download has taken >10m and is still not complete. I suspect it might have something to with the threading used by ONE, but this is a shot in the dark.

I know this is a very niche issue, so I'm not really looking for a quick fix or anything but I think it's something the devs should be aware of.

My environment spec can be found in the iblenv_osx-arm63.yaml file, installed via mambaforge for ARM macs.

@berkgercek berkgercek added the bug Something isn't working label Mar 28, 2022
@oliche
Copy link
Member

oliche commented Mar 30, 2022

Hey Berk,
I have a M1 mac here, the smallest possible, and don't have this issue.
You're saying that just importing the atlas shows the issue ?

I use conda as well, but the main yaml file !

Let me know if you want me to dig further config files on my end

@berkgercek
Copy link
Member Author

Hmmm, very strange. Are you running the terminal or your editor via Rosetta? Because for me the main yaml file wouldn't work at all because there were no arm compiled versions available of e.g. mayavi and pyqt. I made that modified env so I could get native python to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants