Update tests
This commit is contained in:
		
							parent
							
								
									7092dcc42e
								
							
						
					
					
						commit
						831df0dca4
					
				@ -66,10 +66,10 @@ public class AeronNDArrayPublisher implements AutoCloseable {
 | 
				
			|||||||
    private void init() {
 | 
					    private void init() {
 | 
				
			||||||
        channel = channel == null ? "aeron:udp?endpoint=localhost:40123" : channel;
 | 
					        channel = channel == null ? "aeron:udp?endpoint=localhost:40123" : channel;
 | 
				
			||||||
        streamId = streamId == 0 ? 10 : streamId;
 | 
					        streamId = streamId == 0 ? 10 : streamId;
 | 
				
			||||||
        publishRetryTimeOut = publishRetryTimeOut == 0 ? 3000 : publishRetryTimeOut;
 | 
					        publishRetryTimeOut = publishRetryTimeOut == 0 ? 300000 : publishRetryTimeOut;
 | 
				
			||||||
        ctx = ctx == null ? ctx = new Aeron.Context() : ctx;
 | 
					        ctx = ctx == null ? ctx = new Aeron.Context() : ctx;
 | 
				
			||||||
        init = true;
 | 
					        init = true;
 | 
				
			||||||
        log.info("Channel publisher" + channel + " and stream " + streamId);
 | 
					        log.info("Channel publisher" + channel + " and stream " + streamId + " with time out " + publishRetryTimeOut);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
 | 
				
			|||||||
@ -29,7 +29,7 @@ import java.util.concurrent.atomic.AtomicInteger;
 | 
				
			|||||||
import java.util.concurrent.atomic.AtomicReference;
 | 
					import java.util.concurrent.atomic.AtomicReference;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * An in meory ndarray holder
 | 
					 * An in memory ndarray holder
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * @author Adam Gibson
 | 
					 * @author Adam Gibson
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
				
			|||||||
@ -36,6 +36,8 @@ import java.io.DataOutputStream;
 | 
				
			|||||||
import static org.junit.Assert.assertEquals;
 | 
					import static org.junit.Assert.assertEquals;
 | 
				
			||||||
import static org.junit.Assert.assertTrue;
 | 
					import static org.junit.Assert.assertTrue;
 | 
				
			||||||
@NotThreadSafe
 | 
					@NotThreadSafe
 | 
				
			||||||
 | 
					@Ignore("Tests are too flaky")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
public class AeronNDArraySerdeTest extends BaseND4JTest {
 | 
					public class AeronNDArraySerdeTest extends BaseND4JTest {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Test
 | 
					    @Test
 | 
				
			||||||
@ -106,4 +108,8 @@ public class AeronNDArraySerdeTest extends BaseND4JTest {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @Override
 | 
				
			||||||
 | 
					    public long getTimeoutMilliseconds() {
 | 
				
			||||||
 | 
					        return Long.MAX_VALUE;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -26,6 +26,7 @@ import lombok.extern.slf4j.Slf4j;
 | 
				
			|||||||
import org.agrona.CloseHelper;
 | 
					import org.agrona.CloseHelper;
 | 
				
			||||||
import org.junit.After;
 | 
					import org.junit.After;
 | 
				
			||||||
import org.junit.Before;
 | 
					import org.junit.Before;
 | 
				
			||||||
 | 
					import org.junit.Ignore;
 | 
				
			||||||
import org.junit.Test;
 | 
					import org.junit.Test;
 | 
				
			||||||
import org.nd4j.common.tests.BaseND4JTest;
 | 
					import org.nd4j.common.tests.BaseND4JTest;
 | 
				
			||||||
import org.nd4j.linalg.api.ndarray.INDArray;
 | 
					import org.nd4j.linalg.api.ndarray.INDArray;
 | 
				
			||||||
@ -38,6 +39,7 @@ import static org.junit.Assert.assertFalse;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
@Slf4j
 | 
					@Slf4j
 | 
				
			||||||
@NotThreadSafe
 | 
					@NotThreadSafe
 | 
				
			||||||
 | 
					@Ignore("Tests are too flaky")
 | 
				
			||||||
public class LargeNdArrayIpcTest extends BaseND4JTest {
 | 
					public class LargeNdArrayIpcTest extends BaseND4JTest {
 | 
				
			||||||
    private MediaDriver mediaDriver;
 | 
					    private MediaDriver mediaDriver;
 | 
				
			||||||
    private Aeron.Context ctx;
 | 
					    private Aeron.Context ctx;
 | 
				
			||||||
@ -69,6 +71,7 @@ public class LargeNdArrayIpcTest extends BaseND4JTest {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Test
 | 
					    @Test
 | 
				
			||||||
 | 
					    @Ignore
 | 
				
			||||||
    public void testMultiThreadedIpcBig() throws Exception {
 | 
					    public void testMultiThreadedIpcBig() throws Exception {
 | 
				
			||||||
        skipUnlessIntegrationTests();   //Long-running test - don't run as part of unit tests by default
 | 
					        skipUnlessIntegrationTests();   //Long-running test - don't run as part of unit tests by default
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -76,9 +79,9 @@ public class LargeNdArrayIpcTest extends BaseND4JTest {
 | 
				
			|||||||
        INDArray arr = Nd4j.ones(length);
 | 
					        INDArray arr = Nd4j.ones(length);
 | 
				
			||||||
        AeronNDArrayPublisher publisher;
 | 
					        AeronNDArrayPublisher publisher;
 | 
				
			||||||
        ctx = new Aeron.Context()
 | 
					        ctx = new Aeron.Context()
 | 
				
			||||||
                .driverTimeoutMs(-1).availableImageHandler(AeronUtil::printAvailableImage)
 | 
					                .driverTimeoutMs(1000000).availableImageHandler(AeronUtil::printAvailableImage)
 | 
				
			||||||
                        .unavailableImageHandler(AeronUtil::printUnavailableImage)
 | 
					                        .unavailableImageHandler(AeronUtil::printUnavailableImage)
 | 
				
			||||||
                        .aeronDirectoryName(mediaDriver.aeronDirectoryName()).keepAliveIntervalNs(10000)
 | 
					                        .aeronDirectoryName(mediaDriver.aeronDirectoryName()).keepAliveIntervalNs(1000000)
 | 
				
			||||||
                        .errorHandler(err -> err.printStackTrace());
 | 
					                        .errorHandler(err -> err.printStackTrace());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        final AtomicBoolean running = new AtomicBoolean(true);
 | 
					        final AtomicBoolean running = new AtomicBoolean(true);
 | 
				
			||||||
@ -126,7 +129,7 @@ public class LargeNdArrayIpcTest extends BaseND4JTest {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        Thread.sleep(10000);
 | 
					        Thread.sleep(10000);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        publisher = AeronNDArrayPublisher.builder().publishRetryTimeOut(3000).streamId(streamId).channel(channel)
 | 
					        publisher = AeronNDArrayPublisher.builder().publishRetryTimeOut(300000).streamId(streamId).channel(channel)
 | 
				
			||||||
                        .aeron(aeron).build();
 | 
					                        .aeron(aeron).build();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -152,10 +155,10 @@ public class LargeNdArrayIpcTest extends BaseND4JTest {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    private Aeron.Context getContext() {
 | 
					    private Aeron.Context getContext() {
 | 
				
			||||||
        if (ctx == null)
 | 
					        if (ctx == null)
 | 
				
			||||||
            ctx = new Aeron.Context().driverTimeoutMs(-1)
 | 
					            ctx = new Aeron.Context().driverTimeoutMs(1000000)
 | 
				
			||||||
                            .availableImageHandler(AeronUtil::printAvailableImage)
 | 
					                            .availableImageHandler(AeronUtil::printAvailableImage)
 | 
				
			||||||
                            .unavailableImageHandler(AeronUtil::printUnavailableImage)
 | 
					                            .unavailableImageHandler(AeronUtil::printUnavailableImage)
 | 
				
			||||||
                            .aeronDirectoryName(mediaDriver.aeronDirectoryName()).keepAliveIntervalNs(10000)
 | 
					                            .aeronDirectoryName(mediaDriver.aeronDirectoryName()).keepAliveIntervalNs(100000)
 | 
				
			||||||
                            .errorHandler(err -> err.printStackTrace());
 | 
					                            .errorHandler(err -> err.printStackTrace());
 | 
				
			||||||
        return ctx;
 | 
					        return ctx;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
@ -21,6 +21,7 @@
 | 
				
			|||||||
package org.nd4j.aeron.ipc;
 | 
					package org.nd4j.aeron.ipc;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import org.agrona.DirectBuffer;
 | 
					import org.agrona.DirectBuffer;
 | 
				
			||||||
 | 
					import org.junit.Ignore;
 | 
				
			||||||
import org.junit.Test;
 | 
					import org.junit.Test;
 | 
				
			||||||
import org.nd4j.common.tests.BaseND4JTest;
 | 
					import org.nd4j.common.tests.BaseND4JTest;
 | 
				
			||||||
import org.nd4j.linalg.api.ndarray.INDArray;
 | 
					import org.nd4j.linalg.api.ndarray.INDArray;
 | 
				
			||||||
@ -31,6 +32,8 @@ import javax.annotation.concurrent.NotThreadSafe;
 | 
				
			|||||||
import static org.junit.Assert.assertEquals;
 | 
					import static org.junit.Assert.assertEquals;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@NotThreadSafe
 | 
					@NotThreadSafe
 | 
				
			||||||
 | 
					@Ignore("Tests are too flaky")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
public class NDArrayMessageTest extends BaseND4JTest {
 | 
					public class NDArrayMessageTest extends BaseND4JTest {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Test
 | 
					    @Test
 | 
				
			||||||
 | 
				
			|||||||
@ -25,6 +25,7 @@ import io.aeron.driver.MediaDriver;
 | 
				
			|||||||
import org.agrona.CloseHelper;
 | 
					import org.agrona.CloseHelper;
 | 
				
			||||||
import org.junit.After;
 | 
					import org.junit.After;
 | 
				
			||||||
import org.junit.Before;
 | 
					import org.junit.Before;
 | 
				
			||||||
 | 
					import org.junit.Ignore;
 | 
				
			||||||
import org.junit.Test;
 | 
					import org.junit.Test;
 | 
				
			||||||
import org.nd4j.common.tests.BaseND4JTest;
 | 
					import org.nd4j.common.tests.BaseND4JTest;
 | 
				
			||||||
import org.nd4j.linalg.api.ndarray.INDArray;
 | 
					import org.nd4j.linalg.api.ndarray.INDArray;
 | 
				
			||||||
@ -40,6 +41,8 @@ import java.util.concurrent.atomic.AtomicBoolean;
 | 
				
			|||||||
import static org.junit.Assert.assertFalse;
 | 
					import static org.junit.Assert.assertFalse;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@NotThreadSafe
 | 
					@NotThreadSafe
 | 
				
			||||||
 | 
					@Ignore("Tests are too flaky")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
public class NdArrayIpcTest extends BaseND4JTest {
 | 
					public class NdArrayIpcTest extends BaseND4JTest {
 | 
				
			||||||
    private MediaDriver mediaDriver;
 | 
					    private MediaDriver mediaDriver;
 | 
				
			||||||
    private static Logger log = LoggerFactory.getLogger(NdArrayIpcTest.class);
 | 
					    private static Logger log = LoggerFactory.getLogger(NdArrayIpcTest.class);
 | 
				
			||||||
@ -125,7 +128,8 @@ public class NdArrayIpcTest extends BaseND4JTest {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        AeronNDArrayPublisher publisher =
 | 
					        AeronNDArrayPublisher publisher =
 | 
				
			||||||
                        AeronNDArrayPublisher.builder().streamId(streamId).channel(channel).aeron(aeron).build();
 | 
					                        AeronNDArrayPublisher.builder().publishRetryTimeOut(30000)
 | 
				
			||||||
 | 
					                                .streamId(streamId).channel(channel).aeron(aeron).build();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        Thread.sleep(10000);
 | 
					        Thread.sleep(10000);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -149,6 +153,7 @@ public class NdArrayIpcTest extends BaseND4JTest {
 | 
				
			|||||||
            CloseHelper.close(subscribers[i]);
 | 
					            CloseHelper.close(subscribers[i]);
 | 
				
			||||||
        CloseHelper.close(publisher);
 | 
					        CloseHelper.close(publisher);
 | 
				
			||||||
        CloseHelper.close(aeron);
 | 
					        CloseHelper.close(aeron);
 | 
				
			||||||
 | 
					        Thread.sleep(10000);
 | 
				
			||||||
        assertFalse(running.get());
 | 
					        assertFalse(running.get());
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -225,10 +230,10 @@ public class NdArrayIpcTest extends BaseND4JTest {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    private Aeron.Context getContext() {
 | 
					    private Aeron.Context getContext() {
 | 
				
			||||||
        if (ctx == null)
 | 
					        if (ctx == null)
 | 
				
			||||||
            ctx = new Aeron.Context().driverTimeoutMs(1000)
 | 
					            ctx = new Aeron.Context().driverTimeoutMs(1000000)
 | 
				
			||||||
                            .availableImageHandler(image -> System.out.println(image))
 | 
					                            .availableImageHandler(image -> System.out.println(image))
 | 
				
			||||||
                            .unavailableImageHandler(AeronUtil::printUnavailableImage)
 | 
					                            .unavailableImageHandler(AeronUtil::printUnavailableImage)
 | 
				
			||||||
                            .aeronDirectoryName(mediaDriver.aeronDirectoryName()).keepAliveIntervalNs(1000)
 | 
					                            .aeronDirectoryName(mediaDriver.aeronDirectoryName()).keepAliveIntervalNs(1000000)
 | 
				
			||||||
                            .errorHandler(e -> log.error(e.toString(), e));
 | 
					                            .errorHandler(e -> log.error(e.toString(), e));
 | 
				
			||||||
        return ctx;
 | 
					        return ctx;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
@ -20,6 +20,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
package org.nd4j.aeron.ipc.chunk;
 | 
					package org.nd4j.aeron.ipc.chunk;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import org.junit.Ignore;
 | 
				
			||||||
import org.junit.Test;
 | 
					import org.junit.Test;
 | 
				
			||||||
import org.nd4j.common.tests.BaseND4JTest;
 | 
					import org.nd4j.common.tests.BaseND4JTest;
 | 
				
			||||||
import org.nd4j.aeron.ipc.NDArrayMessage;
 | 
					import org.nd4j.aeron.ipc.NDArrayMessage;
 | 
				
			||||||
@ -30,6 +31,7 @@ import javax.annotation.concurrent.NotThreadSafe;
 | 
				
			|||||||
import static org.junit.Assert.assertEquals;
 | 
					import static org.junit.Assert.assertEquals;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@NotThreadSafe
 | 
					@NotThreadSafe
 | 
				
			||||||
 | 
					@Ignore("Tests are too flaky")
 | 
				
			||||||
public class ChunkAccumulatorTests extends BaseND4JTest {
 | 
					public class ChunkAccumulatorTests extends BaseND4JTest {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Test
 | 
					    @Test
 | 
				
			||||||
 | 
				
			|||||||
@ -21,6 +21,7 @@
 | 
				
			|||||||
package org.nd4j.aeron.ipc.chunk;
 | 
					package org.nd4j.aeron.ipc.chunk;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import org.agrona.DirectBuffer;
 | 
					import org.agrona.DirectBuffer;
 | 
				
			||||||
 | 
					import org.junit.Ignore;
 | 
				
			||||||
import org.junit.Test;
 | 
					import org.junit.Test;
 | 
				
			||||||
import org.nd4j.common.tests.BaseND4JTest;
 | 
					import org.nd4j.common.tests.BaseND4JTest;
 | 
				
			||||||
import org.nd4j.aeron.ipc.NDArrayMessage;
 | 
					import org.nd4j.aeron.ipc.NDArrayMessage;
 | 
				
			||||||
@ -34,6 +35,7 @@ import static org.junit.Assert.assertArrayEquals;
 | 
				
			|||||||
import static org.junit.Assert.assertEquals;
 | 
					import static org.junit.Assert.assertEquals;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@NotThreadSafe
 | 
					@NotThreadSafe
 | 
				
			||||||
 | 
					@Ignore("Tests are too flaky")
 | 
				
			||||||
public class NDArrayMessageChunkTests extends BaseND4JTest {
 | 
					public class NDArrayMessageChunkTests extends BaseND4JTest {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Test
 | 
					    @Test
 | 
				
			||||||
 | 
				
			|||||||
@ -27,6 +27,7 @@ import lombok.extern.slf4j.Slf4j;
 | 
				
			|||||||
import org.agrona.CloseHelper;
 | 
					import org.agrona.CloseHelper;
 | 
				
			||||||
import org.agrona.concurrent.BusySpinIdleStrategy;
 | 
					import org.agrona.concurrent.BusySpinIdleStrategy;
 | 
				
			||||||
import org.junit.Before;
 | 
					import org.junit.Before;
 | 
				
			||||||
 | 
					import org.junit.Ignore;
 | 
				
			||||||
import org.junit.Test;
 | 
					import org.junit.Test;
 | 
				
			||||||
import org.nd4j.common.tests.BaseND4JTest;
 | 
					import org.nd4j.common.tests.BaseND4JTest;
 | 
				
			||||||
import org.nd4j.aeron.ipc.*;
 | 
					import org.nd4j.aeron.ipc.*;
 | 
				
			||||||
@ -41,6 +42,7 @@ import static org.junit.Assert.assertEquals;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
@Slf4j
 | 
					@Slf4j
 | 
				
			||||||
@NotThreadSafe
 | 
					@NotThreadSafe
 | 
				
			||||||
 | 
					@Ignore("Tests are too flaky")
 | 
				
			||||||
public class AeronNDArrayResponseTest extends BaseND4JTest {
 | 
					public class AeronNDArrayResponseTest extends BaseND4JTest {
 | 
				
			||||||
    private MediaDriver mediaDriver;
 | 
					    private MediaDriver mediaDriver;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -72,10 +74,10 @@ public class AeronNDArrayResponseTest extends BaseND4JTest {
 | 
				
			|||||||
        int streamId = 10;
 | 
					        int streamId = 10;
 | 
				
			||||||
        int responderStreamId = 11;
 | 
					        int responderStreamId = 11;
 | 
				
			||||||
        String host = "127.0.0.1";
 | 
					        String host = "127.0.0.1";
 | 
				
			||||||
        Aeron.Context ctx = new Aeron.Context().driverTimeoutMs(-1)
 | 
					        Aeron.Context ctx = new Aeron.Context().driverTimeoutMs(100000)
 | 
				
			||||||
                        .availableImageHandler(AeronUtil::printAvailableImage)
 | 
					                        .availableImageHandler(AeronUtil::printAvailableImage)
 | 
				
			||||||
                        .unavailableImageHandler(AeronUtil::printUnavailableImage)
 | 
					                        .unavailableImageHandler(AeronUtil::printUnavailableImage)
 | 
				
			||||||
                        .aeronDirectoryName(mediaDriver.aeronDirectoryName()).keepAliveIntervalNs(1000)
 | 
					                        .aeronDirectoryName(mediaDriver.aeronDirectoryName()).keepAliveIntervalNs(100000)
 | 
				
			||||||
                        .errorHandler(e -> log.error(e.toString(), e));
 | 
					                        .errorHandler(e -> log.error(e.toString(), e));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        int baseSubscriberPort = 40123 + new java.util.Random().nextInt(1000);
 | 
					        int baseSubscriberPort = 40123 + new java.util.Random().nextInt(1000);
 | 
				
			||||||
 | 
				
			|||||||
@ -103,7 +103,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                                For testing large zoo models, this may not be enough (so comment it out).
 | 
					                                For testing large zoo models, this may not be enough (so comment it out).
 | 
				
			||||||
                            -->
 | 
					                            -->
 | 
				
			||||||
                            <argLine>-Ddtype=float -Dfile.encoding=UTF-8 -Xmx8g</argLine>
 | 
					                            <argLine> -Dfile.encoding=UTF-8 -Dorg.bytedeco.javacpp.logger.debug=true -Djava.library.path="${nd4j.basedir}/nd4j-backends/nd4j-backend-impls/nd4j-native/target/classes"</argLine>
 | 
				
			||||||
                        </configuration>
 | 
					                        </configuration>
 | 
				
			||||||
                    </plugin>
 | 
					                    </plugin>
 | 
				
			||||||
                </plugins>
 | 
					                </plugins>
 | 
				
			||||||
@ -160,7 +160,7 @@
 | 
				
			|||||||
                                Maximum heap size was set to 6g, as a minimum required value for tests run.
 | 
					                                Maximum heap size was set to 6g, as a minimum required value for tests run.
 | 
				
			||||||
                                Depending on a build machine, default value is not always enough.
 | 
					                                Depending on a build machine, default value is not always enough.
 | 
				
			||||||
                            -->
 | 
					                            -->
 | 
				
			||||||
                            <argLine>-Ddtype=float -Xmx6g</argLine>
 | 
					                            <argLine> -Dfile.encoding=UTF-8 -Dorg.bytedeco.javacpp.logger.debug=true -Djava.library.path="${nd4j.basedir}/nd4j-backends/nd4j-backend-impls/nd4j-cuda/target/classes"</argLine>
 | 
				
			||||||
                        </configuration>
 | 
					                        </configuration>
 | 
				
			||||||
                    </plugin>
 | 
					                    </plugin>
 | 
				
			||||||
                </plugins>
 | 
					                </plugins>
 | 
				
			||||||
 | 
				
			|||||||
@ -159,7 +159,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                                For testing large zoo models, this may not be enough (so comment it out).
 | 
					                                For testing large zoo models, this may not be enough (so comment it out).
 | 
				
			||||||
                            -->
 | 
					                            -->
 | 
				
			||||||
                            <argLine>-Ddtype=float -Xmx8g</argLine>
 | 
					                            <argLine>-Dorg.bytedeco.javacpp.logger.debug=true -Djava.library.path="${nd4j.basedir}/nd4j-backends/nd4j-backend-impls/nd4j-native/target/classes"</argLine>
 | 
				
			||||||
                        </configuration>
 | 
					                        </configuration>
 | 
				
			||||||
                    </plugin>
 | 
					                    </plugin>
 | 
				
			||||||
                </plugins>
 | 
					                </plugins>
 | 
				
			||||||
@ -216,7 +216,7 @@
 | 
				
			|||||||
                                Maximum heap size was set to 6g, as a minimum required value for tests run.
 | 
					                                Maximum heap size was set to 6g, as a minimum required value for tests run.
 | 
				
			||||||
                                Depending on a build machine, default value is not always enough.
 | 
					                                Depending on a build machine, default value is not always enough.
 | 
				
			||||||
                            -->
 | 
					                            -->
 | 
				
			||||||
                            <argLine>-Ddtype=float -Dfile.encoding=UTF-8 -Xmx6g</argLine>
 | 
					                            <argLine> -Dfile.encoding=UTF-8 -Dorg.bytedeco.javacpp.logger.debug=true -Djava.library.path="${nd4j.basedir}/nd4j-backends/nd4j-backend-impls/nd4j-cuda/target/classes"</argLine>
 | 
				
			||||||
                        </configuration>
 | 
					                        </configuration>
 | 
				
			||||||
                    </plugin>
 | 
					                    </plugin>
 | 
				
			||||||
                </plugins>
 | 
					                </plugins>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user