GH-48960: [Python] Adds DEFAULT option in simd_level of cli.py#48274
GH-48960: [Python] Adds DEFAULT option in simd_level of cli.py#48274chiranmoyf wants to merge 1 commit intoapache:mainfrom
Conversation
For aarch64 machines none of the existing options were valid except NONE. With the DEFAULT option in simd_level Neon paths will be activated for aarch64 machines.
|
Thanks for opening a pull request! If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project. Then could you also rename the pull request title in the following format? or See also: |
raulcd
left a comment
There was a problem hiding this comment.
Hi thanks for the PR.
This does not fit our definition of MINOR as we only allow minor PRs with small grammar or documentation changes. Could you open an issue?
Can you expand on how were you using, I am curious on the archery build usage.
DEFAULT is also the default value if you don't pass any simd_level.
Sure, @raulcd we'll raise an issue. Here's the exact error message. |
|
Thanks for the answer. My question about the usage is because we do not use the |
|
We followed this documentation to build and benchmark Arrow using Archery. |
|
|
@raulcd @kou Please let us know if any changes are required. |
|
|
It seems that the documentation uses Does |
raulcd
left a comment
There was a problem hiding this comment.
I think we should deprecate and remove archery build as it's not maintained and is not expected to be up to date. In all documentations on how to build Arrow/PyArrow we never cover doing it via archery build and this seem to be a remnant from ancient times.
I am happy to merge this if this unblocks your current workflow but I still think we should remove the archery build command and you should possibly update your workflow.
Rationale for this change
For aarch64 machines, except
NONE, none of the existing options insimd_levelof/dev/archery/archery/cli.pyare valid. The error also occurs on x86_64, unless one ofSSE4_2,AVX2, orAVX512is specified.With the
DEFAULToption insimd_level,Neonpaths will be activated for aarch64 machines, andSSE4_2will be activated for x86_64.What changes are included in this PR?
Adding
DEFAULToption insimd_levelof/dev/archery/archery/cli.py.Are these changes tested?
Yes.
Are there any user-facing changes?
No.