{"action":"created","issue":{"url":"https://api.github.com/repos/GPflow/GPflow/issues/228","repository_url":"https://api.github.com/repos/GPflow/GPflow","labels_url":"https://api.github.com/repos/GPflow/GPflow/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/GPflow/GPflow/issues/228/comments","events_url":"https://api.github.com/repos/GPflow/GPflow/issues/228/events","html_url":"https://github.com/GPflow/GPflow/issues/228","id":183435070,"number":228,"title":"tri_to_vec timing","user":{"login":"jameshensman","id":154383,"avatar_url":"https://avatars.githubusercontent.com/u/154383?v=3","gravatar_id":"","url":"https://api.github.com/users/jameshensman","html_url":"https://github.com/jameshensman","followers_url":"https://api.github.com/users/jameshensman/followers","following_url":"https://api.github.com/users/jameshensman/following{/other_user}","gists_url":"https://api.github.com/users/jameshensman/gists{/gist_id}","starred_url":"https://api.github.com/users/jameshensman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameshensman/subscriptions","organizations_url":"https://api.github.com/users/jameshensman/orgs","repos_url":"https://api.github.com/users/jameshensman/repos","events_url":"https://api.github.com/users/jameshensman/events{/privacy}","received_events_url":"https://api.github.com/users/jameshensman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-17T14:41:34Z","updated_at":"2016-10-31T11:27:26Z","closed_at":null,"body":"After a little discussion with @c0g today about this, it looks like we're missing a `-O2` flag when we compile the tf ops. However, I can't replicate the slowness of this op with or without that flag. Perhaps user ops have improved in tf11?\n\nMy test looks like this:\n\n``` python\nX = np.random.randn(1, 21)\nL = GPflow.tf_wraps.vec_to_tri(X)\nsess = tf.Session()\n%timeit sess.run(L)\n```\n\nI get 155us. For reference, a simple reshape is almost exactly the same amount of time:\n\n``` python\nY = tf.reshape(X, (3, 7))\n%timeit sess.run(L)  # 155us\n```\n\n@markvdw , can you replicate these times? I suspect that you'll get slightly faster times all round on an ubuntu box. \n"},"comment":{"url":"https://api.github.com/repos/GPflow/GPflow/issues/comments/257270632","html_url":"https://github.com/GPflow/GPflow/issues/228#issuecomment-257270632","issue_url":"https://api.github.com/repos/GPflow/GPflow/issues/228","id":257270632,"user":{"login":"jameshensman","id":154383,"avatar_url":"https://avatars.githubusercontent.com/u/154383?v=3","gravatar_id":"","url":"https://api.github.com/users/jameshensman","html_url":"https://github.com/jameshensman","followers_url":"https://api.github.com/users/jameshensman/followers","following_url":"https://api.github.com/users/jameshensman/following{/other_user}","gists_url":"https://api.github.com/users/jameshensman/gists{/gist_id}","starred_url":"https://api.github.com/users/jameshensman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameshensman/subscriptions","organizations_url":"https://api.github.com/users/jameshensman/orgs","repos_url":"https://api.github.com/users/jameshensman/repos","events_url":"https://api.github.com/users/jameshensman/events{/privacy}","received_events_url":"https://api.github.com/users/jameshensman/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T11:27:26Z","updated_at":"2016-10-31T11:27:26Z","body":"> I'll see if I can replicate the issue with an older version of TensorFlow\r\n\r\nI think that's what we need to get the feature back in. "}}
{"actor":{"display_login":"jameshensman"}}