-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing tests in tests suite #1914
Comments
If I remember correctly, many tests also assumed there were multiple GPUs available, which will fail if building in single GPU jobs. PyTorch test-suite handles this with a pytest.SkipIf https://github.com/pytorch/pytorch/blob/main/torch/testing/_internal/common_cuda.py#L17 |
The OFF problems should have been fixed yesterday by dd2a11b . The code is unfortunately dependent on the wording of numpy's exceptions which have changed. The conditional use of loadtxt seems to me the most efficient implementation of loading off files which are likely to be homogeneous. |
This is very useful! I need to learn what easybuild is! Yes, there are some flaky tests as you mention, which we've just been leaving failing. |
Summary: - followup recent pyre change D63415925 - make tests remove temporary files - weights_only=True in torch.load - lint fixes 3 test fixes from VRehnberg in #1914 - imageio channels fix - frozen decorator in test_config - load_blobs positional Reviewed By: MichaelRamamonjisoa Differential Revision: D66162167 fbshipit-source-id: 7737e174691b62f1708443a4fae07343cec5bfeb
The simple fixes you suggest have now landed. Thank you for them. How much of a blocker are the other things? |
Not a blocker, the related tests are skipped manually. Only impact is less test coverage to catch any actual errors with a build. |
I'm working on an easybuild recipe for installing PyTorch3D from source and encountered a handful of bugs with the test-suite in the process. I don't have time to file proper issues right now, but figured I can at least share them as is.
Bugs with patches
Bugs without patches
tests/test_io_off.py::TestMeshOffIO::test_bad
andtests/test_io_off.py::TestMeshOffIO::test_load_lumpy
, error parsing filetests/test_knn.py::TestKNN::test_knn_vs_python_square_cuda
,tests/test_points_alignment.py::TestICP::test_heterogeneous_inputs
andtests/test_render_meshes.py::TestRenderMeshes::test_simple_sphere_elevated_camera
seems flaky, probably depending on hardware used.The text was updated successfully, but these errors were encountered: