nlp_primitives icon indicating copy to clipboard operation
nlp_primitives copied to clipboard

Universal Sentence Encoder tests occasionally crash

Open ctduffy opened this issue 6 years ago • 1 comments
trafficstars

The testing for the universal sentence encoder takes up too much memory, so fails due to being 'killed' on circleci. So, since it passes locally in the same virtualenv setup as circleci, it has been commented out at present. Furthermore, either of the two universal sentence encoder tests can pass in circle ci, just not both at the same time, which further points to the fact that it is a memory usage issue rather than a correctness one.

ctduffy avatar Aug 14 '19 21:08 ctduffy

I've been noticing this too lately.

nlp_primitives/tests/test_universal_sentence_encoder.py::test_regular PASSED [ 87%]
nlp_primitives/tests/test_universal_sentence_encoder.py::test_without_tensorflow PASSED [ 88%]
nlp_primitives/tests/test_universal_sentence_encoder.py::test_primitive_serialization PASSED [ 90%]
nlp_primitives/tests/test_universal_sentence_encoder.py::test_feature_serialization make: *** [Makefile:29: unit-tests] Killed

dsherry avatar Oct 22 '20 01:10 dsherry