Skip to content

Commit

Permalink
Migrate DJL from awslabs to deepjavalibrary organization (deepjavalib…
Browse files Browse the repository at this point in the history
…rary#882)

* Migrate DJL from awslabs to deepjavalibrary organization

Change-Id: I3b391e5de67f87b31af0c8beafb2622c0b1b60ca

* Temporary disable codecov

Change-Id: I5c274b8c8ef06b84b9498bfb52606258dfc7c656
  • Loading branch information
frankfliu authored Apr 21, 2021
1 parent 8ba286e commit d97fb11
Show file tree
Hide file tree
Showing 118 changed files with 270 additions and 269 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:

jobs:
build:
if: github.repository == 'awslabs/djl'
if: github.repository == 'deepjavalibrary/djl'
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
Expand Down Expand Up @@ -127,17 +127,17 @@ jobs:
with:
name: tensorflow-model-zoo
path: tensorflow/tensorflow-model-zoo/build/reports
- name: upload to codecov
uses: codecov/[email protected].0
with:
files: ./build/reports/jacoco/jacocoRootReport/jacocoRootReport.xml
name: codecov-umbrella
fail_ci_if_error: true
path_to_write_report: ./codecov_report.txt
# - name: upload to codecov
# uses: codecov/[email protected].1
# with:
# files: ./build/reports/jacoco/jacocoRootReport/jacocoRootReport.xml
# name: codecov-umbrella
# fail_ci_if_error: true
# path_to_write_report: ./codecov_report.txt

# Windows platform for testing hybrid engines
build-windows:
if: github.repository == 'awslabs/djl'
if: github.repository == 'deepjavalibrary/djl'
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
documentation:
if: github.repository == 'awslabs/djl'
if: github.repository == 'deepjavalibrary/djl'
runs-on: ubuntu-18.04
steps:
- name: Set up JDK 11
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/native_jni_s3_paddle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build-paddle-jni-cpu:
if: github.repository == 'awslabs/djl'
if: github.repository == 'deepjavalibrary/djl'
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
path: paddlepaddle/paddlepaddle-native/jnilib

publish:
if: github.repository == 'awslabs/djl'
if: github.repository == 'deepjavalibrary/djl'
runs-on: ubuntu-18.04
needs: [build-paddle-jni-cpu]
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/native_jni_s3_pytorch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build-pytorch-jni-cpu:
if: github.repository == 'awslabs/djl'
if: github.repository == 'deepjavalibrary/djl'
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
aws cloudfront create-invalidation --distribution-id E371VB8JQ6NRVY --paths "/pytorch-1.8.1/jnilib*"
build-pytorch-jni-linux-gpu:
if: github.repository == 'awslabs/djl'
if: github.repository == 'deepjavalibrary/djl'
runs-on: ubuntu-latest
container: nvidia/cuda:10.2-cudnn7-devel-ubuntu16.04
steps:
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
aws cloudfront create-invalidation --distribution-id E371VB8JQ6NRVY --paths "/pytorch-1.8.1/jnilib*"
build-pytorch-jni-precxx11:
if: github.repository == 'awslabs/djl'
if: github.repository == 'deepjavalibrary/djl'
runs-on: ubuntu-latest
container: nvidia/cuda:10.1-cudnn7-devel-centos7
steps:
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
aws cloudfront create-invalidation --distribution-id E371VB8JQ6NRVY --paths "/pytorch-1.8.1/jnilib/precxx11*"
build-pytorch-jni-windows-gpu:
if: github.repository == 'awslabs/djl'
if: github.repository == 'deepjavalibrary/djl'
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/native_jni_s3_pytorch_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
build-pytorch-jni-android:
if: github.repository == 'awslabs/djl'
if: github.repository == 'deepjavalibrary/djl'
runs-on: ubuntu-18.04
env:
NDK_VERSION: "20.0.5594570"
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
path: pytorch/pytorch-native/jnilib

publish:
if: github.repository == 'awslabs/djl'
if: github.repository == 'deepjavalibrary/djl'
runs-on: ubuntu-18.04
needs: [build-pytorch-jni-android]
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nightly_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
build:
if: github.repository == 'awslabs/djl'
if: github.repository == 'deepjavalibrary/djl'
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
path: tensorflow/tensorflow-model-zoo/build/reports

test-pytorch:
if: github.repository == 'awslabs/djl'
if: github.repository == 'deepjavalibrary/djl'
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
Expand All @@ -126,7 +126,7 @@ jobs:
run: ./gradlew :integration:test "-Dai.djl.default_engine=PyTorch"

test-tensorflow:
if: github.repository == 'awslabs/djl'
if: github.repository == 'deepjavalibrary/djl'
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
Expand All @@ -149,7 +149,7 @@ jobs:
run: ./gradlew :integration:test "-Dai.djl.default_engine=TensorFlow"

publish:
if: github.repository == 'awslabs/djl'
if: github.repository == 'deepjavalibrary/djl'
runs-on: ubuntu-18.04
needs: [ build, test-pytorch, test-tensorflow ]
steps:
Expand Down
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

![DeepJavaLibrary](website/img/deepjavalibrary.png?raw=true "Deep Java Library")

![Continuous](https://github.com/awslabs/djl/workflows/Continuous/badge.svg)
![Continuous PyTorch](https://github.com/awslabs/djl/workflows/Continous%20PyTorch/badge.svg)
![Continuous Tensorflow](https://github.com/awslabs/djl/workflows/Continuous%20Tensorflow/badge.svg)
![Docs](https://github.com/awslabs/djl/workflows/Docs/badge.svg)
![Nightly Publish](https://github.com/awslabs/djl/workflows/Nightly%20Publish/badge.svg)
![Continuous](https://github.com/deepjavalibrary/djl/workflows/Continuous/badge.svg)
![Continuous PyTorch](https://github.com/deepjavalibrary/djl/workflows/Continous%20PyTorch/badge.svg)
![Continuous Tensorflow](https://github.com/deepjavalibrary/djl/workflows/Continuous%20Tensorflow/badge.svg)
![Docs](https://github.com/deepjavalibrary/djl/workflows/Docs/badge.svg)
![Nightly Publish](https://github.com/deepjavalibrary/djl/workflows/Nightly%20Publish/badge.svg)

# Deep Java Library (DJL)

Expand Down Expand Up @@ -87,15 +87,15 @@ The following pseudocode demonstrates running training:
- [JavaDoc API Reference](https://javadoc.djl.ai/)

## Release Notes
* [0.10.0](https://github.com/awslabs/djl/releases/tag/v0.10.0) ([Code](https://github.com/awslabs/djl/tree/v0.10.0))
* [0.9.0](https://github.com/awslabs/djl/releases/tag/v0.9.0) ([Code](https://github.com/awslabs/djl/tree/v0.9.0))
* [0.8.0](https://github.com/awslabs/djl/releases/tag/v0.8.0) ([Code](https://github.com/awslabs/djl/tree/v0.8.0))
* [0.6.0](https://github.com/awslabs/djl/releases/tag/v0.6.0) ([Code](https://github.com/awslabs/djl/tree/v0.6.0))
* [0.5.0](https://github.com/awslabs/djl/releases/tag/v0.5.0) ([Code](https://github.com/awslabs/djl/tree/v0.5.0))
* [0.4.0](https://github.com/awslabs/djl/releases/tag/v0.4.0) ([Code](https://github.com/awslabs/djl/tree/v0.4.0))
* [0.3.0](https://github.com/awslabs/djl/releases/tag/v0.3.0) ([Code](https://github.com/awslabs/djl/tree/v0.3.0))
* [0.2.1](https://github.com/awslabs/djl/releases/tag/v0.2.1) ([Code](https://github.com/awslabs/djl/tree/v0.2.1))
* [0.2.0 Initial release](https://github.com/awslabs/djl/releases/tag/v0.2.0) ([Code](https://github.com/awslabs/djl/tree/v0.2.0))
* [0.10.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.10.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.10.0))
* [0.9.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.9.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.9.0))
* [0.8.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.8.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.8.0))
* [0.6.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.6.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.6.0))
* [0.5.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.5.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.5.0))
* [0.4.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.4.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.4.0))
* [0.3.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.3.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.3.0))
* [0.2.1](https://github.com/deepjavalibrary/djl/releases/tag/v0.2.1) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.2.1))
* [0.2.0 Initial release](https://github.com/deepjavalibrary/djl/releases/tag/v0.2.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.2.0))

## Building From Source

Expand Down
6 changes: 3 additions & 3 deletions android/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ afterEvaluate {
}

scm {
connection = "scm:git:[email protected]:awslabs/djl.git"
developerConnection = "scm:git:[email protected]:awslabs/djl.git"
url = "https://github.com/awslabs/djl"
connection = "scm:git:[email protected]:deepjavalibrary/djl.git"
developerConnection = "scm:git:[email protected]:deepjavalibrary/djl.git"
url = "https://github.com/deepjavalibrary/djl"
tag = "HEAD"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void useAppContext() {
public void testImageToNDArray() throws IOException {
try (NDManager manager = NDManager.newBaseManager()) {
ImageFactory factory = ImageFactory.getInstance();
Image img = factory.fromUrl("https://github.com/awslabs/djl/raw/master/examples/src/test/resources/dog_bike_car.jpg");
Image img = factory.fromUrl("https://github.com/deepjavalibrary/djl/raw/master/examples/src/test/resources/dog_bike_car.jpg");
NDArray array = img.toNDArray(manager);
assertEquals(new Shape(img.getHeight(), img.getWidth(), 3), array.getShape());
}
Expand All @@ -71,7 +71,7 @@ public void testImageToNDArray() throws IOException {
public void testImageGetSubImage() throws IOException {
try (NDManager manager = NDManager.newBaseManager()) {
ImageFactory factory = ImageFactory.getInstance();
Image img = factory.fromUrl("https://github.com/awslabs/djl/raw/master/examples/src/test/resources/dog_bike_car.jpg");
Image img = factory.fromUrl("https://github.com/deepjavalibrary/djl/raw/master/examples/src/test/resources/dog_bike_car.jpg");
NDArray array = img.toNDArray(manager);
Image subImg = img.getSubimage(10, 20, 30, 40);
NDArray subArray = subImg.toNDArray(manager);
Expand All @@ -83,7 +83,7 @@ public void testImageGetSubImage() throws IOException {
public void testImageDuplicate() throws IOException {
try (NDManager manager = NDManager.newBaseManager()) {
ImageFactory factory = ImageFactory.getInstance();
Image img = factory.fromUrl("https://github.com/awslabs/djl/raw/master/examples/src/test/resources/dog_bike_car.jpg");
Image img = factory.fromUrl("https://github.com/deepjavalibrary/djl/raw/master/examples/src/test/resources/dog_bike_car.jpg");
NDArray array = img.toNDArray(manager);
NDArray duplicate = img.duplicate(Image.Type.TYPE_INT_ARGB).toNDArray(manager);
assertEquals(array, duplicate);
Expand Down
6 changes: 3 additions & 3 deletions android/pytorch-native/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ afterEvaluate {
}

scm {
connection = "scm:git:[email protected]:awslabs/djl.git"
developerConnection = "scm:git:[email protected]:awslabs/djl.git"
url = "https://github.com/awslabs/djl"
connection = "scm:git:[email protected]:deepjavalibrary/djl.git"
developerConnection = "scm:git:[email protected]:deepjavalibrary/djl.git"
url = "https://github.com/deepjavalibrary/djl"
tag = "HEAD"
}

Expand Down
2 changes: 1 addition & 1 deletion api/src/main/java/ai/djl/engine/Engine.java
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public static Engine getInstance() {
throw new EngineException(
"No deep learning engine found."
+ System.lineSeparator()
+ "Please refer to https://github.com/awslabs/djl/blob/master/docs/development/troubleshooting.md for more details.");
+ "Please refer to https://github.com/deepjavalibrary/djl/blob/master/docs/development/troubleshooting.md for more details.");
}
return getEngine(System.getProperty("ai.djl.default_engine", DEFAULT_ENGINE));
}
Expand Down
8 changes: 4 additions & 4 deletions api/src/main/java/ai/djl/inference/Predictor.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@
*
* <ul>
* <li><a
* href="https://github.com/awslabs/djl/blob/master/jupyter/tutorial/03_image_classification_with_your_model.ipynb">Inference
* href="https://github.com/deepjavalibrary/djl/blob/master/jupyter/tutorial/03_image_classification_with_your_model.ipynb">Inference
* with a custom trained model</a>
* <li><a
* href="https://github.com/awslabs/djl/blob/master/jupyter/object_detection_with_model_zoo.ipynb">Inference
* href="https://github.com/deepjavalibrary/djl/blob/master/jupyter/object_detection_with_model_zoo.ipynb">Inference
* with a model zoo model</a>
* <li><a
* href="https://github.com/awslabs/djl/blob/master/jupyter/load_mxnet_model.ipynb">Inference
* href="https://github.com/deepjavalibrary/djl/blob/master/jupyter/load_mxnet_model.ipynb">Inference
* with an MXNet model</a>
* </ul>
*
Expand All @@ -71,7 +71,7 @@
* @see <a href="http://docs.djl.ai/docs/development/memory_management.html">The guide on memory
* management</a>
* @see <a
* href="https://github.com/awslabs/djl/blob/master/examples/docs/multithread_inference.md">The
* href="https://github.com/deepjavalibrary/djl/blob/master/examples/docs/multithread_inference.md">The
* guide on running multi-threaded inference</a>
* @see <a href="http://docs.djl.ai/docs/development/inference_performance_optimization.html">The
* guide on inference performance optimization</a>
Expand Down
2 changes: 1 addition & 1 deletion api/src/main/java/ai/djl/metric/Metrics.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* latencies, CPU and GPU memory consumption, losses, etc.
*
* <p>For more details about using the metrics, see the <a
* href="https://github.com/awslabs/djl/blob/master/docs/how_to_collect_metrics.md">metrics
* href="https://github.com/deepjavalibrary/djl/blob/master/docs/how_to_collect_metrics.md">metrics
* tutorial</a>.
*/
public class Metrics {
Expand Down
2 changes: 1 addition & 1 deletion api/src/main/java/ai/djl/ndarray/NDArray.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* multidimensional, fixed-size homogeneous array. It has very similar behaviour to the Numpy python
* package with the addition of efficient computing. To understand how to manage NDArray lifecycle,
* please refer to <a
* href="https://github.com/awslabs/djl/blob/master/docs/development/memory_management.md">NDArray
* href="https://github.com/deepjavalibrary/djl/blob/master/docs/development/memory_management.md">NDArray
* Memory Management Guide</a>
*/
public interface NDArray extends NDResource {
Expand Down
2 changes: 1 addition & 1 deletion api/src/main/java/ai/djl/ndarray/NDManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
* @see Translator
* @see TranslatorContext#getNDManager()
* @see <a
* href="https://github.com/awslabs/djl/blob/master/docs/development/memory_management.md">NDArray
* href="https://github.com/deepjavalibrary/djl/blob/master/docs/development/memory_management.md">NDArray
* Memory Management Guide</a>
*/
public interface NDManager extends AutoCloseable {
Expand Down
2 changes: 1 addition & 1 deletion api/src/main/java/ai/djl/nn/Block.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
* fully-trained model.
*
* @see <a
* href="https://github.com/awslabs/djl/blob/master/jupyter/tutorial/01_create_your_first_network.ipynb">this
* href="https://github.com/deepjavalibrary/djl/blob/master/jupyter/tutorial/01_create_your_first_network.ipynb">this
* tutorial on creating your first network</a>
* @see <a href="https://d2l.djl.ai/chapter_deep-learning-computation/model-construction.html">The
* D2L chapter on blocks</a> and <a
Expand Down
6 changes: 3 additions & 3 deletions api/src/main/java/ai/djl/training/Trainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@
*
* <ul>
* <li><a
* href="https://github.com/awslabs/djl/blob/master/jupyter/tutorial/02_train_your_first_model.ipynb">Training
* href="https://github.com/deepjavalibrary/djl/blob/master/jupyter/tutorial/02_train_your_first_model.ipynb">Training
* your first model</a>
* <li><a
* href="https://github.com/awslabs/djl/blob/master/jupyter/transfer_learning_on_cifar10.ipynb">Training
* href="https://github.com/deepjavalibrary/djl/blob/master/jupyter/transfer_learning_on_cifar10.ipynb">Training
* using transfer learning</a>
* <li><a
* href="https://github.com/awslabs/djl/blob/master/jupyter/load_mxnet_model.ipynb">Inference
* href="https://github.com/deepjavalibrary/djl/blob/master/jupyter/load_mxnet_model.ipynb">Inference
* with an MXNet model</a>
* </ul>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* AbstractCompositeLoss}.
*
* <p>For an example of using this loss, see <a
* href="https://github.com/awslabs/djl/blob/master/examples/src/main/java/ai/djl/examples/training/TrainCaptcha.java">the
* href="https://github.com/deepjavalibrary/djl/blob/master/examples/src/main/java/ai/djl/examples/training/TrainCaptcha.java">the
* captcha training example.</a>
*/
public class SimpleCompositeLoss extends AbstractCompositeLoss {
Expand Down
2 changes: 1 addition & 1 deletion api/src/main/javadoc/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
}
</pre>

<p>More tutorials, documents, and examples can be on our <a href="https://github.com/awslabs/djl/tree/master/docs">GitHub repository</a>.
<p>More tutorials, documents, and examples can be on our <a href="https://github.com/deepjavalibrary/djl/tree/master/docs">GitHub repository</a>.

</body>
</html>
2 changes: 1 addition & 1 deletion basicdataset/src/main/javadoc/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<p>
The basic datasets module contains a number of built-in datasets that can be used for deep learning.
See <a href="https://github.com/awslabs/djl/tree/master/basicdataset">here</a> for more details.
See <a href="https://github.com/deepjavalibrary/djl/tree/master/basicdataset">here</a> for more details.
</p>

</body>
Expand Down
6 changes: 3 additions & 3 deletions bom/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ publishing {
}

scm {
connection = "scm:git:[email protected]:awslabs/djl.git"
developerConnection = "scm:git:[email protected]:awslabs/djl.git"
url = "https://github.com/awslabs/djl"
connection = "scm:git:[email protected]:deepjavalibrary/djl.git"
developerConnection = "scm:git:[email protected]:deepjavalibrary/djl.git"
url = "https://github.com/deepjavalibrary/djl"
tag = "HEAD"
}

Expand Down
2 changes: 1 addition & 1 deletion djl-zero/src/main/javadoc/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<p>
The zero module contains a zero deep learning knowledge required wrapper over DJL.
See <a href="https://github.com/awslabs/djl/tree/master/djl-zero">here</a> for more details.
See <a href="https://github.com/deepjavalibrary/djl/tree/master/djl-zero">here</a> for more details.
</p>

</body>
Expand Down
2 changes: 1 addition & 1 deletion dlr/dlr-engine/src/main/javadoc/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<p>
The DLR Engine module contains the DLR implementation of the DJL EngineProvider.
See <a href="https://github.com/awslabs/djl/tree/master/dlr/dlr-engine">here</a> for more details.
See <a href="https://github.com/deepjavalibrary/djl/tree/master/dlr/dlr-engine">here</a> for more details.
</p>

</body>
Expand Down
Loading

0 comments on commit d97fb11

Please sign in to comment.