Fork me on GitHub
#uncomplicate
<
2020-09-12
>
quadron08:09:35

i get the following error when including deep diamond in deps: Could not find artifact org.bytedeco:dnnl-platform:jar:1.6.1-1.5.4-20200830.144534-19 in snapshots (https://oss.sonatype.org/content/repositories/snapshots/)

quadron08:09:46

this is the version i'm using: uncomplicate/deep-diamond {:mvn/version "0.14.0-alpha"}

quadron13:09:46

when i execute the following i get a fatal error:

(def net-spec
  [(dnn/convo [32] [3 3] :relu)
   (dnn/convo [64] [3 3] :relu)
   (dnn/pooling [2 2] :max)
   (dnn/dropout)
   (dnn/dense [128] :relu)
   (dnn/dropout)
   (dnn/dense [10] :softmax)])

(defonce net-bp
  (dnn/network (udt/desc [128 1 28 28] :float :nchw)
               net-spec))

(defonce net (dnn/init! (net-bp :adam)))

quadron13:09:27

here is the initial part of the error log:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x00007f4ab2d9e66c, pid=371953, tid=371999
#
# JRE version: OpenJDK Runtime Environment (14.0.2+12) (build 14.0.2+12)
# Java VM: OpenJDK 64-Bit Server VM (14.0.2+12, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libdnnl.so.1+0x7e166c]  dnnl_status_t dnnl::impl::primitive_t::create_primitive_common<dnnl::impl::cpu::gemm_convolution_fwd_t, dnnl::impl::cpu::gemm_convolution_fwd_t::pd_t>(std::shared_ptr<dnnl::impl::primitive_t>&, dnnl::impl::cpu::gemm_convolution_fwd_t::pd_t const*, dnnl_engine*, bool, bool)+0x3ec

quadron13:09:49

is this an mkl related error?

blueberry21:09:52

Please provide the complete project that I can try on my machine.