-
Notifications
You must be signed in to change notification settings - Fork 25
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
Support for linux arm64? <jemalloc>: Unsupported system page size
and Segmentation fault
#839
Comments
In general, we support What page size is your system running on? getconf PAGESIZE
# 4096 Just googling your problem, a similar issue popped up here: pola-rs/polars#15549. Setting cc @xhochy |
I opened a PR here: conda-forge/tabmat-feedstock#50 |
Thanks Jan!
A quick
raised an error, I'll have a closer look tomorrow.
|
@mlondschien can you try the latest build |
Same as before. (base) mlondsch@nid005008:~/code$ conda install -c conda-forge tabmat=4.0.1=py312ha2895bd_1
Channels:
- conda-forge
Platform: linux-aarch64
Collecting package metadata (repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /users/mlondsch/miniforge3
added / updated specs:
- tabmat==4.0.1=py312ha2895bd_1
The following packages will be downloaded:
package | build
---------------------------|-----------------
astor-0.8.1 | pyh9f0ad1d_0 25 KB conda-forge
cached_property-1.5.2 | pyha770c72_1 11 KB conda-forge
formulaic-1.0.2 | pyhd8ed1ab_0 72 KB conda-forge
graphlib-backport-1.0.3 | pyhd8ed1ab_0 10 KB conda-forge
interface_meta-1.3.0 | pyhd8ed1ab_0 16 KB conda-forge
libblas-3.9.0 |23_linuxaarch64_openblas 15 KB conda-forge
libcblas-3.9.0 |23_linuxaarch64_openblas 14 KB conda-forge
libgfortran-14.1.0 | he9431aa_1 51 KB conda-forge
libgfortran-ng-14.1.0 | he9431aa_1 51 KB conda-forge
libgfortran5-14.1.0 | h9420597_1 1.0 MB conda-forge
libjemalloc-local-5.3.0 | hd600fc2_0 1.5 MB conda-forge
liblapack-3.9.0 |23_linuxaarch64_openblas 14 KB conda-forge
libopenblas-0.3.27 |pthreads_h076ed1e_1 4.1 MB conda-forge
numpy-2.1.1 | py312h2eb110b_0 6.8 MB conda-forge
openssl-3.3.2 | h86ecc28_0 3.3 MB conda-forge
pandas-2.2.2 | py312h14eacfc_1 14.5 MB conda-forge
python-dateutil-2.9.0 | pyhd8ed1ab_0 218 KB conda-forge
python-tzdata-2024.1 | pyhd8ed1ab_0 141 KB conda-forge
pytz-2024.2 | pyhd8ed1ab_0 183 KB conda-forge
scipy-1.14.1 | py312hca5e164_0 16.6 MB conda-forge
six-1.16.0 | pyh6c4a22f_0 14 KB conda-forge
tabmat-4.0.1 | py312ha2895bd_1 561 KB conda-forge
typing-extensions-4.12.2 | hd8ed1ab_0 10 KB conda-forge
typing_extensions-4.12.2 | pyha770c72_0 39 KB conda-forge
wrapt-1.16.0 | py312hb2c0f52_1 61 KB conda-forge
------------------------------------------------------------
Total: 49.3 MB
The following NEW packages will be INSTALLED:
astor conda-forge/noarch::astor-0.8.1-pyh9f0ad1d_0
cached_property conda-forge/noarch::cached_property-1.5.2-pyha770c72_1
formulaic conda-forge/noarch::formulaic-1.0.2-pyhd8ed1ab_0
graphlib-backport conda-forge/noarch::graphlib-backport-1.0.3-pyhd8ed1ab_0
interface_meta conda-forge/noarch::interface_meta-1.3.0-pyhd8ed1ab_0
libblas conda-forge/linux-aarch64::libblas-3.9.0-23_linuxaarch64_openblas
libcblas conda-forge/linux-aarch64::libcblas-3.9.0-23_linuxaarch64_openblas
libgfortran conda-forge/linux-aarch64::libgfortran-14.1.0-he9431aa_1
libgfortran-ng conda-forge/linux-aarch64::libgfortran-ng-14.1.0-he9431aa_1
libgfortran5 conda-forge/linux-aarch64::libgfortran5-14.1.0-h9420597_1
libjemalloc-local conda-forge/linux-aarch64::libjemalloc-local-5.3.0-hd600fc2_0
liblapack conda-forge/linux-aarch64::liblapack-3.9.0-23_linuxaarch64_openblas
libopenblas conda-forge/linux-aarch64::libopenblas-0.3.27-pthreads_h076ed1e_1
numpy conda-forge/linux-aarch64::numpy-2.1.1-py312h2eb110b_0
pandas conda-forge/linux-aarch64::pandas-2.2.2-py312h14eacfc_1
python-dateutil conda-forge/noarch::python-dateutil-2.9.0-pyhd8ed1ab_0
python-tzdata conda-forge/noarch::python-tzdata-2024.1-pyhd8ed1ab_0
pytz conda-forge/noarch::pytz-2024.2-pyhd8ed1ab_0
scipy conda-forge/linux-aarch64::scipy-1.14.1-py312hca5e164_0
six conda-forge/noarch::six-1.16.0-pyh6c4a22f_0
tabmat conda-forge/linux-aarch64::tabmat-4.0.1-py312ha2895bd_1
typing-extensions conda-forge/noarch::typing-extensions-4.12.2-hd8ed1ab_0
typing_extensions conda-forge/noarch::typing_extensions-4.12.2-pyha770c72_0
wrapt conda-forge/linux-aarch64::wrapt-1.16.0-py312hb2c0f52_1
The following packages will be UPDATED:
openssl 3.3.1-h86ecc28_3 --> 3.3.2-h86ecc28_0
Proceed ([y]/n)? y
Downloading and Extracting Packages:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(base) mlondsch@nid005008:~/code$ conda install glum
Channels:
- conda-forge
Platform: linux-aarch64
Collecting package metadata (repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /users/mlondsch/miniforge3
added / updated specs:
- glum
The following packages will be downloaded:
package | build
---------------------------|-----------------
glum-3.0.2 | py312h14eacfc_0 428 KB conda-forge
joblib-1.4.2 | pyhd8ed1ab_0 215 KB conda-forge
numexpr-2.10.0 | py312ha3b5b07_0 154 KB conda-forge
scikit-learn-1.5.2 | py312h2605d20_1 9.7 MB conda-forge
threadpoolctl-3.5.0 | pyhc1e730c_0 23 KB conda-forge
------------------------------------------------------------
Total: 10.5 MB
The following NEW packages will be INSTALLED:
glum conda-forge/linux-aarch64::glum-3.0.2-py312h14eacfc_0
joblib conda-forge/noarch::joblib-1.4.2-pyhd8ed1ab_0
numexpr conda-forge/linux-aarch64::numexpr-2.10.0-py312ha3b5b07_0
scikit-learn conda-forge/linux-aarch64::scikit-learn-1.5.2-py312h2605d20_1
threadpoolctl conda-forge/noarch::threadpoolctl-3.5.0-pyhc1e730c_0
Proceed ([y]/n)? y
Downloading and Extracting Packages:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(base) mlondsch@nid005008:~/code$ ipython
Python 3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.26.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import glum
<jemalloc>: Unsupported system page size
In [2]: In [2]: import numpy as np
...:
...: In [3]: X = np.random.rand(10, 3)
...:
...: In [4]: y = np.random.rand(10)
...:
...: In [5]: glum.GeneralizedLinearRegressor().fit(X, y)
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
Segmentation fault (core dumped)
(base) mlondsch@nid005008:~/code$ ipython
Python 3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.26.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import tabmat
<jemalloc>: Unsupported system page size |
Following the installation steps of (as suggested by the awesome cscs support)
to build locally did the trick! |
Did you set the |
No. It's also not set by default.
edit: below are the full build logs, in case this helps
|
On the conda side we probably need conda-forge/jemalloc-feedstock#30 |
I am using
glum
on anarm64
machine. Both after installing fromconda
andpip
(NB: why are there no arm64 linux wheels? Outputs below are fromconda
installation) and importingglum
, I getFitting a model results in a segmentation fault:
Does glum support arm64 chips?
The text was updated successfully, but these errors were encountered: