# Next Snapshot or release

**URL:** <https://community.konduit.ai/t/next-snapshot-or-release/2223>\
**Category:** DL4J\
**Created:** [February 3, 2023, 8:26pm UTC](https://community.konduit.ai/t/next-snapshot-or-release/2223 "2023-02-03T20:26:05Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomas](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@thomas](https://community.konduit.ai/u/thomas)\
**Post date:** [February 3, 2023, 8:26pm UTC](https://community.konduit.ai/t/next-snapshot-or-release/2223/1 "2023-02-03T20:26:05Z")

</div>

Hi,

Can anybody give a short info if there are any near snapshot updates or milestone releases?

Best regards

Thomas

Tried also to build from source on windows with the msys shell but got an link error:

/sources/deeplearning4j/libnd4j/include/legacy/NativeOps.h:1077:27: error: external linkage required for symbol ‘long int \_numpyHeaderLengthWordSize(sd::Pointer, long int)’ because of ‘dllexport’ attribute  
1077 | SD\_LIB\_EXPORT static long \_numpyHeaderLengthWordSize(sd::Pointer shapeBuffer,long wordSize) {  
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~  
C:/msys64/home/mrrobot/sources/deeplearning4j/libnd4j/include/legacy/NativeOps.h:1095:27: error: external linkage required for symbol ‘long int numpyHeaderLengthWordSize(sd::Pointer, long int)’ because of ‘dllexport’ attribute  
1095 | SD\_LIB\_EXPORT static long numpyHeaderLengthWordSize(sd::Pointer shapeBuffer,long wordSize) {

---

<div class="post-metadata">

**Author:** ![agibsonccc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/agibsonccc/32/697_2.png) [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Post date:** [February 4, 2023, 12:58am UTC](https://community.konduit.ai/t/next-snapshot-or-release/2223/2 "2023-02-04T00:58:41Z")

</div>

@thomas I just published a build a bit ago.

I’m currently troubleshooting a paid customer issue atm so I haven’t been able to get to the CI yet. I’ve done a significant amount of the release work (run tests, double check everything etc) but am currently blocked.

I want to get this cleaned up this weekend. Either way release should be going out soon.

---

<div class="post-metadata">

**Author:** ![thomas](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@thomas](https://community.konduit.ai/u/thomas)\
**Post date:** [February 4, 2023, 1:00am UTC](https://community.konduit.ai/t/next-snapshot-or-release/2223/3 "2023-02-04T01:00:26Z")

</div>

Thanks for the quick answer and your hard work.

---

<div class="post-metadata">

**Author:** ![agibsonccc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/agibsonccc/32/697_2.png) [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Post date:** [February 4, 2023, 9:04am UTC](https://community.konduit.ai/t/next-snapshot-or-release/2223/4 "2023-02-04T09:04:53Z")

</div>

> [@thomas](#):
>
> numpyHeaderLengthWordSize

@thomas I published the windows build. Let me know if you have any issues.

---

<div class="post-metadata">

**Author:** ![thomas](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@thomas](https://community.konduit.ai/u/thomas)\
**Post date:** [February 4, 2023, 10:38am UTC](https://community.konduit.ai/t/next-snapshot-or-release/2223/5 "2023-02-04T10:38:52Z")

</div>

Same error after git pull. But i can wait for official release if you are on target.

Best regards

Thomas

---

<div class="post-metadata">

**Author:** ![agibsonccc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/agibsonccc/32/697_2.png) [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Post date:** [February 4, 2023, 12:56pm UTC](https://community.konduit.ai/t/next-snapshot-or-release/2223/6 "2023-02-04T12:56:22Z")

</div>

@thomas You might want to check with @partarstu - he had success with it.

---

<div class="post-metadata">

**Author:** ![partarstu](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/partarstu/32/276_2.png) [@partarstu](https://community.konduit.ai/u/partarstu)\
**Post date:** [February 4, 2023, 1:13pm UTC](https://community.konduit.ai/t/next-snapshot-or-release/2223/7 "2023-02-04T13:13:43Z")

</div>

@thomas - my scope is to simply get the newest SNAPSHOT JAR in order to proceed with my custom Op implementation. The newest snapshot version has the merged PR changes which allow me to do it, but this version doesn’t have the Windows backend (Android, Linux and Mac are available), so you can’t run it on Windows. The corresponding jobs in GitLab Actions fail so no updated Windows artifacts are published. We just need to patiently wait until @agibsonccc is done with the current blockers and will have some time to fix the pipelines in order to get new Windows artifacts.

---

<div class="post-metadata">

**Author:** ![agibsonccc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/agibsonccc/32/697_2.png) [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Post date:** [February 4, 2023, 1:27pm UTC](https://community.konduit.ai/t/next-snapshot-or-release/2223/8 "2023-02-04T13:27:36Z")

</div>

@partarstu oh sorry I misunderstood you! I kicked off a windows build already. The build here actually worked: [.github/workflows/build-deploy-windows.yml · deeplearning4j/deeplearning4j@21d0372 · GitHub](https://github.com/deeplearning4j/deeplearning4j/actions/runs/4089281164/jobs/7051816282)

It just had an old tmate plugin that was stalling the build. I think in some new version (I hadn’t changed that in a while) some sort of logic change was forcing it to kick in which actually just stalled the build after it completed. I removed that.

You can see from the job that it manages to upload the jars.

I’m trying to figure out if after the snapshots are updated you guys still have that problem.

---

<div class="post-metadata">

**Author:** ![partarstu](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/partarstu/32/276_2.png) [@partarstu](https://community.konduit.ai/u/partarstu)\
**Post date:** [February 4, 2023, 2:28pm UTC](https://community.konduit.ai/t/next-snapshot-or-release/2223/9 "2023-02-04T14:28:38Z")

</div>

> [@agibsonccc](#):
>
> You can see from the job that it manages to upload the jars.

@agibsonccc , actually I’m sorry - seems like my browser hasn’t correctly refreshed the snapshots page so I didn’t see those artifacts, but now I double-checked it and they are there! Thanks a lot !!! I’m currently re-loading all the maven dependencies (in order to avoid wrong sources versions - had those issues a couple of times while using snapshots) and after it’s done I’ll let you know if I managed to start the engine

---

<div class="post-metadata">

**Author:** ![partarstu](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/partarstu/32/276_2.png) [@partarstu](https://community.konduit.ai/u/partarstu)\
**Post date:** [February 4, 2023, 2:36pm UTC](https://community.konduit.ai/t/next-snapshot-or-release/2223/10 "2023-02-04T14:36:20Z")

</div>

@agibsonccc , unfortunately it’s not starting - the problem is with this part of new code:

```auto
List<Class<?>> classModules = AnnotationDetector.scanClassPath(ND4JClassLoading.getNd4jClassloader())
                    .forAnnotations(UserDefinedOp.class) // one or more annotations
                    .on(ElementType.TYPE) // optional, default ElementType.TYPE. One ore more element types
                    .collect(AnnotationDefaults.getType);

```

```auto
Caused by: java.lang.ExceptionInInitializerError: Exception kotlin.jvm.KotlinReflectionNotSupportedError: Kotlin reflection implementation is not found at runtime. Make sure you have kotlin-reflect.jar in the classpath [in thread "main"]
	at kotlin.jvm.internal.ClassReference.error(ClassReference.kt:45)
	at kotlin.jvm.internal.ClassReference.getQualifiedName(ClassReference.kt:28)
	at dorkbox.updates.Updates.<clinit>(Updates.kt:25)
	at dorkbox.annotation.AnnotationDetector.<clinit>(AnnotationDetector.java:155)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:495)
	at java.base/java.lang.Class.forName(Class.java:474)

```

But one very important fact is that the previous issue with javacpp UnsatisfiedLinkError seems to be gone now! 🥳

---

<div class="post-metadata">

**Author:** ![agibsonccc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/agibsonccc/32/697_2.png) [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Post date:** [February 4, 2023, 9:38pm UTC](https://community.konduit.ai/t/next-snapshot-or-release/2223/11 "2023-02-04T21:38:24Z")

</div>

@partarstu oh interesting! Let me add that in my current working branch here. That never came up in my tests. I"m guessing due to the unit test classpath or intelliij having something already. Thanks for catching that!

---

<div class="post-metadata">

**Author:** ![thomas](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@thomas](https://community.konduit.ai/u/thomas)\
**Post date:** [February 4, 2023, 9:57pm UTC](https://community.konduit.ai/t/next-snapshot-or-release/2223/12 "2023-02-04T21:57:32Z")

</div>

hi, @partarstu i tried to check the sonatpye repository, which repository do you checked in your browser. i still cannot see the updates. or do you download from the links inside the build logs?

EDIT: Ah think i found it. Didn’t used the s01 only [oss.sonatype.org](http://oss.sonatype.org).

---

<div class="post-metadata">

**Author:** ![partarstu](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/partarstu/32/276_2.png) [@partarstu](https://community.konduit.ai/u/partarstu)\
**Post date:** [February 4, 2023, 11:53pm UTC](https://community.konduit.ai/t/next-snapshot-or-release/2223/13 "2023-02-04T23:53:55Z")

</div>

Hi @thomas , the back-end should be here : [https://s01.oss.sonatype.org/content/repositories/snapshots/org/nd4j/nd4j-native/1.0.0-SNAPSHOT/](https://s01.oss.sonatype.org/content/repositories/snapshots/org/nd4j/nd4j-native/1.0.0-SNAPSHOT/)

---

<div class="post-metadata">

**Author:** ![partarstu](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/partarstu/32/276_2.png) [@partarstu](https://community.konduit.ai/u/partarstu)\
**Post date:** [February 5, 2023, 2:49pm UTC](https://community.konduit.ai/t/next-snapshot-or-release/2223/14 "2023-02-05T14:49:14Z")

</div>

> [@agibsonccc](#):
>
> That never came up in my tests. I"m guessing due to the unit test classpath or intelliij having something already.

@agibsonccc , adding `kotlin-reflect` dependency in my POM resolved the issue. I’m now able to start the engine! Thanks for building the working snapshot version!

Also `javacpp UnsatisfiedLinkError` is not present any more!

---

<div class="post-metadata">

**Author:** ![agibsonccc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/agibsonccc/32/697_2.png) [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Post date:** [February 8, 2023, 1:35pm UTC](https://community.konduit.ai/t/next-snapshot-or-release/2223/15 "2023-02-08T13:35:12Z")

</div>

@partarstu that current PR has merged. I added kotlin-reflect to model import for you. I"m kicking the snapshots build off now.

---

<div class="post-metadata">

**Author:** ![partarstu](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/partarstu/32/276_2.png) [@partarstu](https://community.konduit.ai/u/partarstu)\
**Post date:** [February 8, 2023, 8:59pm UTC](https://community.konduit.ai/t/next-snapshot-or-release/2223/16 "2023-02-08T20:59:22Z")

</div>

@agibsonccc , thanks a lot! I’ll give it a try tomorrow. For now I’m able to work further and already using my UDF!

---

<div class="post-metadata">

**Author:** ![partarstu](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/partarstu/32/276_2.png) [@partarstu](https://community.konduit.ai/u/partarstu)\
**Post date:** [February 13, 2023, 3:10pm UTC](https://community.konduit.ai/t/next-snapshot-or-release/2223/17 "2023-02-13T15:10:17Z")

</div>

@agibsonccc sorry, got to it just now. Kotlin problem persists, the same error.
