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

Add NEWS and README #11267

Closed
wants to merge 8 commits into from
Closed

Conversation

anirudh2290
Copy link
Member

Description

Added NEWs and README.

@ThomasDelteil @piiswrong @zheng-da @eric-haibin-lin @nswamy @lebeg @lanking520 @andrewfayres

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 http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
  • To the my best 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

Copy link
Contributor

@ThomasDelteil ThomasDelteil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor wording change, given state of CI, feel free to ignore if build passes

NEWS.md Outdated
@@ -1,5 +1,19 @@
MXNet Change Log
================
## 1.2.1
### Deprecations
- An incorrect [usage](https://github.com/apache/incubator-mxnet/issues/11091) of `save_params` was advertised in the gluon book which led to MXNet users depending on the incorrect usage and developing a hack around it. A change to internal structure of params file saved by `save_params` to resolve a bug, led to user scripts with the above mentioned hack to break. To fix this, we have reverted `save_params` and `load_params` to previous format and marked it as deprecated. We have added new APIs `save_parameters` and `load_parameters` for the new format. All scripts to save and load parameters for a Gluon model should now use the new API for `save_parameters` and `load_parameters`. If your model is hybridizable and you want to export a serialized structure of the model as well as parameters you need to use the `export` API and the newly added `imports` API instead of `save_params` and `load_params` API. For more details, Please see: [issue](https://github.com/apache/incubator-mxnet/issues/11091), [PR](https://github.com/apache/incubator-mxnet/pull/11127).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-> A change was made to the internal structure of the .params file saved by save_params to resolve a bug. This led to user scripts with the above mentioned hack to break

@anirudh2290
Copy link
Member Author

@ThomasDelteil Thanks! I have fixed it.

@anirudh2290 anirudh2290 changed the title [WIP] Add NEWS and README Add NEWS and README Jun 14, 2018
NEWS.md Outdated
- Reduced memory consumption from inplace operation for ReLU activation (#10847).
- Improved `slice` operator performance by 20x (#11124).
- Improved performance of depthwise convolution by using cudnnv7 if available (#11076).
- Improved performance and memory usage of Conv1D, by adding back cuDNN support for Conv1D (#11270). This adds a known issue: The cuDNN convolution operator may throw `CUDNN_STATUS_EXECUTION_FAILED` when `req == "add"` and `cudnn_tune != off` with large inputs(e.g. 64k channels). If you encounter this issue, please consider setting `cudnn_tune = "off"`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since cudnn_tune requires changing users' python script, let's change to

If you encounter this issue, please consider setting environment variable MXNET_CUDNN_AUTOTUNE_DEFAULT to 0.

@anirudh2290 anirudh2290 requested a review from szha as a code owner June 14, 2018 22:29
@anirudh2290
Copy link
Member Author

anirudh2290 commented Jun 14, 2018

@piiswrong @ThomasDelteil cherry picked your changes. Please help review as i had to resolve some conflicts. This PR needs to be merged without squashing.

@piiswrong
Copy link
Contributor

I think 7632100 is too verbose. It would only confuse users. A simple pointer to export/import should be enough

Copy link
Contributor

@ThomasDelteil ThomasDelteil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please update the reference to the hybridize flags

```python
net.hybridize(static_alloc=True)
# or
net.hybridize(static_alloc=True, static_shape=True)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is slower in 1.2 #11293
let's not advertise it. I don't even think these flags exist in 1.2.0
let's just mention net.hybridize() in 1.2

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

@ThomasDelteil
Copy link
Contributor

@piiswrong I think we can remove this sentence:

Such model can then be loaded back in any language binding
or even in Gluon using a :py:class:`SymbolBlock`.

The rest I think is necessary to disambiguate the current API.

@anirudh2290
Copy link
Member Author

I agree that we need the rest of the content to inform users about the save_parameters being the new API to use instead of save_params and to use export to serialize the model.

eric-haibin-lin and others added 4 commits June 15, 2018 00:04
* enable cudnn for conv1d

* add checks for backward

* fix build

* fix build

* fix lint

* Update convolution.cc
* Fixed armv7 wheel

* Fixed bash default value substitution

* Fixed whitespace errors

* Added unzip installation to crosscompile docker images

* Removed deprecated apt lists removal

* Moved common parts to scripts for docker builds

* Disabled bundled OpenMP for cross compilation

* Added make based build for armv7 as option

* Renamed install_openblas.sh -> arm_openblas.sh

* Removed makefile build for armv7

* Trigger CI

* Link OpenBLAS statically for cross compilations
* Fixes Scala memory leak (apache#10436)

* Replaced the copy and disposed of sliced ndArray to resolve memory leak

* Wrapped disposes in a finally to ensure they are called.
@anirudh2290
Copy link
Member Author

Closing this PR and will a new PR since I have messed up my git history.

@anirudh2290 anirudh2290 mentioned this pull request Jun 15, 2018
7 tasks
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.

6 participants