facebookarchive / caffe2

Caffe2 is a lightweight, modular, and scalable deep learning framework.
https://caffe2.ai
Apache License 2.0
8.42k stars 1.94k forks source link

Timer tests fail on OSX #785

Open lukeyeager opened 7 years ago

lukeyeager commented 7 years ago
[ RUN      ] TimerTest.Test
/Users/travis/build/lukeyeager/caffe2/caffe2/core/timer_test.cc:22: Failure
The difference between ns and 100000000 is 10073032, which exceeds 10000000, where
ns evaluates to 110073032,
100000000 evaluates to 100000000, and
10000000 evaluates to 10000000.
/Users/travis/build/lukeyeager/caffe2/caffe2/core/timer_test.cc:23: Failure
The difference between us and 100000 is 10075.515625, which exceeds 10000, where
us evaluates to 110075.515625,
100000 evaluates to 100000, and
10000 evaluates to 10000.
/Users/travis/build/lukeyeager/caffe2/caffe2/core/timer_test.cc:24: Failure
The difference between ms and 100 is 10.075546264648438, which exceeds 10, where
ms evaluates to 110.07554626464844,
100 evaluates to 100, and
10 evaluates to 10.
[  FAILED  ] TimerTest.Test (110 ms)
lukeyeager commented 7 years ago

See https://travis-ci.org/lukeyeager/caffe2/jobs/241000850

lukeyeager commented 7 years ago

/cc @Yangqing