Ninjia test error

username: hisbug
cooked: <p>/tests/CPUOperatorTest<br>
[ FAILED ] 1 test, listed below:<br>
[ FAILED ] CPU/OperatorStatelessTest.MFCC_1x17_Float/0, where GetParam() = (“CPU”)</p>
<p>./tests/CPUMLTest<br>
[ SKIPPED ] CPU/MLTest.learnSparseLengthsSumEmbeddings/0</p>
<p>LLVMIRCodeGen/libjit/libjit.cpp:902: void (anonymous namespace)::find_min_max_f(float *, dim_t, float &amp;, float &amp;): Assertion `!std::isnan(tensor[i]) &amp;&amp; “NaN value found!”’ failed.</p>
<p>Partition failed: the number of given(Interpreter) devices(1) is fewer than the required minimal partitions(2).</p>
<p>Please help me, I am new in glow compiler, I do not know how to start learning this compiler, so I run some test and get 3 errors, please give me some advice for learning this compiler</p>

username: jfix
cooked: <p>Hi <a class="mention" href="/u/hisbug">@hisbug</a>, for the error on CPUMLTest, I think that is just a buggy test. Do you see the error every time you run it, or is it inconsistent?</p>
<p>For the error on the Operator test, I’m not sure why you are seeing this error. What cmd are you running exactly?</p>

username: hisbug
cooked: <p><a class="mention" href="/u/jfix">@jfix</a> Thanks for replying, CPUMLTest has two outputs, it is inconsistent,<br>
my cmd is:</p>
<pre><code class="lang-auto">/home/hye/tmp/build_Debug/tests/CPUMLTest --gtest_output=xml:CPUMLTest.xml
</code></pre>
<p>most of the time, the output like this:</p>
<pre><code class="lang-auto">[----------] Global test environment tear-down
[==========] 20 tests from 1 test suite ran. (17844 ms total)
[  PASSED  ] 19 tests.
[  SKIPPED ] 1 test, listed below:
[  SKIPPED ] CPU/MLTest.learnSparseLengthsSumEmbeddings/0
</code></pre>
<p>sometimes the output like this:</p>
<pre><code class="lang-auto">CPUMLTest: /home/hye/tmp/glow/lib/Backends/CPU/../../LLVMIRCodeGen/libjit/libjit.cpp:902: void (anonymous namespace)::find_min_max_f(float *, dim_t, float &amp;, float &amp;): Assertion `!std::isnan(tensor[i]) &amp;&amp; "NaN value found!"' failed.      
#0 0x000000000300d21e llvm::sys::PrintStackTrace(llvm::raw_ostream&amp;) (/home/hye/tmp/build_Debug/tests/CPUMLTest+0x300d21e)                                                                                                                    
#1 0x000000000300b114 llvm::sys::RunSignalHandlers() (/home/hye/tmp/build_Debug/tests/CPUMLTest+0x300b114)                                                                                                                                    
#2 0x000000000300b295 SignalHandler(int) (/home/hye/tmp/build_Debug/tests/CPUMLTest+0x300b295)                                                                                                                                                
#3 0x00007f5fd261eb20 __restore_rt (/lib64/libpthread.so.0+0x14b20)                                                                                                                                                                           
#4 0x00007f5fd2124625 raise (/lib64/libc.so.6+0x3c625)                                                                                                                                                                                        
#5 0x00007f5fd210d8d9 abort (/lib64/libc.so.6+0x258d9)                                                                                                                                                                                        
#6 0x00007f5fd210d7a9 _nl_load_domain.cold (/lib64/libc.so.6+0x257a9)                                                                                                                                                                         
#7 0x00007f5fd211ca66 (/lib64/libc.so.6+0x34a66)                                                                                                                                                                                              
#8 0x00007f5fd33726b8 
</code></pre>
<p>For the Operator test, my cmd :</p>
<pre><code class="lang-auto">/home/hye/tmp/build_Debug/tests/CPUOperatorTest --gtest_output=xml:CPUOperatorTest.xml
</code></pre>
<p>The third failure is unit test 40, my cmd:</p>
<pre><code class="lang-auto">/home/hye/tmp/build_Debug/tests/InterpreterMLTest --gtest_output=xml:InterpreterMLTest.xml
</code></pre>
<p>output is:</p>
<pre><code class="lang-auto">[----------] Global test environment tear-down
[==========] 20 tests from 1 test suite ran. (20686 ms total)
[  PASSED  ] 19 tests.
[  SKIPPED ] 1 test, listed below:
[  SKIPPED ] Interpreter/MLTest.learnSparseLengthsSumEmbeddings/0
</code></pre>

username: jfix
cooked: <p>I’m a bit confused on what the issue is for the CPUOperatorTest. But the MLTest issues should be fixed as of <a href="https://github.com/pytorch/glow/commit/730c0a96ff6088aaa020c49981762f766c3a0cbf" rel="nofollow noopener">this commit</a> which just landed.</p>