-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
numpy.dot crash with numpy.float64 input #9254
Comments
Can you paste the exact code you're running and the output you get? Also, how did you install numpy? |
Installed everything simply with https://github.com/lvdmaaten/bhtsne/blob/master/bhtsne.py#L108-L110
for debug purposes I pulled out the transpose step, and indeed it worked. It is when performing output is very verbose.. the main crash is
|
is your application using fork or multiprocessing? |
There seems to be a fork there:
https://github.com/lvdmaaten/bhtsne/blob/master/bhtsne.py#L199 --- this
use of Accelerate is no supported by Apple, and they refuse to fix it.
|
Good catch! Cc @matthew-brett as another data point in the discussion about whether accelerate or openblas would make a better default on MacOS. |
@juliantaylor thank you, regarding openBLAS installation.. I imagine I just follow their instructions and I will pick up the correct version? I'll keep an eye out for the pthread or intel version as I follow this along .. Thank you @njsmith @pv as well. Edit : Went ahead and installed from source ... retrying the calculation with the following. Unsure how I check which implementation I have of openBLAS though. Secondly, seems recommended I also reinstall Sci-py from source as well.. I'll wait on that unless people say otherwise
|
Update, calculation is passing now! Thank you again everyone. Closing this ticket myself.. hope that's okay. |
Im just beginning to dive into python, so please pardon my ignorance .. I seem to have stumbled on a matrix that when attempting to perform a
np.dot(
on it .. along with it's transpose.. it seg faults.I'm in OSX 10.12, Python 2.7.13 and reading some of the past things people ask. My guess is I need to do something with BLAS ?
Additional info Edit :
The text was updated successfully, but these errors were encountered: