自学内容网 自学内容网

dlopen: cannot load any more object with static TLS & sklearn, HPOBench, smac3

sklearn, HPOBench, smac3

Traceback (most recent call last):
  File "/data/tangqirui/HPOBench/tests/SMAC3.py", line 6, in <module>
    from hpobench.benchmarks.ml.svm_benchmark import SVMBenchmark
  File "/data/tangqirui/HPOBench/hpobench/benchmarks/ml/__init__.py", line 1, in <module>
    from hpobench.benchmarks.ml.histgb_benchmark import HistGBBenchmark, HistGBBenchmarkBB, HistGBBenchmarkMF
  File "/data/tangqirui/HPOBench/hpobench/benchmarks/ml/histgb_benchmark.py", line 15, in <module>
    from sklearn.experimental import enable_hist_gradient_boosting  # noqa
  File "/root/miniconda3/envs/HPO/lib/python3.10/site-packages/sklearn/__init__.py", line 85, in <module>
    from .utils._show_versions import show_versions
  File "/root/miniconda3/envs/HPO/lib/python3.10/site-packages/sklearn/utils/_show_versions.py", line 15, in <module>
    from ._openmp_helpers import _openmp_parallelism_enabled
ImportError: dlopen: cannot load any more object with static TLS

引用 dlopen: cannot load any more object with static TLS问题解决

成功解决:升级glibc版本到2.23。

方法 Centos7 glibc库升级到2.23(实测可行)


原文地址:https://blog.csdn.net/yuanyang5917/article/details/143800394

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!