Skip to content

[PoC] replace serializable with pipeline test for prototype datasets #5719

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

Closed
wants to merge 5 commits into from

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented Apr 1, 2022

Proof of concept for pytorch/pytorch#74958 (comment).

@facebook-github-bot
Copy link

facebook-github-bot commented Apr 1, 2022

💊 CI failures summary and remediations

As of commit c5ace3e (more details on the Dr. CI page):


  • 1/1 failures introduced in this PR

🕵️ 1 new failure recognized by patterns

The following CI failures do not appear to be due to upstream breakages

See CircleCI build unittest_prototype (1/1)

Step: "Run tests" (full log | diagnosis details | 🔁 rerun)

/home/circleci/project/torchvision/__init__.py:...oject source and relaunch your python interpreter.
  File "/home/circleci/.local/lib/python3.7/site-packages/torch/utils/data/datapipes/_typing.py", line 365, in wrap_generator
    response = gen.send(None)
  File "/home/circleci/.local/lib/python3.7/site-packages/torchdata/datapipes/iter/util/plain_text_reader.py", line 152, in __iter__
    yield from self._helper.return_path(stream, path=path)  # type: ignore[misc]
  File "/home/circleci/.local/lib/python3.7/site-packages/torchdata/datapipes/iter/util/plain_text_reader.py", line 61, in return_path
    yield from stream
_csv.Error: line contains NUL

�[33m=============================== warnings summary ===============================�[0m
torchvision/__init__.py:28
  /home/circleci/project/torchvision/__init__.py:28: UserWarning: You are importing torchvision within its own root folder (/home/circleci/project). This is not expected to work and may give errors. Please exit the torchvision project source and relaunch your python interpreter.
    warnings.warn(message.format(os.getcwd()))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
------ generated xml file: /home/circleci/project/test-results/junit.xml -------
============================= slowest 20 durations =============================
186.44s call     test/test_prototype_builtin_datasets.py::TestCommon::test_pipeline[imagenet-train-thread]
128.83s call     test/test_prototype_builtin_datasets.py::TestCommon::test_pipeline[imagenet-val-thread]
19.63s call     test/test_prototype_builtin_datasets.py::TestCommon::test_pipeline[caltech256-thread]
12.67s call     test/test_prototype_builtin_datasets.py::TestCommon::test_pipeline[caltech101-thread]
6.48s call     test/test_prototype_builtin_datasets.py::TestCommon::test_num_samples[qmnist-test]

This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@pmeier
Copy link
Collaborator Author

pmeier commented Apr 1, 2022

Superseded by #5711.

@pmeier pmeier closed this Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants