Cuda error during run the example

You’ll find the nd4j-cuda-11.2 artifacts here: Index of /repositories/snapshots/org/nd4j/nd4j-cuda-11.2 - if you have any issues, let me know. That will really help with the release coming out soon.

hi, when I used snapshot 0.0.1-SNAPSHOT this is the error am getting

However, the sample code is working with 1.0.0-beta7 without any problems. this is my pom file:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>SampleDl4j</groupId>
  <artifactId>SampleDl4j</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <build>
<sourceDirectory>src</sourceDirectory>
<plugins>
  <plugin>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>3.8.1</version>
    <configuration>
      <release>11</release>
    </configuration>
  </plugin>
</plugins>
  </build>
  <!-- Properties Section. Change DL4J and ND4J versions here, if required -->
<properties>
    <dl4j.version>1.0.0-SNAPSHOT</dl4j.version>     <!-- Modified for using SNAPSHOT versions -->
    <nd4j.version>1.0.0-SNAPSHOT</nd4j.version>     <!-- Modified for using SNAPSHOT versions --> 
    <logback.version>1.2.3</logback.version>       
</properties>
<dependencies>
	<!-- deeplearning4j-core: contains main functionality and neural networks -->
    <dependency>
        <groupId>org.deeplearning4j</groupId>
        <artifactId>deeplearning4j-core</artifactId>
        <version>${dl4j.version}</version>
    </dependency>

    <!--
    ND4J backend: every project needs one of these. The backend defines the hardware on which network training
    will occur. "nd4j-native-platform" is for CPUs only (for running on all operating systems).
    -->
    <dependency>
        <groupId>org.nd4j</groupId>
        <artifactId>nd4j-native</artifactId>
        <version>${nd4j.version}</version>
    </dependency>

    <!-- CUDA: to use GPU for training (CUDA) instead of CPU, uncomment this, and remove nd4j-native-platform -->
    <!-- Requires CUDA to be installed to use. Change the version (8.0, 9.0, 9.1) to change the CUDA version -->
    <!--  
    <dependency>
        <groupId>org.nd4j</groupId>
        <artifactId>nd4j-cuda-11.2</artifactId>
        <version>${nd4j.version}</version>
    </dependency>
    -->
    

    <!-- Optional, but recommended: if you use CUDA, also use CuDNN. To use this, CuDNN must also be installed -->
    <!-- See: https://deeplearning4j.org/cudnn -->
    <!--  
    <dependency>
        <groupId>org.deeplearning4j</groupId>
        <artifactId>deeplearning4j-cuda-11.2</artifactId>
        <version>${dl4j.version}</version>
    </dependency>
    -->

    <dependency>
        <groupId>ch.qos.logback</groupId>
        <artifactId>logback-classic</artifactId>
        <version>${logback.version}</version>
    </dependency>
    
    <dependency>
		    <groupId>org.bytedeco</groupId>
		    <artifactId>cuda-platform-redist</artifactId>
		    <version>11.2-8.1-1.5.5</version>
		    
		</dependency>
		<!-- https://mvnrepository.com/artifact/org.bytedeco/openblas-platform -->
		<dependency>
		    <groupId>org.bytedeco</groupId>
		    <artifactId>openblas-platform</artifactId>
		    <version>0.3.13-1.5.5</version>
		</dependency>
		
		<dependency>
		    <groupId>org.nd4j</groupId>
		    <artifactId>nd4j-common</artifactId>
		    <version>${dl4j.version}</version>
		</dependency>

</dependencies>
  
 <!-- Modified for using SNAPSHOT versions - added repositories section -->
<repositories>
	<repository>
        <id>snapshots-repo</id>
        <url>https://repo.maven.apache.org/maven2</url>            
    </repository>
    <repository>
        <id>snapshots-repo</id>
        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        <releases>
            <enabled>false</enabled>
        </releases>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>
</project>

and this is my sample code:

package com.ajm.sample;

import org.nd4j.linalg.factory.Nd4j;

public class Program {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		
		Nd4j.create(1);
		System.out.println("Done");

	}
}

@ajmakoni sorry missed this and found the lack of response when going through old issues. Please reping us if you don’t see a response within a few days.
Looking at this, we would need to see what dependency walker or GitHub - lucasg/Dependencies: A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
to verify what the problem is. It’s still going to be a system dependent problem.

The release should be out within a week or so, so please feel free to test it then.

Hello, thank you for your feedback. I look forward to release

@ajmakoni we’ve released M1. Docs still need to be published and they are about done. Let me know if you have any questions.

hello @agibsonccc, will test this release as soon as possible

@ajmakoni awesome thanks. Depending on community feedback, we may push a new version within a few weeks if anything is found .We’re doing another round of bug fixes now so any feedback is appreciated.