-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[Perl] Updates mapping between PDL and MX types #20852
[Perl] Updates mapping between PDL and MX types #20852
Conversation
Hey @zmughal , Thanks for submitting the PR
CI supported jobs: [edge, clang, centos-gpu, windows-cpu, unix-cpu, website, sanity, miscellaneous, centos-cpu, windows-gpu, unix-gpu] Note: |
bfcf218
to
49c802c
Compare
@sergeykolychev, I opened this PR against the v1.x branch. I was working using the Dockerfile on that branch and noticed that it does not work with whatever is checked out. Instead it runs Is there any interest in using the current checkout for the Dockerfile? I also noticed that https://hub.docker.com/r/mxnet/perl has not been updated in several years.
|
@zmughal Please make this PR against 1.9.x and you'll need to update https://github.com/apache/incubator-mxnet/blob/v1.x/ci/docker/install/ubuntu_perl.sh to install new PDL from cpan into the CI docker. |
49c802c
to
b42103f
Compare
b42103f
to
ae00d64
Compare
@sergeykolychev, I have updated the base branch and put the commits on top of v1.9.x, though I believe there will still be some test failures. |
ae00d64
to
a2d3590
Compare
This removes the hardcoded values and uses PDL::Type instead. Upgrades minimum PDL dependency to PDL v2.064 which provides the int8 (PDL: sbyte) type. Fix tests by allowing some PDL data alongside Perl scalars. Fixes <apache#20851>.
9410232
to
4475c8f
Compare
4475c8f
to
43bc7c7
Compare
I'm investigating the failure of |
@mxnet-bot run ci [unix-cpu, unix-gpu] (PDL v2.071 released) |
Jenkins CI successfully triggered : [unix-gpu, unix-cpu] |
Jenkins CI successfully triggered : [unix-gpu, unix-cpu] |
@mxnet-bot run ci [unix-cpu, unix-gpu] (PDL v2.072 released) |
Jenkins CI successfully triggered : [unix-gpu, unix-cpu] |
@sergeykolychev, this PR is now ready and the tests pass. Of note, there are some test failures with PDL v2.068_04 – v2.071 (all released in the last week), but an upgrade to PDL v2.072 (the latest now) fixes all those issues. |
@sergeykolychev, is there anything else you need for this PR? |
@zmughal Merged it, hopefully further PDL development will not break AI::MXNet tests, may I contact you if this happens ? |
@sergeykolychev, thank you!
I am working on the PDL CI workflows to help prevent future breakage of
Yes, to set an exact version, you can use $ cpanm -q PDL@2.072 PDL::CCS@1.23.17 PDL::VectorValued@1.0.14 A more complete approach is to use Carton to create a snapshot file which Another thing that I might be able to help with is packaging MXNet's C++ part |
Description
This removes the hardcoded values and uses
PDL::Type
instead.Upgrades minimum PDL dependency to PDL v2.064 which provides
the
int8
(PDL:sbyte
) type.Fixes #20851.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.