-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Bumped minor version from 1.4.0 to 1.5.0 on master, updated License file #13478
Changes from 3 commits
2cb8faf
e4af8e7
49bbcbc
42c6db0
408a55d
7b67d8f
f9e661e
b902878
819a04a
ddf6980
4d342ef
fb92a66
0bb26ac
aed3079
c9ddcb8
9e74dfa
049107c
80e2a1d
1fd7558
d8029c8
96f5beb
09b6607
dd9d80c
b901d52
c44bc85
41f3f98
e533304
7f3a591
a8e635d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
Package: mxnet | ||
Type: Package | ||
Title: MXNet: A Flexible and Efficient Machine Learning Library for Heterogeneous Distributed Systems | ||
Version: 1.4.0 | ||
Version: 1.5.0 | ||
Date: 2017-06-27 | ||
Author: Tianqi Chen, Qiang Kou, Tong He | ||
Maintainer: Qiang Kou <[email protected]> | ||
Repository: DMLC | ||
Maintainer: Qiang Kou <[email protected]>, anirudhacharya <https://github.com/anirudhacharya> | ||
Repository: Apache | ||
Description: MXNet is a deep learning framework designed for both efficiency | ||
and flexibility. It allows you to mix the flavours of deep learning programs | ||
together to maximize the efficiency and your productivity. | ||
License: Apache License (== 2.0) | ||
URL: https://github.com/dmlc/mxnet/tree/master/R-package | ||
BugReports: https://github.com/dmlc/mxnet/issues | ||
URL: https://github.com/apache/incubator-mxnet/tree/master/R-package | ||
BugReports: https://github.com/apache/incubator-mxnet/issues | ||
Imports: | ||
methods, | ||
Rcpp (>= 0.12.1), | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,9 +105,9 @@ brew install opencv | |
- Create a new project with `lein new my-mxnet` | ||
- Edit your `project.clj` and add one of the following entries to `:dependencies`, based on your system and the compute device you want to use: | ||
|
||
- `[org.apache.mxnet.contrib.clojure/clojure-mxnet-linux-cpu "1.4.0"]` | ||
- `[org.apache.mxnet.contrib.clojure/clojure-mxnet-linux-gpu "1.4.0"]` | ||
- `[org.apache.mxnet.contrib.clojure/clojure-mxnet-osx-cpu "1.4.0"]` | ||
- `[org.apache.mxnet.contrib.clojure/clojure-mxnet-linux-cpu "1.5.0"]` | ||
- `[org.apache.mxnet.contrib.clojure/clojure-mxnet-linux-gpu "1.5.0"]` | ||
- `[org.apache.mxnet.contrib.clojure/clojure-mxnet-osx-cpu "1.5.0"]` | ||
|
||
After making this change and running `lein deps`, you should be able to run example code like this [NDArray Tutorial](https://github.com/apache/incubator-mxnet/blob/master/contrib/clojure-package/examples/tutorial/src/tutorial/ndarray.clj). | ||
|
||
|
@@ -116,20 +116,20 @@ After making this change and running `lein deps`, you should be able to run exam | |
With this option, you will install a Git revision of the Clojure package source and a [Scala package jar from Maven](https://search.maven.org/search?q=g:org.apache.mxnet) with native dependencies baked in. | ||
|
||
- Install additional dependencies as described in [the corresponding section for Option 1](#installing-additional-dependencies), | ||
- Recursively clone the MXNet repository and checkout the desired revision. Here we assume the `1.4.0` tag and a clone into the `~/mxnet` directory: | ||
- Recursively clone the MXNet repository and checkout the desired revision. Here we assume the `1.5.0` tag and a clone into the `~/mxnet` directory: | ||
|
||
```bash | ||
git clone --recursive https://github.com/apache/incubator-mxnet.git ~/mxnet | ||
cd ~/mxnet | ||
git tag --list # Find the tag that matches the Scala package version | ||
git checkout tags/1.4.0 -b my_mxnet | ||
git checkout tags/1.5.0 -b my_mxnet | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this needs to be 1.4.0 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Neither 1.4.0 nor 1.5.0 tag exists. Why would you want to check out a different version? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. see answer below.. |
||
git submodule update --init --recursive | ||
cd contrib/clojure | ||
``` | ||
|
||
- Edit `project.clj` to include the desired Scala jar from Maven: | ||
|
||
[org.apache.mxnet/mxnet-full_2.11-linux-x86_64-cpu "1.4.0”] | ||
[org.apache.mxnet/mxnet-full_2.11-linux-x86_64-cpu "1.5.0”] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this needs to be 1.4.0 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should this point to the latest released version, i.e. 1.3.0 today and 1.3.1 after the patch is released? Or should it point to nightly build? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It should point to the latest release on maven for the clojure jars. It would be great for the users if we can reliable tell that at the time of the merge, but if this process gets to be too confusing we can always reword it to stay explicitly that it should be the latest release https://search.maven.org/search?q=clojure%20mxnet - Let me know your thoughts. |
||
|
||
- Run `lein test`. All the tests should run without error. | ||
- At this point you can run `lein install` to build and install the Clojure jar locally. | ||
|
@@ -147,7 +147,7 @@ The first step is to recursively clone the MXNet repository and checkout the des | |
```bash | ||
git clone --recursive https://github.com/apache/incubator-mxnet.git ~/mxnet | ||
cd ~/mxnet | ||
git checkout tags/1.4.0 -b my_mxnet # this is optional | ||
git checkout tags/1.5.0 -b my_mxnet # this is optional | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this needs to be 1.4.0 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Neither 1.4.0 nor 1.5.0 tag exists. 1.4.0 tag will point to a release in v1.4.x branch. Which should be the correct tag? Should it point to a release tag? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It should point to the tag that corresponds to the jar on maven and the jars on maven are only for the last release. I'm assuming that it will be the 1.4.0 tag when this branch is merged (at least that's what I've been doing). For reference when I do
I'm not exactly sure of the timing of when this PR is merged though .. is that a correct assumption? |
||
git submodule update --init --recursive | ||
``` | ||
|
||
|
@@ -176,7 +176,7 @@ The outcome of this step will be a shared library `lib/libmxnet.so` that is used | |
|
||
#### Building the Clojure jar | ||
|
||
- Enter the `contrib/clojure` directory and edit the `project.clj` file. Add the Scala jar that was just created and installed, e.g., `[org.apache.mxnet/mxnet-full_2.11-osx-x86_64-cpu "1.4.0-SNAPSHOT"]`, to the `:dependencies`. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This one is ok as we are building it There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this a build from v1.4.x or master branch? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This one is from master (building from scratch) |
||
- Enter the `contrib/clojure` directory and edit the `project.clj` file. Add the Scala jar that was just created and installed, e.g., `[org.apache.mxnet/mxnet-full_2.11-osx-x86_64-cpu "1.5.0-SNAPSHOT"]`, to the `:dependencies`. | ||
- Run `lein test`. All the tests should run without an error. | ||
- Run `lein install` to build and install the Clojure jar locally. | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,4 +103,4 @@ def find_include_path(): | |
|
||
|
||
# current version | ||
__version__ = "1.4.0" | ||
__version__ = "1.5.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should actually be the version deployed on maven which will always be a release behind. Sorry for not catching it earlier - see #13507 for details.
In this case it should be 1.4.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only the CPU version or cpu, gpu and macos version need to be 1.4.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all the versions osx cpu, linux cpu, and linux gpu need to be the latest version out on maven https://search.maven.org/search?q=clojure%20mxnet at the time this PR gets merged. That timing is the thing I don't well understand. I am making an assumption at the time of the merge there will be a 1.4.0 release done and the jars will be out there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is increasing the version on master to differentiate between v1.4.x branch. I would like to merge the PR asap, so we don't have same version on master and v1.4.x branch. v1.4.0 will become the first release on v1.4.x branch. If everything goes to plan, the release should be done before Xmas. The latest tag is now 1.3.1. Should all references point to this tag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes - thanks for the clarification :)