KEMBAR78
[docs] Add explanation section to torch.package docs by SplitInfinity · Pull Request #59833 · pytorch/pytorch · GitHub
Skip to content

Conversation

@SplitInfinity
Copy link

@SplitInfinity SplitInfinity commented Jun 10, 2021

Stack from ghstack:

Summary
This commit adds an explanation section to the torch.package
documentation. This section clarifies and illuminates various aspects of
the internals of torch.package that might be of interest to users.

Test Plan
Continuous integration.

Differential Revision: D29050626

**Summary**
This commit adds an explanation section to the `torch.package`
documentation. This section clarifies and illuminates various aspects of
the internals of `torch.package` that might be of interest to users.

**Test Plan**
Continuous integration.

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Jun 10, 2021

💊 CI failures summary and remediations

As of commit 396ef03 (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 pytorch_linux_bionic_py3_8_gcc9_coverage_test1 (1/1)

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

Jun 11 01:13:31 [E request_callback_no_python.c...quest type 275: Unexpected end of pickler archive.
Jun 11 01:13:31 frame #9: torch::distributed::rpc::RequestCallbackNoPython::processMessage(torch::distributed::rpc::Message&, std::vector<c10::Stream, std::allocator<c10::Stream> >) const + 0x97 (0x7ff295dffc97 in /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so)
Jun 11 01:13:31 frame #10: torch::distributed::rpc::RequestCallback::operator()(torch::distributed::rpc::Message&, std::vector<c10::Stream, std::allocator<c10::Stream> >) const + 0x61 (0x7ff295df3e71 in /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so)
Jun 11 01:13:31 frame #11: <unknown function> + 0x214acdf (0x7ff2a5e6ccdf in /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so)
Jun 11 01:13:31 frame #12: <unknown function> + 0x214be55 (0x7ff2a5e6de55 in /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so)
Jun 11 01:13:31 frame #13: c10::ThreadPool::main_loop(unsigned long) + 0x3bc (0x7ff2a367e10c in /opt/conda/lib/python3.8/site-packages/torch/lib/libc10.so)
Jun 11 01:13:31 frame #14: <unknown function> + 0x7946a (0x7ff2a367e46a in /opt/conda/lib/python3.8/site-packages/torch/lib/libc10.so)
Jun 11 01:13:31 frame #15: <unknown function> + 0xc819d (0x7ff28cd1019d in /opt/conda/lib/libstdc++.so.6)
Jun 11 01:13:31 frame #16: <unknown function> + 0x76db (0x7ff2b4f876db in /lib/x86_64-linux-gnu/libpthread.so.0)
Jun 11 01:13:31 frame #17: clone + 0x3f (0x7ff2b4cb071f in /lib/x86_64-linux-gnu/libc.so.6)
Jun 11 01:13:31 
Jun 11 01:13:31 [E request_callback_no_python.cpp:552] Received error while processing request type 275: Unexpected end of pickler archive.
Jun 11 01:13:31 Exception raised from readSlowWithBuffer at /var/lib/jenkins/workspace/torch/csrc/jit/serialization/unpickler.cpp:756 (most recent call first):
Jun 11 01:13:31 frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) + 0x59 (0x7ff2a368fa19 in /opt/conda/lib/python3.8/site-packages/torch/lib/libc10.so)
Jun 11 01:13:31 frame #1: c10::detail::torchCheckFail(char const*, char const*, unsigned int, char const*) + 0x161 (0x7ff2a3646bd7 in /opt/conda/lib/python3.8/site-packages/torch/lib/libc10.so)
Jun 11 01:13:31 frame #2: <unknown function> + 0x8c7c903 (0x7ff295a38903 in /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so)
Jun 11 01:13:31 frame #3: torch::jit::Unpickler::run() + 0x130 (0x7ff295a450a0 in /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so)
Jun 11 01:13:31 frame #4: torch::jit::Unpickler::parse_ivalue() + 0x37 (0x7ff295a47057 in /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so)
Jun 11 01:13:31 frame #5: torch::jit::unpickle(std::function<unsigned long (char*, unsigned long)>, std::function<c10::StrongTypePtr (c10::QualifiedName const&)>, c10::ArrayRef<at::Tensor>) + 0x2b5 (0x7ff295a04865 in /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so)
Jun 11 01:13:31 frame #6: torch::jit::unpickle(char const*, unsigned long, std::function<c10::StrongTypePtr (c10::QualifiedName const&)>, c10::ArrayRef<at::Tensor>) + 0xf6 (0x7ff295a049b6 in /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so)
Jun 11 01:13:31 frame #7: torch::distributed::autograd::CleanupAutogradContextReq::fromMessage(torch::distributed::rpc::Message const&) + 0xe1 (0x7ff295ddd131 in /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so)
Jun 11 01:13:31 frame #8: torch::distributed::rpc::deserializeRequest(torch::distributed::rpc::Message const&) + 0x296 (0x7ff295e3d2d6 in /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so)

This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

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

Click here to manually regenerate this comment.

@SplitInfinity SplitInfinity requested review from Lilyjjo and suo June 10, 2021 22:54
**Summary**
This commit adds an explanation section to the `torch.package`
documentation. This section clarifies and illuminates various aspects of
the internals of `torch.package` that might be of interest to users.

**Test Plan**
Continuous integration.

[ghstack-poisoned]
SplitInfinity pushed a commit that referenced this pull request Jun 10, 2021
**Summary**
This commit adds an explanation section to the `torch.package`
documentation. This section clarifies and illuminates various aspects of
the internals of `torch.package` that might be of interest to users.

**Test Plan**
Continuous integration.

ghstack-source-id: ab6d809
Pull Request resolved: #59833
@SplitInfinity
Copy link
Author

@SplitInfinity has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@SplitInfinity merged this pull request in 0e222db.

@facebook-github-bot facebook-github-bot deleted the gh/splitinfinity/146/head branch June 14, 2021 14:17
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.

3 participants