{"action":"created","issue":{"url":"https://api.github.com/repos/inferno-pytorch/inferno/issues/125","repository_url":"https://api.github.com/repos/inferno-pytorch/inferno","labels_url":"https://api.github.com/repos/inferno-pytorch/inferno/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/inferno-pytorch/inferno/issues/125/comments","events_url":"https://api.github.com/repos/inferno-pytorch/inferno/issues/125/events","html_url":"https://github.com/inferno-pytorch/inferno/issues/125","id":340553717,"node_id":"MDU6SXNzdWUzNDA1NTM3MTc=","number":125,"title":"Volatile was removed","user":{"login":"patricio-astudillo","id":7931855,"node_id":"MDQ6VXNlcjc5MzE4NTU=","avatar_url":"https://avatars1.githubusercontent.com/u/7931855?v=4","gravatar_id":"","url":"https://api.github.com/users/patricio-astudillo","html_url":"https://github.com/patricio-astudillo","followers_url":"https://api.github.com/users/patricio-astudillo/followers","following_url":"https://api.github.com/users/patricio-astudillo/following{/other_user}","gists_url":"https://api.github.com/users/patricio-astudillo/gists{/gist_id}","starred_url":"https://api.github.com/users/patricio-astudillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patricio-astudillo/subscriptions","organizations_url":"https://api.github.com/users/patricio-astudillo/orgs","repos_url":"https://api.github.com/users/patricio-astudillo/repos","events_url":"https://api.github.com/users/patricio-astudillo/events{/privacy}","received_events_url":"https://api.github.com/users/patricio-astudillo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-12T09:13:52Z","updated_at":"2018-07-12T09:17:48Z","closed_at":null,"author_association":"NONE","body":"https://github.com/inferno-pytorch/inferno/blob/17e7262d98f88c9243e5e29531166d3af3430d4e/inferno/trainers/basic.py#L1050\r\n\r\n UserWarning: volatile was removed and now has no effect. Use `with torch.no_grad():` instead.\r\n"},"comment":{"url":"https://api.github.com/repos/inferno-pytorch/inferno/issues/comments/404447450","html_url":"https://github.com/inferno-pytorch/inferno/issues/125#issuecomment-404447450","issue_url":"https://api.github.com/repos/inferno-pytorch/inferno/issues/125","id":404447450,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDQ0NzQ1MA==","user":{"login":"constantinpape","id":4263537,"node_id":"MDQ6VXNlcjQyNjM1Mzc=","avatar_url":"https://avatars0.githubusercontent.com/u/4263537?v=4","gravatar_id":"","url":"https://api.github.com/users/constantinpape","html_url":"https://github.com/constantinpape","followers_url":"https://api.github.com/users/constantinpape/followers","following_url":"https://api.github.com/users/constantinpape/following{/other_user}","gists_url":"https://api.github.com/users/constantinpape/gists{/gist_id}","starred_url":"https://api.github.com/users/constantinpape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/constantinpape/subscriptions","organizations_url":"https://api.github.com/users/constantinpape/orgs","repos_url":"https://api.github.com/users/constantinpape/repos","events_url":"https://api.github.com/users/constantinpape/events{/privacy}","received_events_url":"https://api.github.com/users/constantinpape/received_events","type":"User","site_admin":false},"created_at":"2018-07-12T09:17:48Z","updated_at":"2018-07-12T09:17:48Z","author_association":"MEMBER","body":"We are aware of this and working on a Pull Request #117 that will introduce `torch.no_grad()` in the appropriate places.\r\nNote that our current policy is to support both pytorch 0.3 and 0.4 until 1.0 is released.\r\nThis means we will keep both `volatile` and `torch.no_grad()` at the expense of having the `UserWarning` in 0.4."}}
{"actor":{"display_login":"constantinpape"}}