torch / torch7

http://torch.ch
Other
9k stars 2.38k forks source link

[unit test] likely precision problem on i386 #978

Closed cdluminate closed 7 years ago

cdluminate commented 7 years ago

Overview: https://buildd.debian.org/status/package.php?p=lua-torch-torch7&suite=experimental

i386 buidlog: https://buildd.debian.org/status/fetch.php?pkg=lua-torch-torch7&arch=i386&ver=0~20170304-g329dff5-1&stamp=1489487078&raw=0

failure:

163/163 dot ............................................................. [PASS]
/usr/bin/luajit: ./torch/Tester.lua:361: An error was found while running tests!
stack traceback:
    [C]: in function 'assert'
    ./torch/Tester.lua:361: in function 'run'
    ./torch/test.lua:3945: in function 'test'
    (command line):1: in main chunk
    [C]: at 0x0804bb00
Completed 1150 asserts in 163 tests with 1 failure and 0 errors
--------------------------------------------------------------------------------
prod
torch.sum value
EQ failed: 2.7755575615629e-17 ~= 0
stack traceback:
    ./torch/test.lua:1642: in function <./torch/test.lua:1628>
--------------------------------------------------------------------------------

This is likely a float number precision problem on i386.

cdluminate commented 7 years ago

oops, seems that i386 is not in the supported arch list, closing this issue.