Comments (11)
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.
@barak Is it possible to manually test against a branch, e.g. #135?
from ensmallen.
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.
Great, thanks. Any platform that timed out will do, e.g. i386 - Debian sid.
from ensmallen.
@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.
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.
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.
Will see if I can reproduce the issue and open a PR.
from ensmallen.
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.
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.
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)
- Compiling errors ensmallen 02.18.02 using VS2019 armadillo.lib 10.08.02 and mlpack.lib 03.04.02 HOT 6
- The example to use the constrained function HOT 4
- AugLagrangian with constraints validation HOT 8
- Multi-objective functions both MOEA/D-DE and NSGA2 - Examples using SchafferFunctionN1 HOT 1
- Implementing Function Type for Partial Derivatives HOT 3
- Does ensmallen work with armadillo >=10.0? HOT 5
- Enable HTTPS on ensmallen.org HOT 1
- Debian build (test) failure on i386 HOT 7
- ProgressBar() does not work with L_BFGS HOT 3
- Bounds for search space HOT 5
- During AugLagrangian's optimization, L_BFGS sets coordinates to nan HOT 6
- Migrate from Catch v2 to v3 HOT 3
- Using optimizer with integers HOT 6
- Custom early stop callback HOT 12
- SCD isn't stochastic and perhaps should be called CD? HOT 2
- 2.20 documentation + link issues
- Which optimizer should I use? HOT 2
- [PowerPC] Bus error during running tests: `KERN_PROTECTION_FAILURE at address: 0x00000000` HOT 7
- [aarch64] One test failure in Johnson844LovaszThetaFMatSDP HOT 8
- benchmarking framework for single-objective evolutionary optimization algorithms HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ensmallen.