You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2021/05/20 19:31:08 UTC
[GitHub] [incubator-mxnet] mseth10 opened a new pull request #20288: [v1.x] [CD] Add Aarch64 to cd
mseth10 opened a new pull request #20288:
URL: https://github.com/apache/incubator-mxnet/pull/20288
## Description ##
(Brief description on what this PR is about)
## Checklist ##
### Essentials ###
- [ ] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
- [ ] Changes are complete (i.e. I finished coding on this PR)
- [ ] All changes have test coverage
- [ ] Code is well-documented
### Changes ###
- [ ] Feature1, tests, (and when applicable, API doc)
- [ ] Feature2, tests, (and when applicable, API doc)
## Comments ##
- If this change is a backward incompatible change, why must this change be made.
- Interesting edge cases to note here
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-mxnet] szha merged pull request #20288: [v1.x] [CD] Add Aarch64 to cd
Posted by GitBox <gi...@apache.org>.
szha merged pull request #20288:
URL: https://github.com/apache/incubator-mxnet/pull/20288
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-mxnet] szha commented on a change in pull request #20288: [v1.x] [CD] Add Aarch64 to cd
Posted by GitBox <gi...@apache.org>.
szha commented on a change in pull request #20288:
URL: https://github.com/apache/incubator-mxnet/pull/20288#discussion_r637040075
##########
File path: tools/pip/setup.py
##########
@@ -127,7 +127,7 @@
package_name = 'mxnet'
variant = os.environ['mxnet_variant'].upper()
-if variant != 'CPU':
+if not variant.endswith('CPU'):
package_name = 'mxnet_{0}'.format(variant.lower())
Review comment:
I don't think arm would require a new package name. package name `mxnet` with a proper platform tag for arm would suffice.
What's the output of `python3 -m pip debug --verbose`? We can choose a general enough one from this and use it as platform tag.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-mxnet] mxnet-bot commented on pull request #20288: [v1.x] [CD] Add Aarch64 to cd
Posted by GitBox <gi...@apache.org>.
mxnet-bot commented on pull request #20288:
URL: https://github.com/apache/incubator-mxnet/pull/20288#issuecomment-845416994
Hey @mseth10 , Thanks for submitting the PR
All tests are already queued to run once. If tests fail, you can trigger one or more tests again with the following commands:
- To trigger all jobs: @mxnet-bot run ci [all]
- To trigger specific jobs: @mxnet-bot run ci [job1, job2]
***
**CI supported jobs**: [windows-cpu, centos-cpu, unix-cpu, edge, sanity, centos-gpu, unix-gpu, clang, miscellaneous, website, windows-gpu]
***
_Note_:
Only following 3 categories can trigger CI :PR Author, MXNet Committer, Jenkins Admin.
All CI tests must pass before the PR can be merged.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-mxnet] szha commented on pull request #20288: [v1.x] [CD] Add Aarch64 to cd
Posted by GitBox <gi...@apache.org>.
szha commented on pull request #20288:
URL: https://github.com/apache/incubator-mxnet/pull/20288#issuecomment-846147897
Merged. Thanks @mseth10! Let's monitor the CD for a few days and make sure builds are smooth.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-mxnet] Zha0q1 commented on pull request #20288: [v1.x] [CD] Add Aarch64 to cd
Posted by GitBox <gi...@apache.org>.
Zha0q1 commented on pull request #20288:
URL: https://github.com/apache/incubator-mxnet/pull/20288#issuecomment-846150804
thanks Manu!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-mxnet] mseth10 commented on a change in pull request #20288: [v1.x] [CD] Add Aarch64 to cd
Posted by GitBox <gi...@apache.org>.
mseth10 commented on a change in pull request #20288:
URL: https://github.com/apache/incubator-mxnet/pull/20288#discussion_r636445114
##########
File path: tools/pip/doc/AARCH64_CPU_ADDITIONAL.md
##########
@@ -0,0 +1,45 @@
+<!--- Licensed to the Apache Software Foundation (ASF) under one -->
+<!--- or more contributor license agreements. See the NOTICE file -->
+<!--- distributed with this work for additional information -->
+<!--- regarding copyright ownership. The ASF licenses this file -->
+<!--- to you under the Apache License, Version 2.0 (the -->
+<!--- "License"); you may not use this file except in compliance -->
+<!--- with the License. You may obtain a copy of the License at -->
+
+<!--- http://www.apache.org/licenses/LICENSE-2.0 -->
+
+<!--- Unless required by applicable law or agreed to in writing, -->
+<!--- software distributed under the License is distributed on an -->
+<!--- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -->
+<!--- KIND, either express or implied. See the License for the -->
+<!--- specific language governing permissions and limitations -->
+<!--- under the License. -->
+
+Prerequisites
+-------------
+This package supports Linux, Mac OSX, and Windows platforms. You may also want to check:
+
+- [mxnet](https://pypi.python.org/pypi/mxnet/).
+- [mxnet-cu112](https://pypi.python.org/pypi/mxnet-cu112/) with CUDA-11.2 support.
+- [mxnet-cu110](https://pypi.python.org/pypi/mxnet-cu110/) with CUDA-11.0 support.
+- [mxnet-cu102](https://pypi.python.org/pypi/mxnet-cu102/) with CUDA-10.2 support.
+- [mxnet-cu101](https://pypi.python.org/pypi/mxnet-cu101/) with CUDA-10.1 support.
+- [mxnet-cu100](https://pypi.python.org/pypi/mxnet-cu100/) with CUDA-10.0 support.
+- [mxnet-native](https://pypi.python.org/pypi/mxnet-native/) CPU variant without MKLDNN.
+
+To use this package on Linux you need the `libquadmath.so.0` shared library. On
+Debian based systems, including Ubuntu, run `sudo apt install libquadmath0` to
+install the shared library. On RHEL based systems, including CentOS, run `sudo
+yum install libquadmath` to install the shared library. As `libquadmath.so.0` is
+a GPL library and MXNet part of the Apache Software Foundation, MXNet must not
+redistribute `libquadmath.so.0` as part of the Pypi package and users must
+manually install it.
+
+To install for other platforms (e.g. Windows, Raspberry Pi/ARM) or other versions, check [Installing MXNet](https://mxnet.apache.org/versions/master) for instructions on building from source.
+
+Installation
+------------
+To install, use:
+```bash
+pip install mxnet-aarch64
Review comment:
thanks for pointing it out. I did that by mistake. `pip install mxnet` should work.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-mxnet] marcoabreu commented on a change in pull request #20288: [v1.x] [CD] Add Aarch64 to cd
Posted by GitBox <gi...@apache.org>.
marcoabreu commented on a change in pull request #20288:
URL: https://github.com/apache/incubator-mxnet/pull/20288#discussion_r636442579
##########
File path: tools/pip/doc/AARCH64_CPU_ADDITIONAL.md
##########
@@ -0,0 +1,45 @@
+<!--- Licensed to the Apache Software Foundation (ASF) under one -->
+<!--- or more contributor license agreements. See the NOTICE file -->
+<!--- distributed with this work for additional information -->
+<!--- regarding copyright ownership. The ASF licenses this file -->
+<!--- to you under the Apache License, Version 2.0 (the -->
+<!--- "License"); you may not use this file except in compliance -->
+<!--- with the License. You may obtain a copy of the License at -->
+
+<!--- http://www.apache.org/licenses/LICENSE-2.0 -->
+
+<!--- Unless required by applicable law or agreed to in writing, -->
+<!--- software distributed under the License is distributed on an -->
+<!--- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -->
+<!--- KIND, either express or implied. See the License for the -->
+<!--- specific language governing permissions and limitations -->
+<!--- under the License. -->
+
+Prerequisites
+-------------
+This package supports Linux, Mac OSX, and Windows platforms. You may also want to check:
+
+- [mxnet](https://pypi.python.org/pypi/mxnet/).
+- [mxnet-cu112](https://pypi.python.org/pypi/mxnet-cu112/) with CUDA-11.2 support.
+- [mxnet-cu110](https://pypi.python.org/pypi/mxnet-cu110/) with CUDA-11.0 support.
+- [mxnet-cu102](https://pypi.python.org/pypi/mxnet-cu102/) with CUDA-10.2 support.
+- [mxnet-cu101](https://pypi.python.org/pypi/mxnet-cu101/) with CUDA-10.1 support.
+- [mxnet-cu100](https://pypi.python.org/pypi/mxnet-cu100/) with CUDA-10.0 support.
+- [mxnet-native](https://pypi.python.org/pypi/mxnet-native/) CPU variant without MKLDNN.
+
+To use this package on Linux you need the `libquadmath.so.0` shared library. On
+Debian based systems, including Ubuntu, run `sudo apt install libquadmath0` to
+install the shared library. On RHEL based systems, including CentOS, run `sudo
+yum install libquadmath` to install the shared library. As `libquadmath.so.0` is
+a GPL library and MXNet part of the Apache Software Foundation, MXNet must not
+redistribute `libquadmath.so.0` as part of the Pypi package and users must
+manually install it.
+
+To install for other platforms (e.g. Windows, Raspberry Pi/ARM) or other versions, check [Installing MXNet](https://mxnet.apache.org/versions/master) for instructions on building from source.
+
+Installation
+------------
+To install, use:
+```bash
+pip install mxnet-aarch64
Review comment:
Why create a separate package instead of adding aarch64 as a variant to the mxnet package?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-mxnet] szha commented on a change in pull request #20288: [v1.x] [CD] Add Aarch64 to cd
Posted by GitBox <gi...@apache.org>.
szha commented on a change in pull request #20288:
URL: https://github.com/apache/incubator-mxnet/pull/20288#discussion_r637112304
##########
File path: tools/pip/setup.py
##########
@@ -127,7 +127,7 @@
package_name = 'mxnet'
variant = os.environ['mxnet_variant'].upper()
-if variant != 'CPU':
+if not variant.endswith('CPU'):
package_name = 'mxnet_{0}'.format(variant.lower())
Review comment:
Yes, that looks perfect. We can leave the package name as is
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-mxnet] mseth10 commented on a change in pull request #20288: [v1.x] [CD] Add Aarch64 to cd
Posted by GitBox <gi...@apache.org>.
mseth10 commented on a change in pull request #20288:
URL: https://github.com/apache/incubator-mxnet/pull/20288#discussion_r637098463
##########
File path: tools/pip/setup.py
##########
@@ -127,7 +127,7 @@
package_name = 'mxnet'
variant = os.environ['mxnet_variant'].upper()
-if variant != 'CPU':
+if not variant.endswith('CPU'):
package_name = 'mxnet_{0}'.format(variant.lower())
Review comment:
Currently, the wheel that this pipeline would generate looks like `mxnet-1.9.0b20210520-py3-none-manylinux2014_aarch64.whl` where `py3-none-manylinux2014_aarch64` is one of the platform tag output of `python3 -m pip debug --verbose`. Does that look okay to you? @szha
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org