{"action":"created","issue":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/17920","repository_url":"https://api.github.com/repos/pytorch/pytorch","labels_url":"https://api.github.com/repos/pytorch/pytorch/issues/17920/labels{/name}","comments_url":"https://api.github.com/repos/pytorch/pytorch/issues/17920/comments","events_url":"https://api.github.com/repos/pytorch/pytorch/issues/17920/events","html_url":"https://github.com/pytorch/pytorch/issues/17920","id":420073098,"node_id":"MDU6SXNzdWU0MjAwNzMwOTg=","number":17920,"title":"Build compact libtorch from source with cmake ","user":{"login":"bobqywei","id":26168216,"node_id":"MDQ6VXNlcjI2MTY4MjE2","avatar_url":"https://avatars1.githubusercontent.com/u/26168216?v=4","gravatar_id":"","url":"https://api.github.com/users/bobqywei","html_url":"https://github.com/bobqywei","followers_url":"https://api.github.com/users/bobqywei/followers","following_url":"https://api.github.com/users/bobqywei/following{/other_user}","gists_url":"https://api.github.com/users/bobqywei/gists{/gist_id}","starred_url":"https://api.github.com/users/bobqywei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobqywei/subscriptions","organizations_url":"https://api.github.com/users/bobqywei/orgs","repos_url":"https://api.github.com/users/bobqywei/repos","events_url":"https://api.github.com/users/bobqywei/events{/privacy}","received_events_url":"https://api.github.com/users/bobqywei/received_events","type":"User","site_admin":false},"labels":[{"id":917150434,"node_id":"MDU6TGFiZWw5MTcxNTA0MzQ=","url":"https://api.github.com/repos/pytorch/pytorch/labels/cpp","name":"cpp","color":"000000","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2019-03-12T16:08:31Z","updated_at":"2019-03-13T18:31:59Z","closed_at":null,"author_association":"NONE","body":"Hi. I am currently working with the PyTorch C++ API and I'm really enjoying the flexibility so far. However, for my use case, I would like the libraries to be as small as possible.\r\n\r\nWhen building libtorch from source (using build_libtorch.py), what can be done to minimize the final package size? I have searched around but there does not seem to be any info related to this (other than cmake compiler optimisations)."},"comment":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/comments/472550419","html_url":"https://github.com/pytorch/pytorch/issues/17920#issuecomment-472550419","issue_url":"https://api.github.com/repos/pytorch/pytorch/issues/17920","id":472550419,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3MjU1MDQxOQ==","user":{"login":"yf225","id":4063635,"node_id":"MDQ6VXNlcjQwNjM2MzU=","avatar_url":"https://avatars0.githubusercontent.com/u/4063635?v=4","gravatar_id":"","url":"https://api.github.com/users/yf225","html_url":"https://github.com/yf225","followers_url":"https://api.github.com/users/yf225/followers","following_url":"https://api.github.com/users/yf225/following{/other_user}","gists_url":"https://api.github.com/users/yf225/gists{/gist_id}","starred_url":"https://api.github.com/users/yf225/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yf225/subscriptions","organizations_url":"https://api.github.com/users/yf225/orgs","repos_url":"https://api.github.com/users/yf225/repos","events_url":"https://api.github.com/users/yf225/events{/privacy}","received_events_url":"https://api.github.com/users/yf225/received_events","type":"User","site_admin":false},"created_at":"2019-03-13T18:31:59Z","updated_at":"2019-03-13T18:31:59Z","author_association":"CONTRIBUTOR","body":"@bobqywei Do you mind opening a new issue for this problem, including the reproduction steps?"}}
{"actor":{"display_login":"yf225"}}