-
Describe the bug Intel oneDAL FATAL ERROR: onedal_thread.1.dll. Error code is 0x80096005. To Reproduce
import lightgbm as lgb
import numpy as np
import daal4py as d4p
def get_data(n, m):
x_train = np.random.randn(n, m).astype(np.float32)
A = np.random.randint(-5, 5, size=(m, 1))
y_train = (x_train @ A).astype(np.float32)
return x_train, y_train
n = 1000
m = 25
x_train, y_train = get_data(n, m)
params = {
'task': 'train',
'boosting_type': 'gbdt',
'objective': 'regression',
'metric': ['rmse'],
'device': 'cpu',
'num_leaves': 31,
'bagging_fraction': 0.5,
'feature_fraction': 0.5,
'learning_rate': 0.001,
'verbose': 2,
'max_bin': 255,
}
ds_train = lgb.Dataset(x_train, y_train.ravel())#, free_raw_data=False)
gbm = lgb.train(
params,
ds_train,
num_boost_round=10,
# keep_training_booster=args.keep_training_booster,
)
print("Converting...", flush=True)
daal_model = d4p.get_gbt_model_from_lightgbm(gbm)
print("Converted...", flush=True)
daal_prediction = d4p.gbt_regression_prediction().compute(x_train, daal_model).prediction
Expected behavior Output/Screenshots Environment:
|
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
@CHDev93 This is not a problem with finding a library. Otherwise there would be errors:
Your error is more exotic (from the forum):
This also explains why we cannot reproduce your problem. For loader onedal_thread and onedal_sequential we use safe We will try to deal with the problem in detail. As the news, we will definitely unsubscribe |
Beta Was this translation helpful? Give feedback.
-
Really appreciate you looking into this @PetrovKP . The forum you linked to seems to indicate this is something specific to my Windows setup. My takeaway was that there wasn't anything the library could do about this but some sort of patching I need on my machine. Is that your understanding as well? |
Beta Was this translation helpful? Give feedback.
-
@CHDev93 DLL of oneDAL cannot verify the certificate on your system. Can you check the certificate properties to see if this is the problem? |
Beta Was this translation helpful? Give feedback.
-
@PetrovKP I have a very similar "Digital Signature Details" page except the signing time is "12 November 2020 10:43:51". Specifically there is no day of the week and the date is order day, month, year rather than month day year. When I click "View Certificate", the general tab shows "The timestamp signature and/or certificate could not be verified or is malformed". The date certainly looks valid to me unless it's really not happy about european date formatting. So this is certainly the problem as you mention, though I'm not familiar enough with these things to know how to proceed. For reference the Valid from field shows 31/08/2020 to 17/06/2021. So again in day month year format |
Beta Was this translation helpful? Give feedback.
-
@chaaland Unfortunately, it's hard for me to reproduce. Updating certificates at the root can potentially help:
|
Beta Was this translation helpful? Give feedback.
-
@PetrovKP managed to fixed this with your comments regarding the root certificate update. Thanks for your help! Regarding the init.py not working for |
Beta Was this translation helpful? Give feedback.
-
@CHDev93 Great news! Today we have merged the fix for the virtualenv issue. |
Beta Was this translation helpful? Give feedback.
@chaaland Unfortunately, it's hard for me to reproduce. Updating certificates at the root can potentially help:
Reference