{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/30791","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/30791/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/30791/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/30791/events","html_url":"https://github.com/tensorflow/tensorflow/issues/30791","id":469010124,"node_id":"MDU6SXNzdWU0NjkwMTAxMjQ=","number":30791,"title":"Use XLA to Tacotron2 is slower than without XLA","user":{"login":"lee-bin","id":29224933,"node_id":"MDQ6VXNlcjI5MjI0OTMz","avatar_url":"https://avatars2.githubusercontent.com/u/29224933?v=4","gravatar_id":"","url":"https://api.github.com/users/lee-bin","html_url":"https://github.com/lee-bin","followers_url":"https://api.github.com/users/lee-bin/followers","following_url":"https://api.github.com/users/lee-bin/following{/other_user}","gists_url":"https://api.github.com/users/lee-bin/gists{/gist_id}","starred_url":"https://api.github.com/users/lee-bin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lee-bin/subscriptions","organizations_url":"https://api.github.com/users/lee-bin/orgs","repos_url":"https://api.github.com/users/lee-bin/repos","events_url":"https://api.github.com/users/lee-bin/events{/privacy}","received_events_url":"https://api.github.com/users/lee-bin/received_events","type":"User","site_admin":false},"labels":[{"id":1162044565,"node_id":"MDU6TGFiZWwxMTYyMDQ0NTY1","url":"https://api.github.com/repos/tensorflow/tensorflow/labels/TF%201.12","name":"TF 1.12","color":"c2e0c6","default":false},{"id":1133285679,"node_id":"MDU6TGFiZWwxMTMzMjg1Njc5","url":"https://api.github.com/repos/tensorflow/tensorflow/labels/comp:xla","name":"comp:xla","color":"0052cc","default":false},{"id":473172988,"node_id":"MDU6TGFiZWw0NzMxNzI5ODg=","url":"https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug","name":"type:bug","color":"159b2e","default":false}],"state":"open","locked":false,"assignee":{"login":"sanjoy","id":136291,"node_id":"MDQ6VXNlcjEzNjI5MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/136291?v=4","gravatar_id":"","url":"https://api.github.com/users/sanjoy","html_url":"https://github.com/sanjoy","followers_url":"https://api.github.com/users/sanjoy/followers","following_url":"https://api.github.com/users/sanjoy/following{/other_user}","gists_url":"https://api.github.com/users/sanjoy/gists{/gist_id}","starred_url":"https://api.github.com/users/sanjoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanjoy/subscriptions","organizations_url":"https://api.github.com/users/sanjoy/orgs","repos_url":"https://api.github.com/users/sanjoy/repos","events_url":"https://api.github.com/users/sanjoy/events{/privacy}","received_events_url":"https://api.github.com/users/sanjoy/received_events","type":"User","site_admin":false},"assignees":[{"login":"sanjoy","id":136291,"node_id":"MDQ6VXNlcjEzNjI5MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/136291?v=4","gravatar_id":"","url":"https://api.github.com/users/sanjoy","html_url":"https://github.com/sanjoy","followers_url":"https://api.github.com/users/sanjoy/followers","following_url":"https://api.github.com/users/sanjoy/following{/other_user}","gists_url":"https://api.github.com/users/sanjoy/gists{/gist_id}","starred_url":"https://api.github.com/users/sanjoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanjoy/subscriptions","organizations_url":"https://api.github.com/users/sanjoy/orgs","repos_url":"https://api.github.com/users/sanjoy/repos","events_url":"https://api.github.com/users/sanjoy/events{/privacy}","received_events_url":"https://api.github.com/users/sanjoy/received_events","type":"User","site_admin":false},{"login":"tpopp","id":1491091,"node_id":"MDQ6VXNlcjE0OTEwOTE=","avatar_url":"https://avatars0.githubusercontent.com/u/1491091?v=4","gravatar_id":"","url":"https://api.github.com/users/tpopp","html_url":"https://github.com/tpopp","followers_url":"https://api.github.com/users/tpopp/followers","following_url":"https://api.github.com/users/tpopp/following{/other_user}","gists_url":"https://api.github.com/users/tpopp/gists{/gist_id}","starred_url":"https://api.github.com/users/tpopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpopp/subscriptions","organizations_url":"https://api.github.com/users/tpopp/orgs","repos_url":"https://api.github.com/users/tpopp/repos","events_url":"https://api.github.com/users/tpopp/events{/privacy}","received_events_url":"https://api.github.com/users/tpopp/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2019-07-17T06:27:14Z","updated_at":"2019-07-26T21:54:14Z","closed_at":null,"author_association":"NONE","body":"**System information**\r\n- Have I written custom code (as opposed to using a stock example script provided in TensorFlow):No\r\n- OS Platform and Distribution (e.g., Linux Ubuntu 16.04):centos\r\n- Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:\r\n- TensorFlow installed from (source or binary):binary\r\n- TensorFlow version (use command below):v1.12.0-0-ga6d8ffae09 1.12.0\r\n- Python version:3.6.8\r\n- Bazel version (if compiling from source):\r\n- GCC/Compiler version (if compiling from source):\r\n- CUDA/cuDNN version:V9.0.176 / 7\r\n- GPU model and memory: P40\r\n\r\n**Describe the current behavior**\r\nBefore using XLA, the [Tacotron 2](https://github.com/Rayhane-mamah/Tacotron-2) runs about 0.5s, however after using XLA, it increases to about 0.7s which is much slower.\r\n```python\r\nconfig = tf.ConfigProto()\r\nconfig.graph_options.optimizer_options.global_jit_level = tf.OptimizerOptions.ON_1              \r\nself.session = tf.Session(config=config) \r\n```\r\nI use XLA like above. Any thoughts would be appreciated. Thanks."},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/515610778","html_url":"https://github.com/tensorflow/tensorflow/issues/30791#issuecomment-515610778","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/30791","id":515610778,"node_id":"MDEyOklzc3VlQ29tbWVudDUxNTYxMDc3OA==","user":{"login":"tpopp","id":1491091,"node_id":"MDQ6VXNlcjE0OTEwOTE=","avatar_url":"https://avatars0.githubusercontent.com/u/1491091?v=4","gravatar_id":"","url":"https://api.github.com/users/tpopp","html_url":"https://github.com/tpopp","followers_url":"https://api.github.com/users/tpopp/followers","following_url":"https://api.github.com/users/tpopp/following{/other_user}","gists_url":"https://api.github.com/users/tpopp/gists{/gist_id}","starred_url":"https://api.github.com/users/tpopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpopp/subscriptions","organizations_url":"https://api.github.com/users/tpopp/orgs","repos_url":"https://api.github.com/users/tpopp/repos","events_url":"https://api.github.com/users/tpopp/events{/privacy}","received_events_url":"https://api.github.com/users/tpopp/received_events","type":"User","site_admin":false},"created_at":"2019-07-26T21:54:14Z","updated_at":"2019-07-26T21:54:14Z","author_association":"NONE","body":"Just a warning, I am without my work computer until next Wednesday or Tuesday. I will look at this at that time, but I won't get a chance to before.\r\n\r\nThat's strange that the TF_CPP_VMODULE is not working for you, but we will try to work around it."}}
{"actor":{"display_login":"tpopp"}}