From 5a1a4c6e990ba8ab166de3bc2cc76dc4c06ea401 Mon Sep 17 00:00:00 2001 From: Karl Lessard Date: Sun, 26 Jul 2020 23:16:06 -0400 Subject: [PATCH 1/4] Create 20200726-ndarray.repository.md --- sigs/jvm/rfcs/20200726-ndarray.repository.md | 44 ++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 sigs/jvm/rfcs/20200726-ndarray.repository.md diff --git a/sigs/jvm/rfcs/20200726-ndarray.repository.md b/sigs/jvm/rfcs/20200726-ndarray.repository.md new file mode 100644 index 000000000..9a832ee74 --- /dev/null +++ b/sigs/jvm/rfcs/20200726-ndarray.repository.md @@ -0,0 +1,44 @@ +# Java NdArray Repository +| Status | Proposed | +:-------------- |:---------------------------------------------------- | +| **Author(s)** | Karl Lessard (karl.lessard@gmail.com) | +| **Sponsored** | Joana Carrasqueira (joanafilipa@google.com) | +| **Updated** | 2020-07-26 | + +## Objective + +Create a new repository under the TensorFlow GitHub organization to host the code of the NdArray Java library used by TensorFlow and +maintained by SIG JVM. + +## Motivation + +SIG JVM has developed a library called [`NdArray`](https://github.com/tensorflow/java/tree/master/ndarray) to improve the +support of n-dimensional data structures on the JVM (e.g. tensors in TensorFlow). + +While this library is intensively used by the TensorFlow Java bindings, it does not have any dependency to the +TensorFlow runtime itself, making it an interesting option for any Java developer interested in fast and efficient I/O accesses +to continuous native memory in a n-dimensional space. + +To promote the adoption of this library beyond the scope of TensorFlow users, SIG JVM would like to move it into a distinct +GitHub repository. + +## User Benefit + +N-dimensional memory access in Java is poorly supported by the JDK and while there are already a few initiatives involving different +parties to standardize such API, it will take time before it gets released to the public. The NdArray Java Library is now a good option for +all kind of Java projects and since it does not depend on the TensorFlow runtime, it is very lightweight and portable. + +Also, having a distinct repository for the NdArray Java Library development will simplify the task for its collaborators as they will not need +anymore to checkout and build the whole TensorFlow Java project, a process which tends to be heavy since it also runs a Bazel build +of the TensorFlow core sources that can take many hours. + +## Design Proposal + +The current request is for the creation of the following repository: `/tensorflow/java-ndarray` + +This new repository will only host the code of the NdArray Java Library, which will be moved out of `tensorflow/java`. +Everything else related to TensorFlow Java depends on the TensorFlow runtime and shall remain under their actual +repositories. + +The NdArray Java Library will now have its own release cycle and group of collaborators, independently from the TensorFlow Java bindings, while +remaining under the jurisdiction of SIG JVM. From 8b4057d2385e89e155ab32200108541bd5cfd274 Mon Sep 17 00:00:00 2001 From: Karl Lessard Date: Sun, 26 Jul 2020 23:16:36 -0400 Subject: [PATCH 2/4] Rename 20200726-ndarray.repository.md to 20200726-java-ndarray-repository.md --- ...-ndarray.repository.md => 20200726-java-ndarray-repository.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename sigs/jvm/rfcs/{20200726-ndarray.repository.md => 20200726-java-ndarray-repository.md} (100%) diff --git a/sigs/jvm/rfcs/20200726-ndarray.repository.md b/sigs/jvm/rfcs/20200726-java-ndarray-repository.md similarity index 100% rename from sigs/jvm/rfcs/20200726-ndarray.repository.md rename to sigs/jvm/rfcs/20200726-java-ndarray-repository.md From c034e99e970a1dc39c39819448b3603c514786ef Mon Sep 17 00:00:00 2001 From: Karl Lessard Date: Wed, 29 Jul 2020 09:15:26 -0400 Subject: [PATCH 3/4] Add Rajagopal Ananthanarayanan as a sponsor --- sigs/jvm/rfcs/20200726-java-ndarray-repository.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigs/jvm/rfcs/20200726-java-ndarray-repository.md b/sigs/jvm/rfcs/20200726-java-ndarray-repository.md index 9a832ee74..ea3a0181e 100644 --- a/sigs/jvm/rfcs/20200726-java-ndarray-repository.md +++ b/sigs/jvm/rfcs/20200726-java-ndarray-repository.md @@ -2,7 +2,7 @@ | Status | Proposed | :-------------- |:---------------------------------------------------- | | **Author(s)** | Karl Lessard (karl.lessard@gmail.com) | -| **Sponsored** | Joana Carrasqueira (joanafilipa@google.com) | +| **Sponsored** | Joana Carrasqueira (joanafilipa@google.com), Rajagopal Ananthanarayanan (ananthr@google.com) | | **Updated** | 2020-07-26 | ## Objective From b2ea45239d02d255cfbe0631e0809eaa5e2a20c5 Mon Sep 17 00:00:00 2001 From: Karl Lessard Date: Wed, 29 Jul 2020 09:15:47 -0400 Subject: [PATCH 4/4] Update 20200726-java-ndarray-repository.md --- sigs/jvm/rfcs/20200726-java-ndarray-repository.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigs/jvm/rfcs/20200726-java-ndarray-repository.md b/sigs/jvm/rfcs/20200726-java-ndarray-repository.md index ea3a0181e..357007fc1 100644 --- a/sigs/jvm/rfcs/20200726-java-ndarray-repository.md +++ b/sigs/jvm/rfcs/20200726-java-ndarray-repository.md @@ -3,7 +3,7 @@ :-------------- |:---------------------------------------------------- | | **Author(s)** | Karl Lessard (karl.lessard@gmail.com) | | **Sponsored** | Joana Carrasqueira (joanafilipa@google.com), Rajagopal Ananthanarayanan (ananthr@google.com) | -| **Updated** | 2020-07-26 | +| **Updated** | 2020-07-29 | ## Objective