Skip to content
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

Manylinux2014 avx512 support. #1577

Closed
alexanderchang1 opened this issue Feb 21, 2024 · 1 comment
Closed

Manylinux2014 avx512 support. #1577

alexanderchang1 opened this issue Feb 21, 2024 · 1 comment

Comments

@alexanderchang1
Copy link

Hi,

Manylinux2014 reaches EOL in June, however there are certain packages for machine learning that are using avx512 which I believe isn't supported by the current manylinux2014 docker images. Is there a way to incorporate or update the images as an interim solution till June? I use an institutional cluster that currently can't run/install the manylinux_2_28 images.

Example error:

× Building wheel for simsimd (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [229 lines of output] running bdist_wheel running build running build_ext building 'simsimd' extension creating build creating build/temp.linux-x86_64-cpython-38 creating build/temp.linux-x86_64-cpython-38/python gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iinclude -I/tmp/pip-build-env-6xa9mw9d/overlay/lib/python3.8/site-packages/numpy/core/include -I/opt/_internal/cpython-3.8.18/include/python3.8 -c python/lib.c -o build/temp.linux-x86_64-cpython-38/python/lib.o -std=c11 -O3 -ffast-math -fdiagnostics-color=always -w -fopenmp In file included from include/simsimd/binary.h:23, from include/simsimd/simsimd.h:21, from python/lib.c:30: include/simsimd/types.h:121:9: error: ‘_Float16’ is not supported on this target 121 | typedef _Float16 simsimd_f16_t; | ^~~~~~~~ In file included from include/simsimd/simsimd.h:21, from python/lib.c:30: include/simsimd/binary.h: In function ‘simsimd_avx512_b8_hamming’: include/simsimd/binary.h:150:17: error: incompatible types when assigning to type ‘__m512i’ {aka ‘__vector(8) long long int’} from type ‘int’ 150 | a_vec = _mm512_loadu_epi8(a);

@mayeut
Copy link
Member

mayeut commented Mar 16, 2024

You can try installing devtoolset-11 instead of devtoolset-10 to check if it fixes your build.
The image in this repo won't be updated to use that devtoolset though (c.f. #1266)

@mayeut mayeut closed this as completed Mar 16, 2024
@mayeut mayeut closed this as not planned Won't fix, can't repro, duplicate, stale Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants