Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure on cpu #4356

Closed
huitseeker opened this issue Dec 1, 2017 · 5 comments
Closed

Build failure on cpu #4356

huitseeker opened this issue Dec 1, 2017 · 5 comments

Comments

@huitseeker
Copy link

Issue Description

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project deeplearning4j-nn: Compilation failure
/home/huitseeker/DL4J/deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/conf/weightnoise/WeightNoise.java:[70,54] incompatible types: org.nd4j.linalg.api.ndarray.INDArray cannot be converted to org.nd4j.autodiff.samediff.SameDiff

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
/home/huitseeker/DL4J/deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/conf/weightnoise/WeightNoise.java:[70,54] incompatible types: org.nd4j.linalg.api.ndarray.INDArray cannot be converted to org.nd4j.autodiff.samediff.SameDiff

    at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:972)
    at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:129)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)

on:

huitseeker@pegasus➜/home/huitseeker/DL4J» for i in libnd4j nd4j datavec deeplearning4j; do pushd $i; git rev-parse HEAD; popd -q; done                                                                                                                                 [9:11:40]
/home/huitseeker/DL4J/libnd4j 6a501a700e979c7d48d6911bc6ba27d9dcba7f75                                                                                                                                                                                                                                        
/home/huitseeker/DL4J/nd4j 1e3da2ab6bae3a7683af2a6d862d816bb83a19f1                                                                                                                                                                                                                                        
/home/huitseeker/DL4J/datavec 6194005cb3340fe91446263276dfaa7591513387                                                                                                                                                                                                                                        
/home/huitseeker/DL4J/deeplearning4j 1968153069c0d53fbba7d81dbb193f439a23a4d5   

Full log:
https://gist.github.com/125f5a6ca3ce526ff499317018a6a72e

@huitseeker
Copy link
Author

I confirm this passes with nd4j pinned at bebc10d.

@AlexDBlack
Copy link
Contributor

I'm seeing successful DL4J builds on Windows currently, using:
ND4J: 1e3da2a
DL4J: 314e5c5
libnd4j: 6a501a7

@huitseeker
Copy link
Author

Confirmed (at least for CPU):

huitseeker@pegasus➜~huitseeker/DL4J» for i in libnd4j nd4j datavec deeplearning4j; do cd $i; echo $i; git rev-parse HEAD; cd ..; done   │········································································································································
libnd4j                                                                                                                                 │········································································································································
efdb2371f822a9da30a1e043d5301c36d5db9436                                                                                                │········································································································································
nd4j                                                                                                                                    │········································································································································
d5ab79149121df2a59a54032e906a6dba763817c                                                                                                │········································································································································
datavec                                                                                                                                 │········································································································································
0aa80e09b5310b3286bda544c78e4b0125d70e39                                                                                                │········································································································································
deeplearning4j                                                                                                                          │········································································································································
ccc3fa121fc2a56fd67788d1d0f0cbdf9f83734c

@huitseeker
Copy link
Author

And I'm closing because this is an AddOp compatibility issue introduced after bebc10d and now fixed by @agibsonccc

@lock
Copy link

lock bot commented Sep 24, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Sep 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants