{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/9527","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/9527/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/9527/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/9527/events","html_url":"https://github.com/tensorflow/tensorflow/issues/9527","id":225221029,"number":9527,"title":"tf.while_loop much slower than static graph?","user":{"login":"fxsuper","id":16196995,"avatar_url":"https://avatars1.githubusercontent.com/u/16196995?v=4","gravatar_id":"","url":"https://api.github.com/users/fxsuper","html_url":"https://github.com/fxsuper","followers_url":"https://api.github.com/users/fxsuper/followers","following_url":"https://api.github.com/users/fxsuper/following{/other_user}","gists_url":"https://api.github.com/users/fxsuper/gists{/gist_id}","starred_url":"https://api.github.com/users/fxsuper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxsuper/subscriptions","organizations_url":"https://api.github.com/users/fxsuper/orgs","repos_url":"https://api.github.com/users/fxsuper/repos","events_url":"https://api.github.com/users/fxsuper/events{/privacy}","received_events_url":"https://api.github.com/users/fxsuper/received_events","type":"User","site_admin":false},"labels":[{"id":404586594,"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower","name":"stat:awaiting tensorflower","color":"b60205","default":false},{"id":473172988,"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug/performance","name":"type:bug/performance","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2017-04-29T00:28:11Z","updated_at":"2017-12-22T07:32:31Z","closed_at":null,"author_association":"NONE","body":"I'm running on TF 1.1, and I've used `tf.while_loop` + `TensorArray` to implement dynamic unrolling of a type of recurrence that I previously unrolled statically through python code. The difference in speed is very dramatic, with forward inference being about 200x slower when dynamically unrolled, and backprop about 2x slower. Is this expected? Are there any tricks for optimization that I'm missing? This is on CPU. Performance gap on GPU is even larger."},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/353539926","html_url":"https://github.com/tensorflow/tensorflow/issues/9527#issuecomment-353539926","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/9527","id":353539926,"user":{"login":"tensorflowbutler","id":28546240,"avatar_url":"https://avatars2.githubusercontent.com/u/28546240?v=4","gravatar_id":"","url":"https://api.github.com/users/tensorflowbutler","html_url":"https://github.com/tensorflowbutler","followers_url":"https://api.github.com/users/tensorflowbutler/followers","following_url":"https://api.github.com/users/tensorflowbutler/following{/other_user}","gists_url":"https://api.github.com/users/tensorflowbutler/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflowbutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflowbutler/subscriptions","organizations_url":"https://api.github.com/users/tensorflowbutler/orgs","repos_url":"https://api.github.com/users/tensorflowbutler/repos","events_url":"https://api.github.com/users/tensorflowbutler/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflowbutler/received_events","type":"User","site_admin":false},"created_at":"2017-12-22T07:32:31Z","updated_at":"2017-12-22T07:32:31Z","author_association":"MEMBER","body":"It has been 14 days with no activity and the `awaiting tensorflower` label was assigned. Please update the label and/or status accordingly."}}
{"actor":{"display_login":"tensorflowbutler"}}