Adam Gibson

Results 122 comments of Adam Gibson

@remkop actually picocli was on the classpath. The only fix was removing codegen from the classpath. For now I just manually extracted the graalvm information I needed. I'll hope to...

@remkop let me see if I can build a minimal reproducer project for you to verify the issue.

@remkop actually no. Just maven with picocli and codegen. You can actually see the project's reflect config json here: https://github.com/KonduitAI/konduit-serving/blob/master/konduit-serving-config-creator/src/main/resources/META-INF/native-image/reflect-config.json#L35 The pom including the relevant native image command line can...

Hey folks sorry for the late reply: when I was trying this I was using the picocli docs pretty closely and still running in to this.

@bnnthang we have the apis in place for that for onnx and tf but not h5...I'd have to think on that one a bit. Most people train models in python...

@esurharun thanks! I'll look in to doing this soon.

@quickwritereader relevant part of the stack trace: ``` ava frames: (J=compiled Java code, j=interpreted, Vv=VM code) j org.nd4j.nativeblas.Nd4jCuda.encodeBitmap(Lorg/bytedeco/javacpp/PointerPointer;Lorg/bytedeco/javacpp/Pointer;Lorg/bytedeco/javacpp/LongPointer;JLorg/bytedeco/javacpp/IntPointer;F)J+0 j org.nd4j.linalg.jcublas.ops.executioner.CudaExecutioner.bitmapEncode(Lorg/nd4j/linalg/api/ndarray/INDArray;Lorg/nd4j/linalg/api/ndarray/INDArray;D)J+302 j org.deeplearning4j.optimize.solvers.accumulation.EncodingHandler.encodeUpdates(IILorg/nd4j/linalg/api/ndarray/INDArray;)Lorg/nd4j/linalg/api/ndarray/INDArray;+878 j org.deeplearning4j.optimize.solvers.accumulation.EncodingHandler.broadcastUpdates(Lorg/nd4j/linalg/api/ndarray/INDArray;II)Z+4 j ```

@hs2222 do you have the model or anything for us to take a look? Running this myself could help a bit. Sorry for the late response, just catching up on...

@RealYusufIsmail great! Please just feel free to submit a pull request against this repository with a Fixes https://github.com/eclipse/deeplearning4j/issues/9499 in the comment and I'll review it. Thanks!

@RealYusufIsmail follow this guide on how to submit pull requests: https://www.freecodecamp.org/news/how-to-make-your-first-pull-request-on-github-3/#:~:text=Go%20to%20your%20repository%20on,Congratulations! Start with understanding how to clone a repository, fork it, and make a small change then send a pull...