{"action":"created","issue":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/15420","repository_url":"https://api.github.com/repos/pytorch/pytorch","labels_url":"https://api.github.com/repos/pytorch/pytorch/issues/15420/labels{/name}","comments_url":"https://api.github.com/repos/pytorch/pytorch/issues/15420/comments","events_url":"https://api.github.com/repos/pytorch/pytorch/issues/15420/events","html_url":"https://github.com/pytorch/pytorch/issues/15420","id":392858706,"node_id":"MDU6SXNzdWUzOTI4NTg3MDY=","number":15420,"title":"libtorch, register_parameter fails","user":{"login":"slaweks17","id":8934797,"node_id":"MDQ6VXNlcjg5MzQ3OTc=","avatar_url":"https://avatars1.githubusercontent.com/u/8934797?v=4","gravatar_id":"","url":"https://api.github.com/users/slaweks17","html_url":"https://github.com/slaweks17","followers_url":"https://api.github.com/users/slaweks17/followers","following_url":"https://api.github.com/users/slaweks17/following{/other_user}","gists_url":"https://api.github.com/users/slaweks17/gists{/gist_id}","starred_url":"https://api.github.com/users/slaweks17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slaweks17/subscriptions","organizations_url":"https://api.github.com/users/slaweks17/orgs","repos_url":"https://api.github.com/users/slaweks17/repos","events_url":"https://api.github.com/users/slaweks17/events{/privacy}","received_events_url":"https://api.github.com/users/slaweks17/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":3,"created_at":"2018-12-20T02:18:43Z","updated_at":"2019-01-04T17:14:29Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI try to execute\r\nregister_parameter(\"w_x\", torch::rand({4,2}), true);\r\nbut this causes\r\nMicrosoft C++ exception: c10::Error at memory location 0x00000024CF115020\r\n\r\nUnder Windows 10, Visual Studio 2017, Python 1.0.\r\nBTW, a lot of warnings during compilation, is it expected?\r\n\r\nCheers,\r\nSlawek\r\n"},"comment":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/comments/451507147","html_url":"https://github.com/pytorch/pytorch/issues/15420#issuecomment-451507147","issue_url":"https://api.github.com/repos/pytorch/pytorch/issues/15420","id":451507147,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTUwNzE0Nw==","user":{"login":"goldsborough","id":6429851,"node_id":"MDQ6VXNlcjY0Mjk4NTE=","avatar_url":"https://avatars3.githubusercontent.com/u/6429851?v=4","gravatar_id":"","url":"https://api.github.com/users/goldsborough","html_url":"https://github.com/goldsborough","followers_url":"https://api.github.com/users/goldsborough/followers","following_url":"https://api.github.com/users/goldsborough/following{/other_user}","gists_url":"https://api.github.com/users/goldsborough/gists{/gist_id}","starred_url":"https://api.github.com/users/goldsborough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldsborough/subscriptions","organizations_url":"https://api.github.com/users/goldsborough/orgs","repos_url":"https://api.github.com/users/goldsborough/repos","events_url":"https://api.github.com/users/goldsborough/events{/privacy}","received_events_url":"https://api.github.com/users/goldsborough/received_events","type":"User","site_admin":false},"created_at":"2019-01-04T17:14:29Z","updated_at":"2019-01-04T17:14:29Z","author_association":"CONTRIBUTOR","body":"Yes we are noticing some issues with the Debug build which go away with Release. You can pass `-DCMAKE_BUILD_TYPE=Release` or `-DCMAKE_BUILD_TYPE=RelWithDebInfo` (which preserves debug symbols) to the CMake command to change the build mode when using CMake."}}
{"actor":{"display_login":"goldsborough"}}