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

Potential Bug #44

Open
kribou opened this issue Sep 30, 2013 · 1 comment
Open

Potential Bug #44

kribou opened this issue Sep 30, 2013 · 1 comment

Comments

@kribou
Copy link

kribou commented Sep 30, 2013

Create a X matrix (500x200 000) without memory mapping using LocalEngine with 3 processes.

cv_svm_local = CV(Methods(*[SVC(kernel="linear"),
SVC(kernel="rbf")]),
n_folds=3)

 -> Pt1 : Beginning with 200000 features, memmap = False , 3 processes
 -> Pt2 : X and y created, building workflow
/home/jl237561/github/scikit-learn/sklearn/utils/extmath.py:129: UserWarning: Could not import BLAS, falling back to np.dot
  warnings.warn('Could not import BLAS, falling back to np.dot')
 -> Pt3 : Workflow built, running
Traceback (most recent call last):
  File "test_memmapping.py", line 108, in <module>
    func_memm_local(int(args[0]), int(args[1]), args[2], int(args[3]))
  File "test_memmapping.py", line 97, in func_memm_local
    cv_svm = local_engine.run(**Xy)
  File "/home/jl237561/github/pylearn-epac/epac/map_reduce/engine.py", line 143, in run
    for i in input_list)
  File "/home/jl237561/github/joblib/joblib/parallel.py", line 558, in __call__
    for function, args, kwargs in iterable:
  File "/home/jl237561/github/pylearn-epac/epac/map_reduce/engine.py", line 143, in <genexpr>
    for i in input_list)
  File "/home/jl237561/github/joblib/joblib/parallel.py", line 120, in delayed
    pickle.dumps(function)
SystemError: error return without exception set
@kribou
Copy link
Author

kribou commented Nov 22, 2013

It seems the error was coming from the dill library : as it overloads pickle, it may have caused some problems when joblib was trying to call pickle
An update of the dill libraby seems to have solved this bug

@kribou kribou closed this as completed Nov 22, 2013
@kribou kribou reopened this Feb 4, 2014
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