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

llvm error out of memory #869

Closed
nacho00112 opened this issue Apr 2, 2023 · 1 comment
Closed

llvm error out of memory #869

nacho00112 opened this issue Apr 2, 2023 · 1 comment

Comments

@nacho00112
Copy link

nacho00112 commented Apr 2, 2023

How to reproduce the behaviour

After running pip install blis --no-binary blia --no-build-isolation i got this the above error, i'm always using --no-build-insolation to avoid rebuilding numpy on isolation since i have numpy already installed
Requirement already satisfied: murmurhash in /data/data/com.termux/files/usr/lib/python3.11/site-packages (1.0.9) Requirement already satisfied: cymem in /data/data/com.termux/files/usr/lib/python3.11/site-packages (2.0.7)
Requirement already satisfied: preshed in /data/data/com.termux/files/usr/lib/python3.11/site-packages (3.0.8)
DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at pypa/pip#11453 Collecting blis
Using cached blis-0.9.1.tar.gz (3.6 MB) Preparing metadata (pyproject.toml) ... done Requirement already satisfied: numpy>=1.15.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from blis) (1.24.2) Building wheels for collected packages: blis Building wheel for blis (pyproject.toml) ... done
Created wheel for blis: filename=blis-0.9.1-cp311-cp311-linux_armv7l.whl size=1729413 sha256=976d43a496aa47e2b0934cd46caf8c4a5ac2c6c1bb5947fb41c2e28151bd368b Stored in directory: /data/data/com.termux/files/home/.cache/pip/wheels/f2/20/e2/f656d9a100f1d58d4016cd766268a70e6554933a2060320d91 Successfully built blis Installing collected packages: blis
Successfully installed blis-0.9.1
Collecting thinc Using cached thinc-8.1.9.tar.gz (188 kB)
^[[H Preparing metadata (pyproject.toml) ... done Collecting blis<0.8.0,>=0.7.8
Using cached blis-0.7.9.tar.gz (2.9 MB) Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: murmurhash<1.1.0,>=1.0.2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from thinc) (1.0.9) Requirement already satisfied: cymem<2.1.0,>=2.0.2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from thinc) (2.0.7)
Requirement already satisfied: preshed<3.1.0,>=3.0.2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from thinc) (3.0.8)
Collecting wasabi<1.2.0,>=0.8.1
Downloading wasabi-1.1.1-py3-none-any.whl (27 kB)
Collecting srsly<3.0.0,>=2.4.0
Using cached srsly-2.4.6-cp311-cp311-linux_armv7l.whl
Collecting catalogue<2.1.0,>=2.0.4
Using cached catalogue-2.0.8-py3-none-any.whl (17 kB) Collecting confection<1.0.0,>=0.0.1 Downloading confection-0.0.4-py3-none-any.whl (32 kB)
Requirement already satisfied: setuptools in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from thinc) (67.6.1)
Requirement already satisfied: numpy>=1.15.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from thinc) (1.24.2)
Collecting pydantic!=1.8,!=1.8.1,<1.11.0,>=1.7.4 Downloading pydantic-1.10.7-py3-none-any.whl (157 kB) ━━━━━━━━━━━━━━━━ 157.2/157.2 kB 838.7 kB/s eta 0:00:00Collecting packaging>=20.0 Downloading packaging-23.0-py3-none-any.whl (42 kB) ━━━━━━━━━━━━━━━━━━ 42.7/42.7 kB 586.6 kB/s eta 0:00:00Collecting typing-extensions>=4.2.0 Downloading typing_extensions-4.5.0-py3-none-any.whl (27 kB) Building wheels for collected packages: thinc, blis
Building wheel for thinc (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for thinc (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [285 lines of output]
Cythonizing sources
running bdist_wheel running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-311
creating build/lib.linux-armv7l-cpython-311/thinc
copying thinc/init.py -> build/lib.linux-armv7l-cpython-311/thinc
copying thinc/about.py -> build/lib.linux-armv7l-cpython-311/thinc
copying thinc/api.py -> build/lib.linux-armv7l-cpython-311/thinc
copying thinc/compat.py -> build/lib.linux-armv7l-cpython-311/thinc copying thinc/config.py -> build/lib.linux-armv7l-cpython-311/thinc
copying thinc/initializers.py -> build/lib.linux-armv7l-cpython-311/thinc
copying thinc/loss.py -> build/lib.linux-armv7l-cpython-311/thinc copying thinc/model.py -> build/lib.linux-armv7l-cpython-311/thinc
copying thinc/mypy.py -> build/lib.linux-armv7l-cpython-311/thinc
copying thinc/optimizers.py -> build/lib.linux-armv7l-cpython-311/thinc
copying thinc/schedules.py -> build/lib.linux-armv7l-cpython-311/thinc
copying thinc/types.py -> build/lib.linux-armv7l-cpython-311/thinc
copying thinc/util.py -> build/lib.linux-armv7l-cpython-311/thinc
creating build/lib.linux-armv7l-cpython-311/thinc/backends
copying thinc/backends/init.py -> build/lib.linux-armv7l-cpython-311/thinc/backends
copying thinc/backends/_cupy_allocators.py -> build/lib.linux-armv7l-cpython-311/thinc/backends
copying thinc/backends/custom_kernels.py -> build/lib.linux-armv7l-cpython-311/thinc/backends
copying thinc/backends/param_server.py -> build/lib.linux-armv7l-cpython-311/thinc/backends
copying thinc/backends/cupy_ops.py -> build/lib.linux-armv7l-cpython-311/thinc/backends
copying thinc/backends/mps_ops.py -> build/lib.linux-armv7l-cpython-311/thinc/backends
copying thinc/backends/ops.py -> build/lib.linux-armv7l-cpython-311/thinc/backends
creating build/lib.linux-armv7l-cpython-311/thinc/extra
copying thinc/extra/init.py -> build/lib.linux-armv7l-cpython-311/thinc/extra
creating build/lib.linux-armv7l-cpython-311/thinc/layers copying thinc/layers/init.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/add.py -> build/lib.linux-armv7l-cpython-311/thinc/layers copying thinc/layers/array_getitem.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/bidirectional.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/cauchysimilarity.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/chain.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/clipped_linear.py -> build/lib.linux-armv7l-cpython-311/thinc/layers copying thinc/layers/clone.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/concatenate.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/dish.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/dropout.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/embed.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/expand_window.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/gelu.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/hard_swish.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/hard_swish_mobilenet.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/hashembed.py -> build/lib.linux-armv7l-cpython-311/thinc/layers copying thinc/layers/layernorm.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/linear.py -> build/lib.linux-armv7l-cpython-311/thinc/layers copying thinc/layers/list2array.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/list2padded.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/list2ragged.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/logistic.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/lstm.py -> build/lib.linux-armv7l-cpython-311/thinc/layers copying thinc/layers/map_list.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/maxout.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/mish.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/multisoftmax.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/mxnetwrapper.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/noop.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/padded2list.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/parametricattention.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/pytorchwrapper.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/ragged2list.py -> build/lib.linux-armv7l-cpython-311/thinc/layers copying thinc/layers/reduce_first.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/reduce_last.py -> build/lib.linux-armv7l-cpython-311/thinc/layers copying thinc/layers/reduce_max.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/reduce_mean.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/reduce_sum.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/relu.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/remap_ids.py -> build/lib.linux-armv7l-cpython-311/thinc/layers copying thinc/layers/residual.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/resizable.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/siamese.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/sigmoid.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/sigmoid_activation.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/softmax.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/softmax_activation.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/strings2arrays.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/swish.py -> build/lib.linux-armv7l-cpython-311/thinc/layers copying thinc/layers/tensorflowwrapper.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/torchscriptwrapper.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/tuplify.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/uniqued.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/with_array.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/with_array2d.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/with_cpu.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/with_debug.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/with_flatten.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/with_flatten_v2.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/with_getitem.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/with_list.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/with_nvtx_range.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/with_padded.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/with_ragged.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
copying thinc/layers/with_reshape.py -> build/lib.linux-armv7l-cpython-311/thinc/layers copying thinc/layers/with_signpost_interval.py -> build/lib.linux-armv7l-cpython-311/thinc/layers
creating build/lib.linux-armv7l-cpython-311/thinc/shims
copying thinc/shims/init.py -> build/lib.linux-armv7l-cpython-311/thinc/shims copying thinc/shims/mxnet.py -> build/lib.linux-armv7l-cpython-311/thinc/shims
copying thinc/shims/pytorch.py -> build/lib.linux-armv7l-cpython-311/thinc/shims copying thinc/shims/pytorch_grad_scaler.py -> build/lib.linux-armv7l-cpython-311/thinc/shims
copying thinc/shims/shim.py -> build/lib.linux-armv7l-cpython-311/thinc/shims
copying thinc/shims/tensorflow.py -> build/lib.linux-armv7l-cpython-311/thinc/shims
copying thinc/shims/torchscript.py -> build/lib.linux-armv7l-cpython-311/thinc/shims creating build/lib.linux-armv7l-cpython-311/thinc/tests copying thinc/tests/init.py -> build/lib.linux-armv7l-cpython-311/thinc/tests
copying thinc/tests/conftest.py -> build/lib.linux-armv7l-cpython-311/thinc/tests
copying thinc/tests/strategies.py -> build/lib.linux-armv7l-cpython-311/thinc/tests copying thinc/tests/test_config.py -> build/lib.linux-armv7l-cpython-311/thinc/tests
copying thinc/tests/test_examples.py -> build/lib.linux-armv7l-cpython-311/thinc/tests copying thinc/tests/test_import__all
.py -> build/lib.linux-armv7l-cpython-311/thinc/tests
copying thinc/tests/test_indexing.py -> build/lib.linux-armv7l-cpython-311/thinc/tests copying thinc/tests/test_initializers.py -> build/lib.linux-armv7l-cpython-311/thinc/tests copying thinc/tests/test_loss.py -> build/lib.linux-armv7l-cpython-311/thinc/tests copying thinc/tests/test_optimizers.py -> build/lib.linux-armv7l-cpython-311/thinc/tests
copying thinc/tests/test_schedules.py -> build/lib.linux-armv7l-cpython-311/thinc/tests
copying thinc/tests/test_serialize.py -> build/lib.linux-armv7l-cpython-311/thinc/tests copying thinc/tests/test_types.py -> build/lib.linux-armv7l-cpython-311/thinc/tests
copying thinc/tests/test_util.py -> build/lib.linux-armv7l-cpython-311/thinc/tests
copying thinc/tests/util.py -> build/lib.linux-armv7l-cpython-311/thinc/tests
creating build/lib.linux-armv7l-cpython-311/thinc/extra/tests
copying thinc/extra/tests/init.py -> build/lib.linux-armv7l-cpython-311/thinc/extra/tests creating build/lib.linux-armv7l-cpython-311/thinc/tests/backends copying thinc/tests/backends/init.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/backends
copying thinc/tests/backends/test_mem.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/backends
copying thinc/tests/backends/test_ops.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/backends
creating build/lib.linux-armv7l-cpython-311/thinc/tests/extra
copying thinc/tests/extra/init.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/extra copying thinc/tests/extra/test_beam_search.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/extra
creating build/lib.linux-armv7l-cpython-311/thinc/tests/layers
copying thinc/tests/layers/init.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers
copying thinc/tests/layers/test_basic_tagger.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers
copying thinc/tests/layers/test_combinators.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers
copying thinc/tests/layers/test_feed_forward.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers
copying thinc/tests/layers/test_hash_embed.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers
copying thinc/tests/layers/test_layers_api.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers
copying thinc/tests/layers/test_linear.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers
copying thinc/tests/layers/test_lstm.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers copying thinc/tests/layers/test_mappers.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers
copying thinc/tests/layers/test_mnist.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers
copying thinc/tests/layers/test_mxnet_wrapper.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers
copying thinc/tests/layers/test_pytorch_wrapper.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers
copying thinc/tests/layers/test_reduce.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers
copying thinc/tests/layers/test_resizable.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers
copying thinc/tests/layers/test_shim.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers
copying thinc/tests/layers/test_softmax.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers
copying thinc/tests/layers/test_sparse_linear.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers
copying thinc/tests/layers/test_tensorflow_wrapper.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers
copying thinc/tests/layers/test_torchscriptwrapper.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers copying thinc/tests/layers/test_transforms.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers copying thinc/tests/layers/test_uniqued.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers copying thinc/tests/layers/test_with_debug.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers copying thinc/tests/layers/test_with_flatten.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers
copying thinc/tests/layers/test_with_transforms.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/layers creating build/lib.linux-armv7l-cpython-311/thinc/tests/model
copying thinc/tests/model/init.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/model
copying thinc/tests/model/test_model.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/model
copying thinc/tests/model/test_validation.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/model
creating build/lib.linux-armv7l-cpython-311/thinc/tests/mypy
copying thinc/tests/mypy/init.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/mypy
copying thinc/tests/mypy/test_mypy.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/mypy
creating build/lib.linux-armv7l-cpython-311/thinc/tests/regression
copying thinc/tests/regression/init.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/regression
copying thinc/tests/regression/test_issue208.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/regression copying thinc/tests/regression/test_issue564.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/regression creating build/lib.linux-armv7l-cpython-311/thinc/tests/shims copying thinc/tests/shims/init.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/shims copying thinc/tests/shims/test_pytorch_grad_scaler.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/shims
creating build/lib.linux-armv7l-cpython-311/thinc/tests/mypy/modules copying thinc/tests/mypy/modules/init.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/mypy/modules copying thinc/tests/mypy/modules/fail_no_plugin.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/mypy/modules
copying thinc/tests/mypy/modules/fail_plugin.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/mypy/modules
copying thinc/tests/mypy/modules/success_no_plugin.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/mypy/modules copying thinc/tests/mypy/modules/success_plugin.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/mypy/modules
creating build/lib.linux-armv7l-cpython-311/thinc/tests/regression/issue519
copying thinc/tests/regression/issue519/init.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/regression/issue519 copying thinc/tests/regression/issue519/program.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/regression/issue519
copying thinc/tests/regression/issue519/test_issue519.py -> build/lib.linux-armv7l-cpython-311/thinc/tests/regression/issue519
running egg_info writing thinc.egg-info/PKG-INFO
writing dependency_links to thinc.egg-info/dependency_links.txt
writing entry points to thinc.egg-info/entry_points.txt
writing requirements to thinc.egg-info/requires.txt
writing top-level names to thinc.egg-info/top_level.txt
reading manifest file 'thinc.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in' no previously-included directories found matching 'tmp/' adding license file 'LICENSE'
writing manifest file 'thinc.egg-info/SOURCES.txt' /data/data/com.termux/files/usr/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'thinc.tests.mypy.configs' as data is deprecated, please list it in packages. !!

      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'thinc.tests.mypy.configs' as an importable package,                                                but it is not listed in the `packages` configuration of setuptools.
                                                                 'thinc.tests.mypy.configs' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).
                                                                 Please make sure that 'thinc.tests.mypy.configs' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`                                                instead of `find_packages(...)`/`find:`).

      You can read more about "package discovery" and "data files" on setuptools                                            documentation page.


  !!
                                                               check.warn(importable)                                   /data/data/com.termux/files/usr/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'thinc.tests.mypy.outputs' as data is deprecated, please list it in `packages`.                   !!

                                                                 ############################
      # Package would be ignored #
      ############################
      Python recognizes 'thinc.tests.mypy.outputs' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.

      'thinc.tests.mypy.outputs' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).                                                                                                       Please make sure that 'thinc.tests.mypy.outputs' is included as a package by using
      the `packages` configuration field or the proper discovery methods                                                    (for example by using `find_namespace_packages(...)`/`find_namespace:`                                                instead of `find_packages(...)`/`find:`).                                                                             You can read more about "package discovery" and "data files" on setuptools                                            documentation page.
                                                       
  !!                                                                                                                      check.warn(importable)
  copying thinc/__init__.pxd -> build/lib.linux-armv7l-cpython-311/thinc
  copying thinc/py.typed -> build/lib.linux-armv7l-cpython-311/thinc
  copying thinc/backends/__init__.pxd -> build/lib.linux-armv7l-cpython-311/thinc/backends                              copying thinc/backends/_custom_kernels.cu -> build/lib.linux-armv7l-cpython-311/thinc/backends
  copying thinc/backends/_murmur3.cu -> build/lib.linux-armv7l-cpython-311/thinc/backends
  copying thinc/backends/cblas.pxd -> build/lib.linux-armv7l-cpython-311/thinc/backends                                 copying thinc/backends/cblas.pyx -> build/lib.linux-armv7l-cpython-311/thinc/backends
  copying thinc/backends/cpu_kernels.hh -> build/lib.linux-armv7l-cpython-311/thinc/backends
  copying thinc/backends/linalg.pxd -> build/lib.linux-armv7l-cpython-311/thinc/backends
  copying thinc/backends/linalg.pyx -> build/lib.linux-armv7l-cpython-311/thinc/backends
  copying thinc/backends/numpy_ops.pxd -> build/lib.linux-armv7l-cpython-311/thinc/backends
  copying thinc/backends/numpy_ops.pyx -> build/lib.linux-armv7l-cpython-311/thinc/backends
  copying thinc/extra/__init__.pxd -> build/lib.linux-armv7l-cpython-311/thinc/extra
  copying thinc/extra/search.pxd -> build/lib.linux-armv7l-cpython-311/thinc/extra
  copying thinc/extra/search.pyx -> build/lib.linux-armv7l-cpython-311/thinc/extra
  copying thinc/layers/premap_ids.pyx -> build/lib.linux-armv7l-cpython-311/thinc/layers                                copying thinc/layers/sparselinear.pyx -> build/lib.linux-armv7l-cpython-311/thinc/layers
  copying thinc/extra/tests/c_test_search.pyx -> build/lib.linux-armv7l-cpython-311/thinc/extra/tests
  creating build/lib.linux-armv7l-cpython-311/thinc/tests/mypy/configs                                                  copying thinc/tests/mypy/configs/mypy-default.ini -> build/lib.linux-armv7l-cpython-311/thinc/tests/mypy/configs
  copying thinc/tests/mypy/configs/mypy-plugin.ini -> build/lib.linux-armv7l-cpython-311/thinc/tests/mypy/configs
  creating build/lib.linux-armv7l-cpython-311/thinc/tests/mypy/outputs                                                  copying thinc/tests/mypy/outputs/fail-no-plugin.txt -> build/lib.linux-armv7l-cpython-311/thinc/tests/mypy/outputs
  copying thinc/tests/mypy/outputs/fail-plugin.txt -> build/lib.linux-armv7l-cpython-311/thinc/tests/mypy/outputs
  copying thinc/tests/mypy/outputs/success-no-plugin.txt -> build/lib.linux-armv7l-cpython-311/thinc/tests/mypy/outputs
  copying thinc/tests/mypy/outputs/success-plugin.txt -> build/lib.linux-armv7l-cpython-311/thinc/tests/mypy/outputs
  running build_ext                                          building 'thinc.backends.cblas' extension
  creating build/temp.linux-armv7l-cpython-311
  creating build/temp.linux-armv7l-cpython-311/thinc         creating build/temp.linux-armv7l-cpython-311/thinc/backends
  arm-linux-androideabi-clang -mfloat-abi=softfp -mfpu=vfpv3-d16 -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -I/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.11 -I/data/data/com.termux/files/usr/include/python3.11 -c thinc/backends/cblas.cpp -o build/temp.linux-armv7l-cpython-311/thinc/backends/cblas.o -O3 -Wno-strict-prototypes -Wno-unused-function -std=c++11
  arm-linux-androideabi-clang++ -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -march=armv7-a -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,--no-as-needed,-landroid-support,--as-needed -L/home/builder/.termux-build/_cache/android-r25c-api-24-v1/sysroot/usr/lib -march=armv7-a -Wl,--fix-cortex-a8 -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -march=armv7-a -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,--no-as-needed,-landroid-support,--as-needed -L/home/builder/.termux-build/_cache/android-r25c-api-24-v1/sysroot/usr/lib build/temp.linux-armv7l-cpython-311/thinc/backends/cblas.o -L/data/data/com.termux/files/usr/lib -lpython3.11 -o build/lib.linux-armv7l-cpython-311/thinc/backends/cblas.cpython-311.so
  building 'thinc.backends.linalg' extension
  arm-linux-androideabi-clang -mfloat-abi=softfp -mfpu=vfpv3-d16 -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -I/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.11 -I/data/data/com.termux/files/usr/include/python3.11 -c thinc/backends/linalg.cpp -o build/temp.linux-armv7l-cpython-311/thinc/backends/linalg.o -O3 -Wno-strict-prototypes -Wno-unused-function -std=c++11
  arm-linux-androideabi-clang++ -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -march=armv7-a -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,--no-as-needed,-landroid-support,--as-needed -L/home/builder/.termux-build/_cache/android-r25c-api-24-v1/sysroot/usr/lib -march=armv7-a -Wl,--fix-cortex-a8 -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -march=armv7-a -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,--no-as-needed,-landroid-support,--as-needed -L/home/builder/.termux-build/_cache/android-r25c-api-24-v1/sysroot/usr/lib build/temp.linux-armv7l-cpython-311/thinc/backends/linalg.o -L/data/data/com.termux/files/usr/lib -lpython3.11 -o build/lib.linux-armv7l-cpython-311/thinc/backends/linalg.cpython-311.so           LLVM ERROR: out of memory
  Allocation failed
  PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
  clang-16: error: unable to execute command: Aborted
  clang-16: error: linker command failed due to signal (use -v to see invocation)
  error: command '/data/data/com.termux/files/usr/bin/arm-linux-androideabi-clang++' failed with exit code 1
  [end of output]

Your Environment

  • Operating System: android with termux
  • Python Version Used: 3.11.2
  • Thinc Version Used: latest
  • Environment Information: armv7
@nacho00112
Copy link
Author

Solved after separing the command in two:

pip install thinc --no-build-isolation
pip install blis --no-binary blis --no-build-isolation

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

1 participant