{"action":"created","issue":{"url":"https://api.github.com/repos/fchollet/keras/issues/866","labels_url":"https://api.github.com/repos/fchollet/keras/issues/866/labels{/name}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/866/comments","events_url":"https://api.github.com/repos/fchollet/keras/issues/866/events","html_url":"https://github.com/fchollet/keras/issues/866","id":112624776,"number":866,"title":"with latest Theano updates, LSTM faster but GRU much slower","user":{"login":"transcranial","id":6182852,"avatar_url":"https://avatars.githubusercontent.com/u/6182852?v=3","gravatar_id":"","url":"https://api.github.com/users/transcranial","html_url":"https://github.com/transcranial","followers_url":"https://api.github.com/users/transcranial/followers","following_url":"https://api.github.com/users/transcranial/following{/other_user}","gists_url":"https://api.github.com/users/transcranial/gists{/gist_id}","starred_url":"https://api.github.com/users/transcranial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/transcranial/subscriptions","organizations_url":"https://api.github.com/users/transcranial/orgs","repos_url":"https://api.github.com/users/transcranial/repos","events_url":"https://api.github.com/users/transcranial/events{/privacy}","received_events_url":"https://api.github.com/users/transcranial/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-21T16:09:18Z","updated_at":"2015-10-21T21:08:45Z","closed_at":null,"body":"With the latest updates to scan in Theano, anybody else experiencing dramatically different training times? In particular, LSTM is faster, but GRU/JZS1-3 is much, much slower:\r\n\r\nA relative comparison on a test network, exchanging the recurrent layer:\r\n\r\n```\r\nLSTM: 15s\r\nGRU: 94s\r\nJZS1: 63s\r\nJZS2: 83s\r\nJZS3: 91s\r\n```\r\n\r\nFor this same network, LSTM pre Theano scan changes was ~24s.\r\n\r\nAnybody have some insight into this?"},"comment":{"url":"https://api.github.com/repos/fchollet/keras/issues/comments/150024775","html_url":"https://github.com/fchollet/keras/issues/866#issuecomment-150024775","issue_url":"https://api.github.com/repos/fchollet/keras/issues/866","id":150024775,"user":{"login":"transcranial","id":6182852,"avatar_url":"https://avatars.githubusercontent.com/u/6182852?v=3","gravatar_id":"","url":"https://api.github.com/users/transcranial","html_url":"https://github.com/transcranial","followers_url":"https://api.github.com/users/transcranial/followers","following_url":"https://api.github.com/users/transcranial/following{/other_user}","gists_url":"https://api.github.com/users/transcranial/gists{/gist_id}","starred_url":"https://api.github.com/users/transcranial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/transcranial/subscriptions","organizations_url":"https://api.github.com/users/transcranial/orgs","repos_url":"https://api.github.com/users/transcranial/repos","events_url":"https://api.github.com/users/transcranial/events{/privacy}","received_events_url":"https://api.github.com/users/transcranial/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T21:08:45Z","updated_at":"2015-10-21T21:08:45Z","body":"https://github.com/Theano/Theano/commit/f0bd940e85e42a9844a0e91e24b30badb5f9902a:\r\nmy test GRU, 85 s / epoch\r\n\r\nhttps://github.com/Theano/Theano/commit/6d21a3f84e7a2826d32ef2d649e0eeabf2e8384d:\r\nsame GRU, 14 s / epoch"}}