Coder Social home page Coder Social logo

Testing Smashing Autobuilders about ensmallen HOT 11 CLOSED

mlpack avatar mlpack commented on August 22, 2024
Testing Smashing Autobuilders

from ensmallen.

Comments (11)

zoq avatar zoq commented on August 22, 2024

Thanks for the report, I can see a similar issue in the matrix build: http://ci.mlpack.org/view/ensmallen/job/docker%20ensmallen%20nightly%20build/

will take a closer look, unless somebody else likes to dive into the issue.

from ensmallen.

zoq avatar zoq commented on August 22, 2024

@barak Is it possible to manually test against a branch, e.g. #135?

from ensmallen.

barak avatar barak commented on August 22, 2024

I've heard rumours that it might be, but have not tried myself.

(Seriously, I can log into a development machine dedicated to porting to some architecture and give it a shot, especially if you tell me which architecture(s) you'd recommend.)

from ensmallen.

zoq avatar zoq commented on August 22, 2024

Great, thanks. Any platform that timed out will do, e.g. i386 - Debian sid.

from ensmallen.

zoq avatar zoq commented on August 22, 2024

@barak We just release ensmallen 2.10.3: https://github.com/mlpack/ensmallen/releases/tag/2.10.3 hopefully that will fix the issue you reported above.

from ensmallen.

barak avatar barak commented on August 22, 2024

Uploaded the 2.10.3, and the autobuilders encountered issues on some architectures. See https://buildd.debian.org/status/package.php?p=ensmallen which already shows problems on armel, s390x, hurd-i386. Lots of void* alignment warnings, not sure if those are relevant.

This is on armel:

...
Test project /<<PKGBUILDDIR>>/obj-arm-linux-gnueabi
    Start 1: ensmallen_tests
E: Build killed with signal TERM after 150 minutes of inactivity

This is on s360x:

...
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-s390x-linux-gnu'
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/obj-s390x-linux-gnu/CMakeFiles 0
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-s390x-linux-gnu'
   dh_auto_test -a
	cd obj-s390x-linux-gnu && make -j2 test ARGS\+=-j2
make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-s390x-linux-gnu'
Running tests...
/usr/bin/ctest --force-new-ctest-process -j2
Test project /<<PKGBUILDDIR>>/obj-s390x-linux-gnu
    Start 1: ensmallen_tests
1/1 Test #1: ensmallen_tests ..................***Failed  322.17 sec
ensmallen version: 2.10.3 (Fried Chicken)
armadillo version: 9.600.5 (Napa Invasion)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ensmallen_tests is a Catch v2.4.1 host application.
Run with -? for options

-------------------------------------------------------------------------------
EveSGDFunction
-------------------------------------------------------------------------------
/<<PKGBUILDDIR>>/tests/eve_test.cpp:23
...............................................................................

/<<PKGBUILDDIR>>/tests/eve_test.cpp:32: FAILED:
  REQUIRE( coordinates(1) == Approx(0.0).margin(0.1) )
with expansion:
  -0.1271843391 == Approx( 0.0 )

===============================================================================
test cases:   266 |   265 passed | 1 failed
assertions: 12391 | 12390 passed | 1 failed



0% tests passed, 1 tests failed out of 1

Total Test time (real) = 322.17 sec

The following tests FAILED:
	  1 - ensmallen_tests (Failed)
Errors while running CTest
make[1]: *** [Makefile:100: test] Error 8

from ensmallen.

barak avatar barak commented on August 22, 2024

Also i386

...
/<<PKGBUILDDIR>>/tests/callbacks_test.cpp: In function ‘void ____C_A_T_C_H____T_E_S_T____46()’:
/<<PKGBUILDDIR>>/tests/callbacks_test.cpp:397:28: warning: unsigned conversion from ‘long long int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘10000000000’ to ‘1410065408’ [-Woverflow]
  397 |   StandardSGD s(0.0003, 1, 10000000000, -10);
      |                            ^~~~~~~~~~~
/<<PKGBUILDDIR>>/tests/callbacks_test.cpp: In function ‘void ____C_A_T_C_H____T_E_S_T____54()’:
/<<PKGBUILDDIR>>/tests/callbacks_test.cpp:473:28: warning: unsigned conversion from ‘long long int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘10000000000’ to ‘1410065408’ [-Woverflow]
  473 |   StandardSGD s(0.0003, 1, 10000000000, -100, true);
      |                            ^~~~~~~~~~~
...

Running tests...
/usr/bin/ctest --force-new-ctest-process -j4
Test project /<<PKGBUILDDIR>>/obj-i686-linux-gnu
    Start 1: ensmallen_tests
1/1 Test #1: ensmallen_tests ..................***Failed  2550.09 sec
ensmallen version: 2.10.3 (Fried Chicken)
armadillo version: 9.600.5 (Napa Invasion)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ensmallen_tests is a Catch v2.4.1 host application.
Run with -? for options

-------------------------------------------------------------------------------
RosenbrockFunctionFloatTest
-------------------------------------------------------------------------------
/<<PKGBUILDDIR>>/tests/lbfgs_test.cpp:41
...............................................................................

/<<PKGBUILDDIR>>/tests/lbfgs_test.cpp:54: FAILED:
  REQUIRE( coords(1) == Approx(1.0).epsilon(1e-7) )
with expansion:
  1.0f == Approx( 1.0 )

-------------------------------------------------------------------------------
Johnson844LovaszThetaFMatSDP
-------------------------------------------------------------------------------
/<<PKGBUILDDIR>>/tests/lrsdp_test.cpp:136
...............................................................................

/<<PKGBUILDDIR>>/tests/lrsdp_test.cpp:161: FAILED:
  REQUIRE( finalValue == Approx(-14.0).epsilon(0.1) )
with expansion:
  nanf == Approx( -14.0 )

===============================================================================
test cases:   266 |   264 passed | 2 failed
assertions: 11281 | 11279 passed | 2 failed



0% tests passed, 1 tests failed out of 1

Total Test time (real) = 2550.09 sec

The following tests FAILED:
	  1 - ensmallen_tests (Failed)
Errors while running CTest
...

from ensmallen.

zoq avatar zoq commented on August 22, 2024

Will see if I can reproduce the issue and open a PR.

from ensmallen.

mlpack-bot avatar mlpack-bot commented on August 22, 2024

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! 👍

from ensmallen.

rcurtin avatar rcurtin commented on August 22, 2024

I had this issue while doing Fedora packaging also; some of the ensmallen tests are flaky. I looked through the historical Jenkins builds and came up with these (semi-regular) failing tests:

NesterovMomentumSGDSpeedUpTestFunction - http://ci.mlpack.org/job/docker%20ensmallen%20nightly%20build/64/armadillo_version=armadillo-8.600.1,compiler_version=llvm-3.5.2-patch,label=docker/testReport/junit/ensmallen_tests/global/NesterovMomentumSGDSpeedUpTestFunction/

DELogisticRegressionFMatTest - http://ci.mlpack.org/job/docker%20ensmallen%20nightly%20build/50/armadillo_version=armadillo-8.600.1,compiler_version=gcc-6.1.0,label=docker/testReport/junit/ensmallen_tests/global/DELogisticRegressionFMatTest/

DELogisticRegressionTest - http://ci.mlpack.org/job/docker%20ensmallen%20nightly%20build/47/armadillo_version=armadillo-9.600.6,compiler_version=llvm-8.0.1,label=docker/testReport/junit/ensmallen_tests/global/DELogisticRegressionTest/

This is in addition to the errors listed by @barak. (Actually that RosenbrockFunctionFloatTest just looks like it should be REQUIRE( coords(1) == Approx(1.0f).epsilon(1e-7) );, which is an easy fix.

I'll try to handle the three tests above plus RosenbrockFunctionFloatTest shortly.

from ensmallen.

mlpack-bot avatar mlpack-bot commented on August 22, 2024

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! 👍

from ensmallen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.