dmlc / xgboost

Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) Library, for Python, R, Java, Scala, C++ and more. Runs on single machine, Hadoop, Spark, Dask, Flink and DataFlow
https://xgboost.readthedocs.io/en/stable/
Apache License 2.0
26.35k stars 8.74k forks source link

cannot allocate memory in static TLS block #7110

Open zhonghua-zheng opened 3 years ago

zhonghua-zheng commented 3 years ago

Hello, I noticed there is an error when I import xgboost after xarray. However, it works after I switching the order. It would be great to know other solutions. Thanks!

image

zhonghua-zheng commented 3 years ago

more information:

INSTALLED VERSIONS
------------------
commit: None
python: 3.9.5 | packaged by conda-forge | (default, Jun 19 2021, 00:18:38) 
[GCC 9.3.0]
python-bits: 64
OS: Linux
OS-release: 5.10.25-linuxkit
machine: aarch64
processor: aarch64
byteorder: little
LC_ALL: None
LANG: None
LOCALE: ('en_US', 'UTF-8')
libhdf5: 1.10.4
libnetcdf: 4.7.3

xarray: 0.18.2
pandas: 1.3.0
numpy: 1.21.0
scipy: 1.7.0
netCDF4: 1.5.7
pydap: None
h5netcdf: None
h5py: None
Nio: None
zarr: None
cftime: 1.5.0
nc_time_axis: None
PseudoNetCDF: None
rasterio: None
cfgrib: None
iris: None
bottleneck: None
dask: None
distributed: None
matplotlib: 3.4.2
cartopy: 0.19.0.post1
seaborn: None
numbagg: None
pint: None
setuptools: 49.6.0.post20210108
pip: 21.1.3
conda: 4.10.3
pytest: None
IPython: 7.25.0
sphinx: None
trivialfis commented 3 years ago

Related:

https://bugzilla.redhat.com/show_bug.cgi?id=1722181

https://github.com/pytorch/pytorch/issues/2575 https://github.com/opencv/opencv/issues/14884

I think this needs to be fixed in libgomp itself.