Torch_glow tests fail unless run separately

Hi,

upon running python3.6 setup.py test --run_cmake all the tests are failing

============================================================= test session starts =============================================================
platform linux – Python 3.6.12, pytest-2.8.7, py-1.4.31, pluggy-0.3.1
rootdir: /home/kpit/glow_compiler/glow_new/torch_glow, inifile:
plugins: colcon-core-0.5.10, cov-2.2.1
collected 243 items

tests/functionality/blacklist_test.py …
tests/functionality/conv_to_glow_test.py .FFF
tests/functionality/fused_linear_test.py .
tests/functionality/glow_compile_spec_test.py .
tests/functionality/jit_vs_glow_path_test.py FFF
tests/functionality/load_backend_specific_options_test.py F
tests/functionality/max_fusion_merge_size_test.py …
tests/functionality/min_graph_size_test.py .
tests/functionality/only_tensor_outputs_test.py .
tests/functionality/quantized_cut_in_the_middle_test.py F
tests/functionality/randomize_constants_test.py .
tests/functionality/remove_exceptions_test.py .
tests/functionality/set_glow_backend_test.py .
tests/functionality/to_glow_selective_test.py .
tests/nodes/Int_test.py FF
tests/nodes/adaptive_avg_pool2d_test.py FFF
tests/nodes/add_test.py FFFFFFF
tests/nodes/addmm_test.py FFF
tests/nodes/avgpool2d_test.py FF
tests/nodes/avgpool3d_test.py FF
tests/nodes/batchnorm2d_test.py FF
tests/nodes/batchnorm3d_test.py FF
tests/nodes/bmm_test.py F
tests/nodes/cat_test.py FF.
tests/nodes/clamp_test.py F
tests/nodes/constant_chunk_test.py FF
tests/nodes/contiguous_test.py F
tests/nodes/conv2d_test.py FsF
tests/nodes/conv3d_test.py FFF
tests/nodes/div_test.py FFFFFF
tests/nodes/dropout_test.py FF
tests/nodes/embedding_bag_test.py F
tests/nodes/exp_test.py F
tests/nodes/flatten_test.py FFFFFF
tests/nodes/floor_div_test.py sFFFFF
tests/nodes/floor_test.py F
tests/nodes/gelu_test.py F
tests/nodes/getattr_test.py F
tests/nodes/layernorm_test.py FF
tests/nodes/linear_test.py FFF
tests/nodes/masked_fill_test.py FFFFF
tests/nodes/matmul_test.py FFFFFFFF
tests/nodes/max_test.py F
tests/nodes/maxpool2d_test.py FF
tests/nodes/mean_test.py FF
tests/nodes/min_test.py F
tests/nodes/mm_test.py F
tests/nodes/mul_test.py FFFFFF
tests/nodes/norm_test.py FFF
tests/nodes/num_to_tensor_test.py FF
tests/nodes/permute_test.py F
tests/nodes/pow_test.py F
tests/nodes/prelu_test.py F
tests/nodes/quantized_add_relu_test.py FFF
tests/nodes/quantized_add_test.py FFF
tests/nodes/quantized_avgpool2d_test.py FF
tests/nodes/quantized_avgpool3d_test.py FF
tests/nodes/quantized_batchnorm2d_test.py FF
tests/nodes/quantized_batchnorm3d_relu_test.py F
tests/nodes/quantized_batchnorm3d_test.py FF
tests/nodes/quantized_conv2d_relu_test.py FFF
tests/nodes/quantized_conv2d_test.py FFFFFF
tests/nodes/quantized_conv3d_relu_test.py FFF
tests/nodes/quantized_conv3d_test.py FFFF
tests/nodes/quantized_linear_test.py FFFs
tests/nodes/quantized_maxpool_test.py FF
tests/nodes/quantized_mul_test.py FFFF
tests/nodes/quantized_relu_test.py FF
tests/nodes/reciprocal_test.py FF
tests/nodes/relu_test.py FF
tests/nodes/reshape_test.py F
tests/nodes/roi_align_rotated_test.py FFFFFFFF
tests/nodes/roi_align_test.py FFFFFFF
tests/nodes/rsub_test.py FFFFFF
tests/nodes/sigmoid_test.py FF
tests/nodes/size_test.py .
tests/nodes/slice_test.py F
tests/nodes/softmax_test.py FF.
tests/nodes/sqrt_test.py FF
tests/nodes/squeeze_test.py FFFF
tests/nodes/stack_test.py F
tests/nodes/sub_test.py FFFFFF
tests/nodes/tanh_test.py FF
tests/nodes/to_test.py FFF
tests/nodes/topk_test.py F
tests/nodes/transpose_test.py FFFFFF.
tests/nodes/typeas_test.py FFFFFF
tests/nodes/unsqueeze_test.py FFFFFF
tests/nodes/upsample_test.py FFFFFF
tests/nodes/view_test.py F

However upon running python3.6 -m pytest nodes
219 passed, 3 skipped in 19.03 seconds (All most all test passed)

Requesting help on the same?

Thanks for reporting this – would you mind creating an issue on Github for this to move the conversation there?