Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[numpy] fix mixed type backward #18250

Merged
merged 1 commit into from
May 9, 2020
Merged

[numpy] fix mixed type backward #18250

merged 1 commit into from
May 9, 2020

Conversation

yijunc
Copy link
Contributor

@yijunc yijunc commented May 6, 2020

Description

attempt to fix issue regarding mixed type in binary op add, minus, true_divide, mod
#18022 #18084

Checklist

Essentials

Please feel free to remove inapplicable items for your PR.

  • The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
  • Changes are complete (i.e. I finished coding on this PR)
  • All changes have test coverage:
  • Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
  • Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
  • Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
  • Code is well-documented:
  • For user-facing API changes, API doc string has been updated.
  • For new C++ functions in header files, their functionalities and arguments are documented.
  • For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
  • Check the API doc at https://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
  • To the best of my knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

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

@mxnet-bot
Copy link

Hey @BenjaminCHEN2016 , 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: [edge, windows-gpu, centos-gpu, unix-cpu, centos-cpu, website, sanity, windows-cpu, miscellaneous, clang, unix-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.

src/operator/mshadow_op.h Outdated Show resolved Hide resolved
src/operator/numpy/np_elemwise_broadcast_op.cc Outdated Show resolved Hide resolved
@yijunc yijunc changed the title fix mixed type backward [numpy] fix mixed type backward May 6, 2020
@yijunc yijunc force-pushed the fix_mix_type branch 2 times, most recently from 3ae508c to 326411f Compare May 8, 2020 05:40
@yijunc
Copy link
Contributor Author

yijunc commented May 8, 2020

@mxnet-bot run ci [miscellaneous, windows-cpu, windows-gpu]

@mxnet-bot
Copy link

Jenkins CI successfully triggered : [miscellaneous, windows-gpu, windows-cpu]

@yijunc
Copy link
Contributor Author

yijunc commented May 8, 2020

@mxnet-bot run ci [windows-cpu, windows-gpu]

@mxnet-bot
Copy link

Jenkins CI successfully triggered : [windows-cpu, windows-gpu]

@yijunc
Copy link
Contributor Author

yijunc commented May 9, 2020

@mxnet-bot run ci [unix-gpu]

@mxnet-bot
Copy link

Jenkins CI successfully triggered : [unix-gpu]

@hgt312
Copy link
Contributor

hgt312 commented May 9, 2020

LGTM. @yzhliu

@yzhliu yzhliu merged commit f00b9ab into apache:master May 9, 2020
@yzhliu
Copy link
Member

yzhliu commented May 9, 2020

Thanks @BenjaminCHEN2016 @hgt312

sxjscience pushed a commit to sxjscience/mxnet that referenced this pull request Jul 1, 2020
@ciyongch ciyongch mentioned this pull request Jul 2, 2020
AntiZpvoh pushed a commit to AntiZpvoh/incubator-mxnet that referenced this pull request Jul 6, 2020
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants