-
Notifications
You must be signed in to change notification settings - Fork 179
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
memory leak using SVR #1869
Comments
This issue was not resolved by using del and go.collect().... import gc use_intelex =1 if use_intelex==1: import os X = np.random.randint(10, size=(1000,500)) for i in range(10000):
|
Thank you @montagne5641 for the report! |
dear samir-nasibli daal4py==2024.4.0 Note: The same issue occurred even when I lowered the version as shown below. |
Any update on this? |
Same here, any updates? |
did you find that you would always run out of memory doing a grid search using this? |
When using SVR with patch, a memory leak occurs every time an assignment is made repeatedly with for.
This does not occur if patch is not used.
Similar issues have been reported previously with SVC, and daal4py was suggested as an alternative at the time. However, SVR does not support daal4py.
Is it possible to address the memory leak?
#-----------------------------------------------------
use_intelex =1
if use_intelex==1:
from sklearnex import patch_sklearn
patch_sklearn()
from sklearn.svm import SVR
import numpy as np
X = np.random.randint(10, size=(1000,500))
y = np.random.randint(2, size=(1000))
for i in range(10000):
results = SVR().fit(X,y)
#-----------------------------------------------------
The text was updated successfully, but these errors were encountered: