You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed fairseq2 in edit mode following the instructions here. I did a quick pytest to test the installation to see following these errors:
=================================================================================================================== short test summary info ===================================================================================================================
FAILED tests/unit/data/data_pipeline/test_sample.py::TestSampleOp::test_op_works_as_expected - AttributeError: type object 'fairseq2n.bindings.data.data_pipeline.DataPipeline' has no attribute 'sample'
FAILED tests/unit/data/data_pipeline/test_sample.py::TestSampleOp::test_op_works_as_expected_with_different_lenghts - AttributeError: type object 'fairseq2n.bindings.data.data_pipeline.DataPipeline' has no attribute 'sample'
FAILED tests/unit/data/data_pipeline/test_sample.py::TestSampleOp::test_op_works_as_expected_with_default_weights - AttributeError: type object 'fairseq2n.bindings.data.data_pipeline.DataPipeline' has no attribute 'sample'
FAILED tests/unit/data/data_pipeline/test_sample.py::TestSampleOp::test_op_works_as_expected_with_low_prob - AttributeError: type object 'fairseq2n.bindings.data.data_pipeline.DataPipeline' has no attribute 'sample'
FAILED tests/unit/data/data_pipeline/test_sample.py::TestSampleOp::test_op_works_as_expected_with_single_data_pipeline - AttributeError: type object 'fairseq2n.bindings.data.data_pipeline.DataPipeline' has no attribute 'sample'
FAILED tests/unit/data/data_pipeline/test_sample.py::TestSampleOp::test_op_works_as_expected_with_empty_data_pipelines - AttributeError: type object 'fairseq2n.bindings.data.data_pipeline.DataPipeline' has no attribute 'sample'
FAILED tests/unit/data/data_pipeline/test_sample.py::TestSampleOp::test_op_works_as_expected_with_manual_seed - AttributeError: type object 'fairseq2n.bindings.data.data_pipeline.DataPipeline' has no attribute 'sample'
FAILED tests/unit/data/data_pipeline/test_sample.py::TestSampleOp::test_op_raises_invalid_argument_if_negative_weights - AttributeError: type object 'fairseq2n.bindings.data.data_pipeline.DataPipeline' has no attribute 'sample'
FAILED tests/unit/data/data_pipeline/test_sample.py::TestSampleOp::test_op_raises_invalid_argument_if_weights_wrong_size - AttributeError: type object 'fairseq2n.bindings.data.data_pipeline.DataPipeline' has no attribute 'sample'
FAILED tests/unit/data/data_pipeline/test_sample.py::TestSampleOp::test_op_raises_invalid_argument_if_weights_sum_to_zero - AttributeError: type object 'fairseq2n.bindings.data.data_pipeline.DataPipeline' has no attribute 'sample'
FAILED tests/unit/data/data_pipeline/test_sample.py::TestSampleOp::test_op_raises_error_if_no_data_pipeline - AttributeError: type object 'fairseq2n.bindings.data.data_pipeline.DataPipeline' has no attribute 'sample'
FAILED tests/unit/data/data_pipeline/test_sample.py::TestSampleOp::test_op_raises_error_if_one_of_the_pipelines_is_broken - AttributeError: type object 'fairseq2n.bindings.data.data_pipeline.DataPipeline' has no attribute 'sample'
FAILED tests/unit/data/data_pipeline/test_sample.py::TestSampleOp::test_record_reload_position_works_as_expected - AttributeError: type object 'fairseq2n.bindings.data.data_pipeline.DataPipeline' has no attribute 'sample'
========================================================================================================== 13 failed, 377 passed, 1 skipped in 1.46s ==================================================================================================
I took a look at the latest PR (#20), and the CI seems to be skip them:
Are these failures expected? And, is there a way a ignore them locally?
The text was updated successfully, but these errors were encountered:
@vb000 thanks for reporting it. It is actually something we should fix in our CI and test framework, working on it right now. I will have a PR later today.
I installed
fairseq2
in edit mode following the instructions here. I did a quick pytest to test the installation to see following these errors:I took a look at the latest PR (#20), and the CI seems to be skip them:
Are these failures expected? And, is there a way a ignore them locally?
The text was updated successfully, but these errors were encountered: